joyce8/EMBER2024-capa huggingface dataset:
Function at 0x90c4770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90d4bd2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x91154f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb2c], eax
call fcn.0903b34d
add esp, 4
lea ecx, [ebp - 0xb24]
push eax
call fcn.0903b34d
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb24]
mov dword [ebp - 4], 0
push esi
call fcn.09009307
add esp, 0x3c
lea ecx, [ebp - 0xb20]
push eax
call fcn.0903b34d
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x90c4820
mov ecx, dword [ebp - 0xb20]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0903b34d
movzx ecx, word [ebp - 0x11c]
movzx edi, word [ebp - 0x914]
mov dword [ebp - 0xb28], ecx
cmp ecx, edi
jbe 0x90c499a
mov edx, ecx
sub edx, edi
xor esi, esi
mov dword [ebp - 0xb1c], edx
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x90c4891
xor eax, eax
jmp 0x90c48be
cmp eax, ecx
jb 0x90c489c
mov eax, 0x8000
jmp 0x90c48be
sub eax, edi
mov ecx, edx
shl eax, 0xf
xor edx, edx
shr ecx, 1
add eax, ecx
mov ecx, dword [ebp - 0xb28]
div dword [ebp - 0xb1c]
mov edx, dword [ebp - 0xb1c]
movzx eax, ax
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x90c4881
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 0
call fcn.090198a7
lea ecx, [ebp - 0xb24]
mov dword [ebp - 4], 0xffffffff
call fcn.0901e58a
mov esi, dword [ebp - 0xb2c]
lea eax, [esi + 8]
push eax
push 0x280
mov dword [ebp - 0xb2c], eax
call fcn.0903b34d
add esp, 8
mov dword [ebp - 0xb28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x90c492a
push esi
mov ecx, eax
call fcn.0903b34d
mov edx, eax
jmp 0x90c492c
xor edx, edx
movsd xmm1, qword [ebx + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mulsd xmm1, qword [0x90e7a70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
comisd xmm0, xmm1
mov dword [edx + 0x70], ecx
mov dword [edx + 0x74], eax
jbe 0x90c495a
subsd xmm1, qword [0x90dd3d8]
jmp 0x90c4962
addsd xmm1, qword [0x90dd3d8]
cvttsd2si eax, xmm1
lea edi, [edx + 0x7a]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x78], ax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09002290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.0903b34d
int3
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x10004ddb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10004dea
pop dword [ebp - 0x3c]
mov eax, 0x3fc3ec29
sub eax, 0x2fc39e3f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xdefaa0e9
add dword [ebp - 0x4c], 0x6f57a462
mov dword [ebp - 0x48], 0x1f2f11fd
add dword [ebp - 0x48], 0x13043a48
mov dword [ebp - 0x44], 0xe1095257
sub dword [ebp - 0x44], 0x94bd0e29
mov dword [ebp - 0x40], 0xc9052dd4
add dword [ebp - 0x40], 0x36fad22c
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x407fa32d
add eax, 0xcf81fcdb
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x113477d2
sub dword [ebp - 0x4c], 0x9cc20e7c
mov dword [ebp - 0x48], 0xb80fe083
add dword [ebp - 0x48], 0x895c80f2
mov dword [ebp - 0x44], 0x417e5f58
sub dword [ebp - 0x44], 0xde0ef2ec
mov dword [ebp - 0x40], 0xa1a20ce3
add dword [ebp - 0x40], 0x5e5df31d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xe3fb2741
sub eax, 0xd3f98735
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3e48e
push 0
call eax
mov ecx, 0x2238339f
sub ecx, 0x2237db83
xor edx, edx
add edx, eax
mov ebx, 0x8527d035
add ebx, 0x8ada79cb
add ebx, dword [ebp - 0x3c]
mov esi, 0x8f348aa1
add esi, 0x902960c4
add dword [ebp - 0x34], esi
mov edi, dword [ebx]
xor dword [ebp - 0x18], 0x1b84067c
xor edi, esi
sub dword [ebp - 0x28], ecx
mov dword [edx], edi
sub dword [ebp - 0x1c], 0x99c37a56
add edx, 0x28d67417
sub edx, 0x28d67413
add ebx, 0xbdfcc864
sub ebx, 0xbdfcc860
loop 0x10004f0e
add eax, 0x964cdc05
add eax, 0x69b4773e
mov ebx, eax
add eax, 0x91f9123c
add eax, 0x6e06edc9
mov ecx, 0x2fe07f89
sub ecx, 0x1fe07f89
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x462bb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
or ebp, 0xffffffff
jmp 0x462bd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x462bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x462bc8
mov eax, 1
add ebx, ebx
jne 0x462beb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x462bfc
jne 0x462c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x462c1b
dec eax
add ebx, ebx
jne 0x462c08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x462be0
add ebx, ebx
jne 0x462c17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x462c6d
xor ecx, ecx
sub eax, 3
jb 0x462c33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x462ca2
sar eax, 1
mov ebp, eax
jmp 0x462c3e
add ebx, ebx
jne 0x462c3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x462c0c
inc ecx
add ebx, ebx
jne 0x462c4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x462c0c
add ebx, ebx
jne 0x462c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x462c4e
jne 0x462c6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x462c4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x462c8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x462c7e
jmp 0x462bce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x462c8c
add edi, ecx
jmp 0x462bce
pop esi
mov edi, esi
mov ecx, 0x89e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x462caa
cmp byte [edi], 1
jne 0x462caa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x462caf
lea edi, [esi + 0x60000]
mov eax, dword [edi]
or eax, eax
je 0x462d1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x63384]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63458]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x462cdc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x63460]
or eax, eax
je 0x462d18
mov dword [ebx], eax
add ebx, 4
jmp 0x462cf9
call dword [esi + 0x6345c]
mov ebp, dword [esi + 0x63464]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x462d52
sub esp, 0xffffff80
jmp 0x411238
Function at 0x401177
Capabilities:
Create process on windows
Get common file path
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x402008]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
xor ebx, ebx
push 0x40
pop ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov byte [ebp - 0x20c], bl
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push 0x40
mov byte [ebp - 0x108], bl
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
dec eax
dec eax
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], esi
je 0x40129c
sub eax, 0x1c
jne 0x40128b
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
push dword [ebp - 0x214]
push dword [ebp - 0x210]
jmp loc.0045f000
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00401362
leave
ret 0x10
mov eax, dword [ebp + 0x14]
cmp dword [eax], ebx
jne 0x40128b
push ebx
push 4
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x10
push esi
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
mov eax, 0xe0000226
jmp 0x40128d
Function at 0x402ae8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b94
test esi, esi
jne 0x402b1e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404c84
jmp 0x402b3c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040299c
mov edi, eax
test esi, esi
je 0x402b3c
cmp dword [ebx], 0
je 0x402b3c
dec esi
jmp 0x402b25
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403c0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x484020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ca4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403c84
xor eax, eax
push ebp
push 0x403c7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403cc0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c84
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x484020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x484020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404974
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48a04c], 0
je 0x4049d5
cmp word [0x48a220], 0xd7b2
jne 0x40499d
cmp dword [0x48a228], 0
jbe 0x40499d
mov eax, 0x48a21c
call dword [0x48a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48409c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4049fc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484030], 0
jne 0x4049f1
push 0
push 0x484094
push 0x48409c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b48
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402760
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b10
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4063ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406510
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406363
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406510
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406363
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40652c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4063ec
xor eax, eax
push ebp
push 0x4063e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406128
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4063ca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40654c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4063ca
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4063ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406506
cmp byte [ebp - 0xd], 0
jne 0x406433
cmp byte [ebp - 0x12], 0
je 0x406506
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40644c
dec ebx
cmp byte [ebx], 0x2e
je 0x40645b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40644b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406506
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406498
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406506
cmp byte [ebp - 0xd], 0
je 0x406506
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406506
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406bd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406c3e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404e04
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403300
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406c28
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c45
lea eax, [ebp - 0x10]
call fcn.00404b94
ret

