joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6a28
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x68]
call fcn.10004950
mov dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push eax
call fcn.100902e0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x100901c5
mov byte [ebp - 0x69], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100048a0
mov al, byte [ebp - 0x69]
jmp 0x100902c7
lea edx, [ebp - 0x68]
push edx
call fcn.1000ee20
add esp, 4
movzx eax, al
test eax, eax
jne 0x100901f3
mov byte [ebp - 0x6a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100048a0
mov al, byte [ebp - 0x6a]
jmp 0x100902c7
push 0x40
push 0
lea ecx, [ebp - 0x50]
push ecx
call fcn.10096b80
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.10004ac0
push eax
push 0x20
lea edx, [ebp - 0x50]
push edx
push 0x100d9948
push 0x100d96dc
push 0x100d96c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x74], 0x100d994c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dx, word [ecx]
mov word [ebp - 0x76], dx
mov eax, dword [ebp - 0x74]
cmp dx, word [eax]
jne 0x10090279
cmp word [ebp - 0x76], 0
je 0x10090270
mov ecx, dword [ebp - 0x70]
mov dx, word [ecx + 2]
mov word [ebp - 0x78], dx
mov eax, dword [ebp - 0x74]
cmp dx, word [eax + 2]
jne 0x10090279
add dword [ebp - 0x70], 4
add dword [ebp - 0x74], 4
cmp word [ebp - 0x78], 0
jne 0x10090234
mov dword [ebp - 0x7c], 0
jmp 0x10090281
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0
jne 0x100902a5
mov byte [ebp - 0x6b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100048a0
mov al, byte [ebp - 0x6b]
jmp 0x100902c7
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006920
mov byte [ebp - 0x6c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100048a0
mov al, byte [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x100905c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6af6
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.100949b0
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x102c]
call fcn.10004950
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x1014]
call fcn.1000bab0
lea ecx, [ebp - 0x1014]
call fcn.10010e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1014]
call fcn.10011770
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.10096b80
add esp, 0xc
push 0
push 0x1c
lea ecx, [ebp - 0x1010]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10090671
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x102c]
call fcn.10006920
lea ecx, [ebp - 0x1014]
call fcn.10011a70
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005830
mov ecx, dword [ebp - 0x1030]
or ecx, 1
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.10010ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
call fcn.100048a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x10091610
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6d20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.1000ee20
add esp, 4
movzx edx, al
test edx, edx
jne 0x10091664
mov eax, dword [ebp + 0x18]
mov dword [eax], 3
xor al, al
jmp 0x10091812
mov ecx, dword [ebp + 8]
call fcn.10004ac0
push eax
call fcn.1000b9c0
mov ecx, eax
call fcn.1000bad0
movzx ecx, al
test ecx, ecx
jne 0x10091690
mov edx, dword [ebp + 0x18]
mov dword [edx], 4
xor al, al
jmp 0x10091812
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10006950
mov dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
je 0x10091797
lea ecx, [ebp - 0x44]
call fcn.10004950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
push ecx
call fcn.100938f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x100916fc
mov eax, dword [ebp + 0x18]
mov dword [eax], 5
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, byte [ebp - 0x46]
jmp 0x10091812
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10093be0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x10091747
mov edx, dword [ebp + 0x18]
mov dword [edx], 5
mov byte [ebp - 0x47], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, byte [ebp - 0x47]
jmp 0x10091812
cmp dword [ebp + 0x14], 2
jne 0x10091765
lea eax, [ebp - 0x2c]
push eax
call fcn.10093630
add esp, 4
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100930c0
add esp, 4
push 4
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
lea ecx, [ebp - 0x44]
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100048a0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x45], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], 6
cmp dword [ebp + 0x10], 0
jne 0x100917ca
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.100100b0
add esp, 0xc
mov byte [ebp - 0x45], al
jmp 0x100917e1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10010090
add esp, 0xc
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x100917fa
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov cl, byte [ebp - 0x45]
mov byte [ebp - 0x48], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100048a0
mov al, byte [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x10093d30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jbe 0x10093d7e
cmp dword [ebp + 0xc], 0xffffffff
jbe 0x10093d51
mov dword [ebp - 0xc], 0xffffffff
jmp 0x10093d57
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.ADVAPI32.dll_SystemFunction036
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 4]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10093d3c
mov esp, ebp
pop ebp
ret
Function at 0x100bf0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6af6
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.100949b0
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x102c]
call fcn.10004950
mov dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x1014]
call fcn.1000bab0
lea ecx, [ebp - 0x1014]
call fcn.10010e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1014]
call fcn.10011770
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.10096b80
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x1010]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100bf161
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x102c]
call fcn.10006920
lea ecx, [ebp - 0x1014]
call fcn.10011a70
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10005830
mov ecx, dword [ebp - 0x1030]
or ecx, 1
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.10010ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
call fcn.100048a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x405f20
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x23419c88]
and al, 0xc8
inc eax
test ecx, ecx
mov dword [0xbe0388], eax
je 0x405f40
xor eax, eax
mov esp, ebp
pop ebp
ret
lea ecx, [eax]
clc
push edx
and al, 0xd7
inc edi
add byte [eax], al
add esp, 4
test eax, eax
sysenter
add byte [eax], 0
add bh, bh
adc eax, 0x49c0d3
mov dword [0x410935], eax
call fcn.00404925
outsb dx, byte [esi]
fbstp tbyte [ebp + 0x73]
cmp dword [eax + 0x50], edx
lea eax, [ebp - 4]
push eax
call fcn.00404260
test eax, eax
out 9, al
stosd dword es:[edi], eax
and cl, byte [esi + 0x5d]
nop
mov esp, ebp
das
ret
Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x40af0e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040ab8a
push eax
push esi
push dword [ebp + 8]
call fcn.0040ab3f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax

