joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004689b3

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x79c36fc0
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xc095bb8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x428510
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ab68
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.004e30b0
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str.0.0.0.0
call fcn.00402d30
add esp, 4
mov ecx, esi
push eax
push str.0.0.0.0
call fcn.00402b20
push 0x5582bc
lea ecx, [ebp - 0x1028]
call fcn.00402a40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1028]
mov ecx, 0x1a
call fcn.0048f420
test al, al
je 0x428785
push str.SoftMgr_2345
lea ecx, [ebp - 0x1058]
call fcn.00402a40
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048f1b0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1028]
push eax
call fcn.004044e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1070]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1058]
call fcn.00402a30
push str.Application
lea ecx, [ebp - 0x1058]
call fcn.00402a40
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048f1b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1028]
push eax
call fcn.004044e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1070]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1058]
call fcn.00402a30
lea eax, [ebp - 0x1028]
push eax
call fcn.0048dd20
add esp, 4
test al, al
je 0x428785
push str.config.ini
lea ecx, [ebp - 0x1058]
call fcn.00402a40
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.0048f1b0
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1058]
call fcn.00402a30
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004e48c0
add esp, 0xc
lea ecx, [ebp - 0x1040]
call fcn.00403390
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x5582bc
push 0x55bdac
push str.Install
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x428773
xor eax, eax
cmp word [ebp - 0x1010], ax
je 0x428773
nop dword [eax]
inc eax
cmp word [ebp + eax*2 - 0x1010], 0
jne 0x428700
test eax, eax
je 0x428773
lea eax, [ebp - 0x1010]
push eax
call fcn.00402d30
add esp, 4
mov ecx, esi
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00402b20
push esi
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.0048f1b0
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, edi
push eax
call fcn.004044e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1070]
call fcn.00402a30
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1040]
call fcn.00402a30
jmp 0x428787
xor bl, bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1040]
call fcn.00402a30
jmp 0x428787
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00402a30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 8
Function at 0x463420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.0040a370
mov dword [ebp - 0x260], eax
mov edi, dword [eax]
call fcn.00402ab0
mov dword [ebp - 0x25c], eax
mov esi, dword [eax]
cmp esi, edi
je 0x46348e
push ecx
mov ecx, esi
call fcn.0040c100
add esi, 0x18
cmp esi, edi
jne 0x463477
mov esi, dword [ebp - 0x25c]
mov esi, dword [esi]
mov eax, dword [ebp - 0x260]
mov edi, dword [ebp - 0x264]
mov dword [eax], esi
mov eax, dword [edi]
test eax, eax
je 0x463633
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
push str.RegEnumKeyExW
push dword [edi]
mov dword [ebp - 0x260], eax
call esi
mov ecx, dword [ebp - 0x264]
mov edi, eax
push 0x55aedc
push dword [ecx]
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
test ecx, ecx
je 0x463633
test edi, edi
je 0x463633
test eax, eax
je 0x463633
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push 0x80000002
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x463633
push 0x208
xor esi, esi
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.004e48c0
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
jne 0x463627
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00402a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x27c]
push eax
mov ecx, ebx
call fcn.004129e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.00402a30
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc esi
push eax
push esi
push dword [ebp - 0x258]
call edi
test eax, eax
je 0x4635c0
push dword [ebp - 0x258]
call dword [ebp - 0x25c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 4
Function at 0x463d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533be8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
xor edi, edi
test eax, eax
je 0x463ef0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push 0x55aedc
push dword [eax]
call esi
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x463ef0
cmp dword [ebp - 0x68], edi
je 0x463ef0
test esi, esi
je 0x463ef0
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x65004b
mov dword [ebp - 0x3c], 0x620079
mov dword [ebp - 0x38], 0x61006f
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x4c0020
mov dword [ebp - 0x2c], 0x790061
mov dword [ebp - 0x28], 0x75006f
mov dword [ebp - 0x24], 0x5c0074
mov dword [ebp - 0x20], 0x720050
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x61006f
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push eax
push 0x20019
lea ecx, [ebp - 0x60]
call fcn.004a69b0
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x463ec6
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x14
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x557224
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x54], xmm0
call dword [ebp - 0x68]
test eax, eax
jne 0x463ec1
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004f1c7b
add esp, 0xc
mov edi, eax
push dword [ebp - 0x5c]
call esi
lea ecx, [ebp - 0x60]
call fcn.004a6b50
test edi, edi
je 0x463edd
mov ecx, dword [ebp - 0x64]
push edi
call fcn.00463f10
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.004a6b50
mov eax, edi
jmp 0x463ef2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret
Function at 0x463f10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533c20
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4640c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x55aedc
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x4640c4
cmp dword [ebp - 0x84], 0
je 0x4640c4
test esi, esi
je 0x4640c4
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.004a69b0
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x4640b5
lea ecx, [ebp - 0x78]
call fcn.00402a90
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.004907c0
add esp, 0xc
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x14
xorps xmm0, xmm0
lea ecx, [ebp - 0x78]
movups xmmword [ebp - 0x5c], xmm0
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
call fcn.00403390
push eax
push dword [ebp - 0x7c]
call dword [ebp - 0x84]
test eax, eax
jne 0x4640a4
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004f1c7b
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004a6b50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 4

Function at 0x4640f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x58a088]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004e48c0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x46414c
cmp dword [esp + 4], 6
jb 0x46414c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004e1ff4
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.004e1ff4
add esp, 0x118
ret
Function at 0x48f420
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57d808
push 0x4e4ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x58a088]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.00412b10
mov ecx, edi
call fcn.0048f540
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x48f4b3
test bl, bl
jne 0x48f522
cmp edi, 0x1a
jne 0x48f522
mov ecx, esi
call fcn.00412b10
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.004e48c0
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push 0x55ffe0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x430]
push eax
call fcn.00402d30
add esp, 4
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.00402b20
mov ecx, esi
call fcn.00404470
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret
Function at 0x4989e0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x58a088]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.004e48c0
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x498b22
cmp dword [esi + 4], 6
push edi
ja 0x498a36
jne 0x498abe
cmp dword [esi + 8], 2
jb 0x498abe
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x498abe
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x498abe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x498abe
movups xmm0, xmmword [0x560798]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x5607a8]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x498abe
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x498abe
cmp word [edi + 2], ax
jbe 0x498abe
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x498b09
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e48c0
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x498b09
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004e1ff4
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.004e1ff4
add esp, 0x140
ret
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call fcn.01002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [fcn.010010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.01002cc3
ret
Function at 0x402760
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
mov ebx, edx
mov esi, edi
mov dword [esp + 0x14], ecx
and esi, 0xffffff00
mov dword [esp + 0x10], 0
cmp dword [0x42c494], 0
je 0x4027eb
call fcn.00401680
cmp dword [ebp + 0x10], 0
je 0x4027a9
mov dword [esp + 0xc], str.output
cmp esi, 0xffc3ce00
je 0x4027b1
mov dword [esp + 0xc], str.input
cmp dword [ebp + 8], 1
mov ecx, 0x426154
push edi
push dword [ebp + 0x14]
mov eax, str.DOWN
push ebx
push dword [esp + 0x20]
cmovne eax, ecx
mov ecx, ebx
push eax
call fcn.00401130
push eax
push dword [esp + 0x24]
push str.__s___s__s__scan:0x_04X_virt:0x_02X_flags:0x_02X_dwExtraInfo:0x_IX_
call fcn.00401020
add esp, 0x20
inc dword [0x42c47c]
mov ecx, dword [0x42b9c4]
mov edi, dword [ebp + 0xc]
test ecx, ecx
jle 0x40280c
mov eax, edi
sub eax, dword [0x42c478]
cmp eax, ecx
jbe 0x40280c
mov ecx, dword [ebp + 0x1c]
call fcn.00401e20
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4028d1
cmp esi, 0xffc3ce00
jne 0x40282a
mov eax, dword [ebp + 0x18]
cmp eax, esi
jne 0x4028d4
mov ecx, dword [0x42b940]
xor edi, edi
test ecx, ecx
jle 0x402887
mov eax, dword [ebp + 0xc]
sub eax, dword [0x42c478]
cmp eax, ecx
jbe 0x402887
push dword [0x42d040]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call esi
push dword [0x42d038]
call esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push edi
push edi
push 0x4040e0
push 0xe
call esi
push edi
push edi
push 0x4042d0
push 0xd
mov dword [0x42d038], eax
call esi
mov dword [0x42d040], eax
mov eax, dword [ebp + 0xc]
mov dword [0x42c478], eax
mov esi, dword [ebp + 8]
cmp dword [0x42c494], 0
je 0x4028c8
dec dword [0x42c47c]
test edi, edi
je 0x4028c8
call fcn.00401680
cmp esi, 1
mov ecx, 0x426154
mov eax, str.DOWN
cmovne eax, ecx
mov ecx, ebx
push eax
call fcn.00401130
push eax
push str.blocked_input__s__s
call fcn.00401020
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov dword [0x42c478], edi
test ecx, ecx
je 0x402901
movzx eax, al
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov ecx, ebx
mov esi, dword [ebp + 8]
mov edx, esi
push eax
push dword [esp + 0x14]
push edi
call fcn.004024c0
add esp, 0xc
mov edi, eax
jmp 0x40288a
mov ecx, dword [0x42c4a4]
test ecx, ecx
je 0x402925
nop dword [eax + eax]
mov eax, dword [ecx + 4]
cmp dword [eax + 8], ebx
je 0x402921
mov ecx, dword [ecx + 0x58]
test ecx, ecx
jne 0x402910
jmp 0x402925
test ecx, ecx
jne 0x40294f
movzx eax, bl
mov eax, dword [eax*4 + 0x42cc10]
test eax, eax
je 0x4028e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
je 0x40294b
cmp dword [edx + 4], 0
jne 0x40294b
mov eax, dword [eax + 4]
test eax, eax
jne 0x402933
jmp 0x4028e5
test ecx, ecx
je 0x4028e5
mov esi, dword [ebp + 8]
mov edx, edi
mov eax, dword [ebp + 0x1c]
push eax
test esi, esi
jne 0x40296b
call fcn.00402190
add esp, 4
mov edi, eax
jmp 0x40288a
call fcn.00401f20
add esp, 4
mov edi, eax
jmp 0x40288a
Function at 0x404fef
Capabilities:
Parse pe header

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

Function at 0x41135b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4225c8
push 0x4225c0
push str.FlsAlloc
push 0x1f
call fcn.0041121a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41138f
push dword [ebp + 8]
mov ecx, esi
call dword [0x420184]
call esi
jmp 0x411395
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4113d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4225d8
push 0x4225d0
push str.FlsGetValue
push 0x21
call fcn.0041121a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411410
push dword [ebp + 8]
mov ecx, esi
call dword [0x420184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x411418
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4225e0
push 0x4225d8
push str.FlsSetValue
push 0x22
call fcn.0041121a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411452
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x420184]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]