joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bdcec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x4bdcfe
add esp, 0xfffffff0
call fcn.00403f08
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042b140
mov eax, dword [0x5f1ea4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4be25c
mov eax, dword [0x5f1ec0]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x4be27c
mov eax, dword [ebp - 4]
call fcn.004be29c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41dbe8]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x4b96ac
push eax
push 0
push 0
mov eax, dword [0x5f2238]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42db7c]
call fcn.0042f4f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x42db7c]
call fcn.0042f4f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x42db7c]
call fcn.0042f4f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.004be924
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4be70c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4be70c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4be70c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4bde86
call fcn.00403f60
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4be4c4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4be68f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4be66d
mov dl, 1
mov eax, dword [0x41e26c]
call fcn.00403b60
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404ac0
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4be656
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004a5fec
test al, al
je 0x4be64a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x4be6a0
lea eax, [ebp - 0x25c]
call fcn.0040b240
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4be64a
xor eax, eax
push ebp
push 0x4be643
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x4be6d8
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4be62c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404d30
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4be62c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404d30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be64a
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4be539
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00423f44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be696
lea eax, [ebp - 0x268]
call fcn.00404ac0
ret
Function at 0x4bf22c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5f3c1c]
cmp byte [eax + 0xa5], 0
jne 0x4bf2a3
cmp dword [0x5f3c34], 0
jne 0x4bf261
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4bf1e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5f3c34], eax
cmp dword [0x5f3c30], 0
jne 0x4bf27c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5f3c30], eax
cmp dword [0x5f3c38], 0
jne 0x4bf2a3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4bf188
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5f3c38], eax
pop ecx
pop ebp
ret

Function at 0x4bf36c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004bf304
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4bf38d
xor eax, eax
call fcn.004bf33c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4bf3a7
mov al, 1
call fcn.004bf33c
mov esp, ebp
pop ebp
ret