Function at 0x40cbf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cc29
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404c84
jmp 0x40cc32
mov eax, ebx
mov edx, esi
call fcn.00404be8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cc3c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cc5d
mov al, byte [esp]
jmp 0x40cc5f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d2e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d15c
mov eax, dword [0x489ba0]
cmp byte [eax], 0
je 0x40d360
mov eax, dword [0x489858]
call fcn.00402f30
call fcn.004028c8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004097a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d3a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d396
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4897dc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a668]
call fcn.004060ec
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40dc44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40dd1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404c2c
lea eax, [ebp - 8]
call fcn.004050a4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405054
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dd04
mov eax, ebx
call fcn.00402760
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40dcfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405054
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dce7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40dd2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dce7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd04
mov eax, dword [ebp - 0x10]
call fcn.00402780
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd21
lea eax, [ebp - 8]
call fcn.00404b94
ret

Function at 0x40e20c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e270
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404e04
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040924c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e277
lea eax, [ebp - 0xc]
call fcn.00404b94
ret

Function at 0x41f348
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041f1a0
dec esi
jne 0x41f36a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4204ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48a88c
cmp dword [edi], 0
jne 0x420528
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48a888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x484428
mov ecx, 2
call fcn.0040295c
mov edx, 0x420484
lea eax, [esi + 5]
call fcn.004204a4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004204a4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4204fd
mov dword [0x48a888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42173c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421742
ret

Function at 0x423b84
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x423bd5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423bbc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423bac
jmp 0x423bd5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x423bbd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d174
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42d0c0
call sub.user32.dll_EnumWindows
pop ebp
ret

Function at 0x42d2a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42d31d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042ccec
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42d2c5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042c8e4
cmp dword [ebp - 4], 0
je 0x42d307
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405054
push eax
mov eax, dword [esi + 0x19]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d324
lea eax, [ebp - 4]
call fcn.00404b94
ret

Function at 0x4307f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x430848]
test si, 4
je 0x43080c
or bl, 1
test si, 8
je 0x430816
or bl, 4
test si, 1
je 0x430820
or bl, 8
test si, 2
je 0x43082a
or bl, 0x10
test si, 0x10
je 0x430834
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430843
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43084c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x430884]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430865
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x430874
or bl, 4
test esi, 0x20000000
je 0x43087f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret