joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40201b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c6810]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov eax, dword [eax + esi*4]
mov edi, dword [eax]
push edi
call fcn.00401b41
cmp dword [edi + 0x18], 0
jne 0x43bef3
mov ecx, dword [0x4c6834]
push 3
pop edx
mov dword [ebp - 4], edx
cmp ecx, edx
jl 0x402101
mov eax, dword [0x4c6824]
mov eax, dword [eax + edx*4]
mov esi, dword [eax]
and al, 0x68
dec esp
add byte [ebx + 0x308b9004], cl
test esi, esi
je 0x4020f2
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jne 0x4020f2
movzx eax, byte [esi + 0x90]
sub eax, 0xa
je 0x43bf4d
sub eax, 6
je 0x43bf4d
sub eax, 3
je 0x43bf1e
sub eax, 8
jne 0x43bf05
push esi
push edi
call fcn.00401b41
cmp dword [esi + 0x64], 0
jne 0x43bf69
cmp dword [esi + 0x68], 0
jne 0x43bf7b
cmp dword [esi + 0x44], 0
jne 0x43bf8d
cmp dword [esi + 0x50], 0
jne 0x43bf9f
cmp dword [esi], 0
je 0x4020dc
push dword [esi]
call dword [0x48f63c]
and dword [esi], 0
push dword [ebp - 4]
mov ecx, 0x4c67b0
call fcn.0040246d
mov ecx, dword [0x4c6834]
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
cmp edx, ecx
jle 0x402054
mov esi, dword [ebp + 8]
or byte [ebx + 0xf00207f], al
test dword [esi - 0x7cfffc62], esp
jg 0x402132
cmp dword [edi + 0x20], 0
jne 0x43bfb1
add byte [ebx + 0xf00247f], al
cmp dword [edi + 0x24], 0
jne 0x43bfbf
add byte [edi], cl
test dword [edx - 0x74fffc62], ebp
adc eax, 0x4c6810
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x402130
push ecx
call fcn.004010f0
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
and dword [eax], 0
mov dl, 0x83
and byte [eax], al
mov edx, dword [0x4c67d0]
dec edx
mov dword [0x4c67d0], edx
cmp esi, dword [0x4c681c]
jne 0x402152
or dword [0x4c681c], 0xffffffff
mov ecx, dword [0x4c6814]
cmp edx, 1
je 0x43bfcd
pop edi
pop esi
test edx, edx
jne 0x402181
push dword [0x4c67d4]
push edx
call dword [0x48f70c]
and dword [0x4c67d4], 0
mov ecx, dword [0x4c6814]
test ecx, ecx
je 0x40219f
mov eax, dword [0x4c6810]
mov eax, dword [eax + ecx*4 - 4]
cmp dword [eax], 0
jne 0x40219f
mov ecx, 0x4c680c
call fcn.00403532
jmp 0x40217b
mov esp, ebp
pop ebp
ret 4
invalid
or al, 0x85
idiv bh
je 0x43bf14
mov eax, dword [ecx + 0x60]
add eax, dword [ebp + 8]
add dword [ecx + 0x58], eax
cmp dword [ebp + 0xc], 0x3a
je 0x402055
mov eax, dword [ecx + 0x64]
add eax, dword [ebp + 0xc]
jmp 0x43bf3d
add dword [ecx + 0x5c], eax
jmp 0x402055
add dword [ebx - 0x16ffe799], 0x3b
popal
cld
dec dword [eax + 0x48]
jne 0x4020f6
push edi
push esi
mov ecx, 0x4c67b0
call fcn.0048a716
add al, 0
jmp 0x4020f6
invalid
push dword [esi + 0x3c]
call dword [0x48f08c]
and dword [esi + 0x3c], 0
jmp 0x4020f6
cmp dword [esi + 0x40], 0xffffff8b
je 0x4020f6
push dword [esi + 0x40]
call dword [0x48f08c]
and dword [esi + 0x40], 0
jmp 0x4020f6
add byte [ebx - 0x16ffbf9a], al
cmp esp, dword [ecx - 4]
invalid
adc eax, 0x48f0c8
and dword [esi + 0x64], 0
jmp 0x402100
push dword [esi + 0x68]
call dword [0x48f73c]
and dword [esi + 0x68], 0
jmp 0x40210a
Function at 0x40a000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x118
mov eax, dword [0x4c7480]
dec esp
add byte [ecx + 0x5604244c], cl
push edi
test al, 1
je 0x40b536
mov edi, dword [ebp + 0x10]
xor eax, eax
push 8
mov word [esp + 0x5c], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], 1
call fcn.00420ff6
mov edx, eax
ror byte [ecx - 0x7cdfdbbc], 1
invalid
add al, 0x85
invalid
je 0x40b68a
mov dword [edx], 0x14
mov esi, dword [ebp + 0xc]
mov dword [edx + 4], 0
add byte [eax], al
add byte [ecx - 0x74abdbac], cl
push ebp
or byte [ebx + 0x2444c70e], cl
push eax
add dword [eax], eax
add byte [eax], al
mov dword [esp + 0x10], 0x17
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
movsx eax, word [eax + 0xa]
dec ecx
adc byte [eax], al
add byte [ebx - 0x72f0d808], al
inc eax
adc byte [eax], al
add byte [esi + 0x14], bh
mov esi, 0x14
add byte [eax], al
mov byte [esp + ecx*2], dh
or al, 0x83
clc
add eax, 0x63188d0f
add eax, dword [eax]
add byte [eax], al
add bh, al
inc esp
and al, 0x38
inc esp
je 0x40a63d
add bh, al
inc esp
and al, 0x60
inc esp
je 0x40a645
add byte [ebp + 0x9b], cl
add byte [ebx + 0x4e8b0450], cl
add al, 0x89
push esp
and al, 0x48
ret 0x8302
inc esi
sbb byte [ecx + 0x70a11c41], cl
jb 0x40a6c1
add byte [ebx - 0x74c7dbb4], cl
inc eax
sbb al, 0x89
inc ecx
sbb byte [ebx + 0x4c72700d], cl
add byte [ecx + 0x4c7460], ah
add al, byte [ebx + 0x4cff02c2]
and al, 0x38
rol byte [edx], 0xff
dec esp
and al, 0x40
test byte [ecx], ah
pop esi
add eax, dword [eax]
sbb al, 9
add byte [eax], al
add byte [ebx + 0x4e8b0870], cl
sub byte [ebp + 0x43850fc9], al
push ebx
add eax, dword [eax]
adc al, 0xff
salc
add byte [eax], al
inc esi
or al, 4
add byte [eax], al
add al, ch
mov dl, 0x5f
add dword [eax], eax
test byte [esi + 3], 0
js 0x40b0e6
add al, 0xf
test byte [edx - 0x74fffca9], bl
enter 0x38e8, 0xffffffffffffffe9
invalid
add byte [ebx - 0x7af0fe02], al
push 0x59
add eax, dword [eax]
cmc
invalid
out dx, al
invalid
add cl, ch
hlt
cmc
invalid
Function at 0x401530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, ecx
lea edx, [ebp - 0x5c]
push ebx
push esi
mov esi, 0x41d358
movups xmm0, xmmword [eax]
push edi
mov dword [ebp - 4], esi
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [eax + 0x30]
sub eax, esi
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
nop word [eax + eax]
mov ecx, dword [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
add eax, esi
mov ecx, dword [esi]
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi - 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [esi - 8]
mov esi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
mov edx, dword [edx + ebx*4]
call fcn.00401230
mov edx, dword [ebp + ebx*4 - 0x4c]
mov edi, eax
mov ecx, dword [ebp - 0xc]
call fcn.00401230
mov ecx, dword [ebp - 0x10]
xor edi, eax
lea eax, [ebp - 0x3c]
mov edx, dword [eax + ebx*4]
call fcn.00401230
mov ecx, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 0x2c]
mov edx, dword [eax + ebx*4]
call fcn.00401230
mov ecx, dword [ebp - 0x18]
lea esi, [esi + 4]
xor edi, eax
lea edx, [ebp - 0x5c]
inc ebx
mov dword [esi - 4], edi
cmp ebx, 4
jl 0x401590
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
add esi, 0x10
mov dword [ebp - 4], esi
cmp esi, 0x41d398
jl 0x401570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403440
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x423040]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
mov ebx, ecx
call fcn.004033c0
add esp, 0x10
test eax, eax
jne 0x403481
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
jns 0x4034a4
call edi
cmp dword [eax], 9
jne 0x4034a4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x13]
push 2
push 1
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x4034c7
call edi
cmp dword [eax], 4
lea eax, [esp + 0x13]
je 0x4034a8
test esi, esi
mov ecx, dword [esp + 0x14]
setg al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
Function at 0x403860
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x423040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x40c], eax
push edi
mov edi, edx
movzx eax, word [esi]
cmp eax, 2
je 0x403893
cmp eax, 0x17
jne 0x403912
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx eax, ax
push 0x401
mov dword [ebx], eax
lea eax, [ebp - 0x408]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x408]
push 2
push 0
push 0
push 0x401
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x403912
lea edx, [ebp - 0x408]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4038e3
mov ecx, dword [ebp - 0x40c]
lea eax, [ebp - 0x408]
sub edx, esi
push edx
push eax
call fcn.0040bca0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041951c
mov esp, ebp
pop ebp
ret

Function at 0x404a80
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x423040]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x1c]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx + 0x20]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ebx, [eax + 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
push ebx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x404af9
call edi
cmp dword [eax], 4
je 0x404ad5
test esi, esi
jle 0x404b22
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
call fcn.00403440
test al, al
je 0x404b22
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret
Function at 0x404b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, closesocket
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
cmova ebx, eax
mov dword [esp + 0x18], esi
push edi
mov dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x34]
mov edi, dword [esi + 0x38]
cmp eax, edi
jae 0x404bb2
mov ecx, dword [esi + 0x28]
sub edi, eax
cmp ebx, edi
ja 0x404b97
push ebx
add eax, ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
add dword [esi + 0x34], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add ecx, eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [esi + 0x34], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [esi + 0x14]
mov ecx, dword [esi + 4]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.004033c0
add esp, 0x10
test eax, eax
jg 0x404bd9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esi + 4]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
cmp ebx, 0x1000
jae 0x404c70
mov eax, dword [esi + 0x28]
mov ebx, edi
mov esi, eax
nop dword [eax]
push 0
push 0x1000
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jns 0x404c22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x404c00
test edi, edi
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
jle 0x404ba7
mov eax, dword [esi + 0x28]
cmp edi, ebx
jg 0x404c4f
push edi
push eax
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push eax
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
push dword [esp + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x404c8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x404c70
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x404ca0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x423040]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x1c]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx + 0x20]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea ebx, [eax + 1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
push ebx
call dword [sym.imp.WS2_32.dll_select]
mov esi, eax
test esi, esi
jns 0x404d19
call edi
cmp dword [eax], 4
je 0x404cf5
test esi, esi
jle 0x404d77
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00403440
test al, al
je 0x404d77
mov ebx, dword [ebp + 0xc]
mov eax, closesocket
cmp ebx, eax
cmova ebx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
nop
push 0
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jns 0x404d5e
call edi
cmp dword [eax], 4
mov eax, dword [esp + 0xc]
je 0x404d40
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x124]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret 8

