joyce8/EMBER2024-capa huggingface dataset:
Function at 0x510390
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, 0xff
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
and bx, word [edi + 0x54]
mov eax, ebx
mov dword [esp + 0x18], ebx
xor eax, 0x43
mov esi, ebx
mov word [edi], ax
xor esi, 0x6e
mov eax, ebx
mov word [edi + 0xc], si
xor eax, 0x6f
movzx ebp, ax
mov word [edi + 2], ax
mov eax, ebx
xor eax, 0x75
mov word [edi + 0xe], bp
mov word [edi + 4], ax
mov eax, ebx
xor eax, 0x6c
mov word [edi + 6], ax
mov eax, ebx
xor eax, 0x64
movzx ecx, ax
mov word [edi + 8], ax
mov eax, ebx
xor eax, 0x20
movzx edx, ax
mov word [edi + 0xa], ax
mov eax, ebx
xor eax, 0x74
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
xor ebx, 0x61
movzx edi, ax
mov dword [esp + 0x20], ebx
mov word [edx + 0x10], ax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov word [eax + 0x12], dx
mov word [eax + 0x16], cx
mov word [eax + 0x18], cx
mov word [eax + 0x1a], dx
mov edx, dword [esp + 0x14]
mov word [eax + 0x14], bx
mov ebx, dword [esp + 0x14]
mov word [eax + 0x1c], di
mov eax, dword [esp + 0x18]
mov ecx, eax
xor eax, 0x65
xor ecx, 0x68
mov word [ebx + 0x20], ax
mov word [edx + 0x1e], cx
movzx edx, ax
mov eax, dword [esp + 0x1c]
mov word [ebx + 0x22], ax
mov eax, dword [esp + 0x18]
xor eax, 0x69
mov word [ebx + 0x24], ax
mov eax, dword [esp + 0x18]
xor eax, 0x63
mov word [ebx + 0x26], ax
mov eax, ebx
mov word [eax + 0x2a], si
mov esi, dword [esp + 0x1c]
mov word [eax + 0x28], bp
mov word [eax + 0x30], bp
mov ebp, dword [esp + 0x18]
mov word [eax + 0x2c], si
mov word [eax + 0x2e], di
mov word [eax + 0x32], si
mov word [eax + 0x34], di
mov word [eax + 0x36], cx
mov word [eax + 0x38], dx
mov word [eax + 0x3a], si
mov eax, ebp
xor eax, 0x73
mov ecx, ebx
mov word [ebx + 0x40], ax
mov word [ecx + 0x3c], ax
mov eax, ebx
mov ecx, ebp
xor ecx, 0x79
mov word [ebx + 0x3e], cx
mov word [eax + 0x44], dx
mov edx, ebx
mov ebx, dword [esp + 0x20]
mov word [eax + 0x42], di
mov eax, ebp
xor eax, 0x6d
xor ebp, 0x72
mov word [edx + 0x46], ax
mov eax, dword fs:[0x2c]
mov word [edx + 0x4a], di
mov word [edx + 0x48], si
mov word [edx + 0x4c], bp
mov edi, dword [eax]
mov word [edx + 0x4e], bx
mov word [edx + 0x50], cx
mov eax, dword [0x6cc9c8]
cmp eax, dword [edi + 4]
jle 0x51052b
push 0x6cc9c8
call fcn.0055ecd7
add esp, 4
cmp dword [0x6cc9c8], 0xffffffff
jne 0x51052b
push 0x29
mov ecx, 0x6c40f8
call fcn.004f6cd0
push 0x6cc9c8
call fcn.0055ec86
add esp, 4
mov ecx, 0x6c40f8
call fcn.004facf0
mov ecx, dword [0x6c064c]
mov esi, eax
cmp ecx, dword [edi + 4]
jle 0x510574
push 0x6c064c
call fcn.0055ecd7
add esp, 4
cmp dword [0x6c064c], 0xffffffff
jne 0x510574
push 0x52
mov ecx, 0x6c6810
call fcn.004f6cd0
push 0x6c064c
call fcn.0055ec86
add esp, 4
mov ecx, 0x6c6810
call fcn.004facf0
mov ecx, dword [esp + 0x14]
shl eax, 0x10
pop edi
xor eax, esi
pop esi
pop ebp
mov dword [ecx + 0x54], eax
mov eax, ecx
pop ebx
add esp, 0x14
ret 8
Function at 0x510d30
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x510d61
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.004f77f0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x510e6e
nop dword [eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebp]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x18], ebp
cmp edi, esi
jne 0x510df4
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x510e61
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x510e2e
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x510e29
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x18]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x510e5d
cmp edi, edx
je 0x510e3e
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x510e78
cmp edi, edx
jne 0x510e32
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x510da0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x510e5d
Function at 0x518800
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x51885e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x518842
cmp edi, 2
jb 0x518842
cmp byte [esi], cl
jne 0x518842
cmp byte [esi + 1], cl
jne 0x518842
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x570db8]
jmp 0x518813
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x570db8]
test edi, edi
jne 0x518813
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x51888d
cmp cl, 0x23
jne 0x518874
cmp byte [esi], cl
jne 0x518874
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x570db8]
test cl, cl
jne 0x518865
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x518990
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
test ebp, ebp
je 0x5189a3
mov dword [ebp], 0
call fcn.005188a0
mov esi, eax
test esi, esi
je 0x518a7f
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x518a75
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x518a75
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x518a75
push 0
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x518a75
mov eax, dword [0x6bb530]
test eax, eax
je 0x518a12
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x518a75
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x518a5e
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x6bb530]
add esp, 4
test eax, eax
je 0x518a4d
dec dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x518a6e
mov dword [ebp], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x51cc80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x14]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x570db8]
sub esi, 1
jne 0x51cca1
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e7c], ebx
jne 0x51ccd9
push ecx
push dword [esp + 0x18]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0052f3d0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

Function at 0x51ccf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x570db8]
sub edi, 1
jne 0x51cd61
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x52e140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x52e1c2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x52e17c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00530130
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00519070
mov edx, dword [esi]
mov ecx, 0x6bb31a
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00519070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x539020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x539057
mov eax, dword [0x6bb530]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x539046
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x53908c
mov eax, dword [0x6bb530]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x53907b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x5390c1
mov eax, dword [0x6bb530]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x5390b0
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x539112
mov eax, dword [0x6bb530]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x539101
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x539147
mov eax, dword [0x6bb530]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x539136
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x53917c
mov eax, dword [0x6bb530]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x53916b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0053bff0
Function at 0x53cdb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x6bb530]
test eax, eax
je 0x53cdfa
inc dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x53ceb5
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x53ceb5
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0xc]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x6bb680], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x6bb688], edx
shl ecx, 8
add ecx, edx
mov dword [0x6bb68c], edx
add edi, ecx
mov ecx, esi
mov dword [0x6bb684], edi
call fcn.005405c0
cmp eax, esi
je 0x53ceb5
nop
cmp dword [0x6bb68c], edi
ja 0x53ceb5
mov ecx, eax
mov esi, eax
call fcn.005405c0
cmp eax, esi
jne 0x53cea0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x53cec9
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x53cf09
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea esi, [esp + 0x18]
comiss xmm0, dword [0x58a824]
mov eax, dword [esp + 0xc]
lea edi, [esp + 0x90]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jbe 0x53cf56
movss dword [esp + 0x28], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.0053c8c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55eb34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x55eb5b
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x55eb5e
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0055eb10
pop esi
leave
ret 8

Function at 0x55f77f
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop eax
or eax, 0x5dc0c8
push eax
xchg ecx, eax
inc eax
push 0x40d274
push ecx
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x4124ac]
add esp, 0xc
test dword [edx + 0x74], ecx
invalid

Function at 0x405600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cld
xchg ebx, eax
dec ebx
daa
das
dec ecx
dec edx
dec ebx
salc
das
xchg ecx, eax
cdq
xchg ecx, eax
std
aas
nop
xchg ebx, eax
inc ecx
xchg ebx, eax
cwde
xchg ecx, eax
inc ecx
cdq
std
inc eax
xchg ecx, eax
wait
inc ecx
dec ecx
dec ecx
lahf
xchg ecx, eax
inc edx
inc ebx
dec ebx
dec eax
das
cld
cmc
dec ebx
cwde
stc
inc ebx
std
cdq
inc eax
inc eax
cmc
daa
cmc
clc
cdq
std
clc
jmp 0x4055a9
nop
jmp 0x4055b5
cld
call 0x405905
nop
jmp 0x4055ca
nop
nop
pushal
jmp 0x4055dd
xor edx, edx
jmp 0x4055e9
mov ebp, esp
nop
jmp 0x4055fb
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
push edx
or al, 0xeb
invalid
mov edx, dword [edx + 0x14]
nop
jmp 0x405624

Function at 0x409120
Capabilities:
Set socket configuration

Disassembly:
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
push 4
push edx
mov ecx, dword [eax]
sbb al, 0x68
add dl, byte [eax]
add byte [eax], al
xor byte [ecx - 0x75ffff01], cl
call dword [sym.imp.WSOCK32.dll_setsockopt]
xor dword [edi - 0x1e], 0xf
test dword [ebp - 3], ebx
invalid
jae 0x4090ad
in al, dx
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor byte [edi + 0x50], dl
lea edx, [ebp - 0x2c]
push ecx
pushal
inc ebp
xlatb
fcos
pop edx
mov edi, dword [eax]
add eax, 0x41084d8b
mov esi, 0x8e180a
mov dl, byte [eax*4 + 0x1e40eb9e]
lea eax, [esi + 0x40c4d885]
add byte [eax + 0x4140ff51], cl
mov dl, byte [eax]
mov byte [ecx - 1], dl
mov al, dh
add dword [ebx + 0x188e855], ecx
inc ecx
add byte [ecx + ebx*4], 0xa8
invalid
Function at 0x4065c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4065e7
xor eax, eax
test eax, eax
je 0x4065f9
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4065f9
xor ecx, ecx
jmp 0x4065fc
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4066e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4232e4], 0
push esi
jne 0x40671f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066f9
mov dword [ecx*4 + 0x4232e0], eax
inc ecx
cmp ecx, 0x100
jl 0x4066f4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406750
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4232e0]
xor eax, esi
inc ecx
dec edx
jne 0x406732
pop edi
not eax
pop esi
ret 0xc

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x6a6428fb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x49f76579
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
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.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219