Function at 0x4bfab4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5f3c1c]
cmp dword [eax + 0x30], 0
je 0x4bfb7e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x4bfb75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x4bfa34
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x4bfb75
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4bfb2f
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x4bfb75
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00420ba4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4bfb44
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x4c0894
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x4c08d9
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404bb0
jmp 0x4c08ea
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404b14
mov esp, ebp
pop ebp
ret
Function at 0x4c1e38
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x4c1e8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a013c
test al, al
je 0x4c1e8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0049fc6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c1e8b
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0049fc6c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4c5698
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c56c6
mov eax, ebx
call fcn.004c614c
cmp dword [ebx + 0x40], 0
je 0x4c56bf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c5737
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c5729
cmp dword [ebx + 8], 0
je 0x4c56e8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4c56fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c5729
cmp dword [ebx + 8], 0
je 0x4c56db
cmp eax, 3
je 0x4c570d
dec eax
jne 0x4c56db
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4c56db
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c56db
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c5755
cmp dword [ebx + 0x14], 0xcc
je 0x4c5755
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004c5760
pop ebx
ret
Function at 0x51f7a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
test eax, eax
je 0x51f7c1
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x51f7cc
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x51f8dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5f2760]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004be804
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x51f8bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
lea eax, [ebp - 0x18]
mov edx, 0x51f8f8
call fcn.00404b58
push 0x40
lea eax, [ebp - 0x58]
push eax
call sub.wsock32.dll_gethostname
test eax, eax
je 0x51f833
call fcn.004044e0
jmp 0x51f8c7
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x58]
mov ecx, 0x40
call fcn.00404d30
lea eax, [ebp - 0x58]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x51f867
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404b14
call fcn.004044e0
jmp 0x51f8c7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
xor ebx, ebx
jmp 0x51f886
push dword [esi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404cb8
inc ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x51f874
call sub.wsock32.dll_WSACleanup
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f8c3
mov eax, dword [0x5f2760]
mov eax, dword [eax]
xor edx, edx
call fcn.004be804
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51f8e4
lea eax, [ebp - 0x18]
call fcn.00404ac0
ret
Function at 0x54e834
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x88], 2
jne 0x54e86b
cmp dword [ebp - 0x94], 5
jb 0x54e86b
mov byte [ebp - 1], 1
jmp 0x54e86f
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x56ea84
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x56ea8c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56f4df
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x290]
call fcn.00497254
mov edx, dword [ebp - 4]
lea eax, [esi + 0x14]
call fcn.00404b14
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2b4]
call fcn.00497254
mov edx, dword [ebp - 8]
lea eax, [esi + 0x18]
call fcn.00404b14
mov eax, dword [ebx + 0x294]
mov edx, dword [eax + 0x210]
mov dword [esi + 0x20], edx
invalid
nop
adc al, 2
invalid
Function at 0x5cd3f4
Capabilities:
Copy file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f70
mov eax, dword [ebp - 8]
call fcn.00404f70
mov eax, dword [ebp - 0xc]
call fcn.00404f70
xor eax, eax
push ebp
push 0x5cd635
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.005cd664
test al, al
je 0x5cd602
movzx eax, word [ebp - 0x24]
cmp eax, dword [ebp + 0x10]
jne 0x5cd602
mov eax, dword [ebp - 0x24]
call fcn.00408118
movzx eax, ax
cmp eax, dword [ebp + 0xc]
jne 0x5cd602
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x5cd602
cmp byte [ebp - 0x29], 0
je 0x5cd4cd
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x28]
call fcn.00409988
mov eax, dword [ebp - 0x440]
mov edx, dword [ebp - 0xc]
call fcn.00404ecc
jne 0x5cd602
mov eax, dword [ebp - 4]
call fcn.0040a608
test al, al
je 0x5cd4e9
mov eax, dword [ebp - 4]
call fcn.0040a794
test al, al
je 0x5cd602
lea eax, [ebp - 0x444]
call fcn.0040aa8c
mov edx, dword [ebp - 0x444]
lea eax, [ebp - 0x14]
mov ecx, 0x5cd650
call fcn.00404dcc
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404f80
push eax
mov eax, dword [ebp - 8]
call fcn.00404f80
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x5cd602
mov edx, 2
mov eax, dword [ebp - 0x14]
call fcn.0040a3e8
mov esi, eax
test esi, esi
jl 0x5cd602
mov eax, dword [ebp - 4]
call fcn.0040a458
mov edi, eax
test edi, edi
jge 0x5cd55f
mov eax, esi
call fcn.0040a584
jmp 0x5cd602
xor ecx, ecx
mov edx, 0x400
mov eax, esi
call fcn.0040a51c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0040a51c
mov ebx, 0x400
lea edx, [ebp - 0x439]
mov ecx, 0x400
mov eax, esi
call fcn.0040a4ac
mov ebx, eax
lea eax, [ebp - 0x439]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [eax], 0x6b42e982
lea eax, [ebp - 0x239]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [eax], 0x5f2c8b4e
lea edx, [ebp - 0x439]
mov ecx, ebx
mov eax, edi
call fcn.0040a4e4
cmp ebx, 0x400
je 0x5cd57d
mov eax, esi
call fcn.0040a584
mov eax, edi
call fcn.0040a584
lea eax, [ebp - 0x448]
call fcn.0040aa8c
lea eax, [ebp - 0x448]
mov edx, 0x5cd650
call fcn.00404d88
mov eax, dword [ebp - 0x448]
call fcn.0040a794
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd63c
lea eax, [ebp - 0x448]
mov edx, 3
call fcn.00404ae4
lea eax, [ebp - 0x28]
call fcn.00404ac0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404ae4
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x56207ce6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5aba39fc
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x407368
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040a0c0
test esi, esi
jne 0x40739e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040a258
jmp 0x4073bc
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004072ac
mov edi, eax
test esi, esi
je 0x4073bc
cmp dword [ebx], 0
je 0x4073bc
dec esi
jmp 0x4073a5
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004091c8
mov byte [esp], al
cmp byte [esp], 0
jne 0x408e91
test edi, edi
je 0x408e91
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408dd1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408dac
cmp edi, 0xffffffff
je 0x408d6d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408d6d
mov byte [esp], 0
jmp 0x408e91
cmp dword [esi], 1
jg 0x408dac
cmp dword [esi], 0
jne 0x408d9e
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408d9e
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408e91
lea eax, [esp + 0xc]
call fcn.004089b8
dec ebp
test ebp, ebp
jg 0x408d52
cmp edi, 0xffffffff
je 0x408dd1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408dcf
mov byte [esp], 0
jmp 0x408e91
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408d16
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408dd1
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408f0c
mov edx, eax
mov ebx, dword [0x67e8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408e35
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408e33
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408e35
xor edi, edi
cmp byte [esp], 0
je 0x408e5b
mov ebx, dword [esi]
test bl, 1
jne 0x408e71
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408e3b
mov byte [esp + 1], 1
jmp 0x408e71
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408e5b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408de8
cmp byte [esp], 0
je 0x408e91
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409d58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x67e05c], 0
je 0x409dbf
cmp word [0x67e348], 0xd7b2
jne 0x409d81
cmp dword [0x67e350], 0
jbe 0x409d81
mov eax, 0x67e344
call dword [0x67e360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x409dec
call fcn.0040aad8
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x672036], 0
jne 0x409ddb
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x409f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x672038], 0
je 0x409fab
mov edx, edi
mov eax, esi
call dword [0x672038]
mov ebx, eax
jmp 0x409fbc
mov eax, 8
call fcn.00406fe4
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x67e05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409f48
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409fec
mov eax, ebx
call fcn.00407000
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40dfec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40e153
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a0c0
cmp si, word [0x672a10]
jb 0x40e084
cmp si, word [0x672c10]
ja 0x40e084
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40e084
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x672a10]
jae 0x40e05e
mov edi, ebx
dec edi
jmp 0x40e07f
cmp si, word [ebx*8 + 0x672a10]
jbe 0x40e06e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40e07f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x672a14]
call fcn.0040df08
jmp 0x40e084
cmp edi, dword [ebp - 8]
jae 0x40e048
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40e133
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40e133
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ae84
push dword [ebp - 0x160]
push 0x40e170
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040ae84
push dword [ebp - 0x164]
push 0x40e180
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040ae84
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b0bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e15a
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a120
pop eax
jmp eax