Function at 0x404e10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x423040]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x404e63
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edi
push esi
call fcn.00403860
add esp, 8
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.0041951c
mov esp, ebp
pop ebp
ret 8
Function at 0x4052f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aa58
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x423040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0xffffffff
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
lea esi, [edi + 0x34]
mov byte [ebp - 4], 1
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041960a
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
movups xmmword [edi + 0x54], xmm0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xf
mov byte [edi + 0x54], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0xbc], 0
mov word [edi + 0xc0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b030
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
push ebx
push esi
mov eax, dword [eax + ecx + 0x78]
xor esi, esi
add eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esi
mov edx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x24]
add edx, ecx
mov dword [ebp - 0x20], edx
add ebx, ecx
mov edx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], edx
cmp dword [eax + 0x14], esi
jbe 0x40b11c
push edi
mov ebx, dword [edx + esi*4]
add ebx, ecx
jne 0x40b09d
lea edi, [ebx + 0x66]
jmp 0x40b0e5
push 0x32
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
add esp, 8
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edi, 0x66
test eax, eax
je 0x40b0dc
mov esi, eax
nop dword [eax]
movsx edx, byte [ecx + ebx]
inc ecx
imul eax, edi, 0x10f30f
add edx, eax
and edx, 0xffffff
add edi, edx
cmp ecx, esi
jb 0x40b0c0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp edi, dword [ebp - 0x18]
je 0x40b0fa
inc esi
mov dword [ebp - 0x10], esi
cmp esi, dword [eax + 0x14]
jb 0x40b091
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + esi*2]
mov esi, dword [ebp - 0x20]
mov esi, dword [esi + eax*4]
add esi, ecx
push esi
push edi
push ebx
push str.Found_Address_in_Kernel32.dll_for_API__s_:_0x_x_:_0x_p_n
call fcn.00401940
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40ba01
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40b9f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x40c1a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x40c314
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
push ebx
mov dword [ebp - 0x18], eax
lea ebx, [edx + 8]
mov eax, dword [edx + 4]
push esi
mov dword [ebp - 0xc], eax
mov esi, edx
jbe 0x40c1d9
mov ebx, dword [edx + 8]
mov eax, dword [edx + 0x18]
xor edx, edx
push edi
mov edi, 0x811c9dc5
test eax, eax
je 0x40c204
mov ecx, eax
nop word [eax + eax]
movzx eax, byte [edx + ebx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x40c1f0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
push ecx
lea ecx, [edi + 8]
call fcn.00411e90
push 0x38
push edi
call fcn.0041988b
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x40c26e
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x40c220
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x40c309
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
jne 0x40c280
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x40c283
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x40c309
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
jbe 0x40c29c
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0x18]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x40c2c1
nop word [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40c2b0
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
push ecx
lea ecx, [edi + 8]
call fcn.00411e90
push 0x38
push edi
call fcn.0041988b
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x14]
je 0x40c31a
cmp esi, eax
jne 0x40c2d8
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x40c290
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x419f62
Capabilities:
Parse pe header

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

Function at 0x58d3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.058d378f
jae 0x58d370e
xor ecx, ecx
call fcn.058d378f
jae 0x58d373d
xor eax, eax
call fcn.058d378f
jae 0x58d374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.058d378f
adc al, al
jae 0x58d372f
jne 0x58d3779
stosb byte es:[edi], al
jmp 0x58d3711
call fcn.058d379b
sub ecx, ebx
jne 0x58d3756
call fcn.058d3799
jmp 0x58d3775
lodsb al, byte [esi]
shr eax, 1
je 0x58d3783
adc ecx, ecx
jmp 0x58d3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.058d3799
cmp eax, 0x7d00
jae 0x58d3772
cmp ah, 5
jae 0x58d3773
cmp eax, 0x7f
ja 0x58d3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x58d3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x402240
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 4], 0
jmp 0x402259
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x40229c
cmp dword [ebp - 4], 0xe37
jge 0x402282
push 0
push 0
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea edx, [ebp - 8]
push edx
push 0
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movsx ebx, byte [eax]
call fcn.00402210
xor ebx, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], bl
jmp 0x402250
pop ebx
mov esp, ebp
pop ebp
ret 8