Function at 0x40af91
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040ab8a
push eax
push esi
push dword [ebp + 8]
call fcn.0040ab3f
mov dword [ebp - 0xbc], eax
test dword [edi + edi*8 - 1], eax
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
inc ebp
salc
aam 0x88
pop ebp
xlatb

Function at 0x40b01d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040ab7a
jmp 0x40b066
invalid
Function at 0x40b1e2
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40b22e
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
ror byte [ecx - 0x35c4f7b3], 1
jae 0x40b229
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40b213
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40b21b
cmp edx, ebx
jne 0x40b369
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40b1ea
add eax, dword [eax + 4]
jmp 0x40b1d7
mov dword [ebp + 0xc], ebx
jmp 0x40b239
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40b251
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40b26f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40b2cd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40b2b4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40b2bd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40b2c7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40b2a9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x40b233
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40b31a
dec eax
je 0x40b311
sub eax, 3
je 0x40b308
mov dword [ebp - 4], 0x40
jmp 0x40b337
mov dword [ebp - 4], 4
jmp 0x40b31d
mov dword [ebp - 4], 0x20
jmp 0x40b31d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40b369
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40b2e9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040ab7a
js 0x40b375
mov eax, dword [0x1475ffda]
push 1
push esi
call edi
mov eax, esi
jmp 0x40b375

Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5e024e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e02ec
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e02ec
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e02ec
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e02ec
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1e03]
pop edi
test eax, eax
jne 0x5e02df
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d1e03]
pop edi
test eax, eax
je 0x5e02ec
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e0371
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e041d
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5e03b2
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d1e03]
pop edi
pop ecx
test eax, eax
je 0x5e0410
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e03f0
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5e0405
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e0399
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5e0424
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5e063e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e06b8
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005e05e3
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d59ec]
pop edi
test eax, eax
jne 0x5e06ae
pop ecx
jmp 0x5e06bf
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e0667
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5e0865
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5e09b9
cmp dword [ebp + 0xc], 0
jne 0x5e09b9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5e08ac
sub eax, dword [ebp + 0x10]
js 0x5e09b9
je 0x5e09b9
cmp eax, dword [ebp + 0x14]
jl 0x5e09b9
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e09b9
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e09b9
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d1e03]
pop edi
test eax, eax
je 0x5e09b9
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a4c1c]
push eax
call fcn.005df8cd
pop edi
test eax, eax
je 0x5e09b9
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a4c20]
push eax
call fcn.005df8cd
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5e09ac
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5e09b9
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5e0999
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e0967
push dword [ebp + 8]
call fcn.005e175b
jmp 0x5e09c0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5e0d4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5e0e3a
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5e0e3a
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5e0de6
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5e0e3a
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a4d7c]
pop edi
pop ecx
test eax, eax
jne 0x5e0d9f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5e0dec
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5e0e3a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5e0e3a
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5e0e3a
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5e0e3a
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005e0c94
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x43745f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43755f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4374fd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4374f3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4374f1
push 0x1467
push 0x5af
push 1
push 0x589e
push 0x390d
push 0
call fcn.004420ac
add esp, 0x18
jmp 0x4374fb
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
jmp 0x43755d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x437536
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax], 4
jmp 0x43755d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
jmp 0x43757a
push 0x5c97
push 0x41d5
push 1
push 0
push 0x2dbf
call fcn.00437719
add esp, 0x14
mov esp, ebp
pop ebp
ret