joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480e2c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x78], 0
je 0x480e3c
mov eax, ebx
call fcn.00480db4
mov eax, dword [ebx + 0x88]
call fcn.0040506c
mov dword [ebx + 0x70], eax
lea eax, [ebx + 0x4c]
push eax
push 0
push 0x405
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebx + 0x4c]
push eax
push 0
push 0x404
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x7c]
call fcn.0042a3d8
push eax
push 0x413
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
cmp dword [ebx + 0x84], 0
je 0x480eb6
mov eax, dword [ebx + 0x84]
call fcn.0040506c
push eax
movzx eax, byte [ebx + 0x80]
push eax
push 0x420
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0042a908
push eax
push 0x30
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [ebx + 0x8c]
mov eax, dword [eax + 0x18]
call fcn.0042a3d8
push eax
push 0x414
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0xc0]
push eax
push 0
push 0x418
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x90]
test eax, eax
jl 0x480f44
cmp eax, 0x1f4
jle 0x480f25
mov edx, eax
mov eax, dword [ebx + 0x94]
call fcn.0043eeac
jmp 0x480f35
mov edx, 0x1f4
mov eax, dword [ebx + 0x94]
call fcn.0043eeac
mov dl, 1
mov eax, dword [ebx + 0x94]
call fcn.0043ee9c
jmp 0x480f51
xor edx, edx
mov eax, dword [ebx + 0x94]
call fcn.0043ee9c
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x9c], eax
call fcn.00480a98
mov edx, dword [ebx + 0x9c]
sub edx, eax
cmp edx, 0x1f4
seta al
mov byte [ebx + 0x98], al
pop ebx
ret

Function at 0x485d68
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x485d7b
add esp, 0xfffffff0
call fcn.00404000
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp + 8]
call fcn.00404c30
lea eax, [ebx + 8]
mov edx, esi
call fcn.00404c30
mov eax, dword [ebx + 8]
call fcn.0040506c
push eax
push 0xffffffffffffffff
push 0
call fcn.00406f94
mov dword [ebx + 0x10], eax
call sub.kernel32.dll_GetLastError
cmp eax, 5
je 0x485dc1
cmp eax, 0xb7
je 0x485dc1
xor eax, eax
jmp 0x485dc3
mov al, 1
mov byte [ebx + 0x15], al
mov eax, dword [ebx + 4]
call fcn.0040506c
push eax
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0xc], eax
call sub.kernel32.dll_GetLastError
cmp eax, 5
je 0x485df6
cmp eax, 0xb7
je 0x485df6
xor edx, edx
jmp 0x485df8
mov dl, 1
mov byte [ebx + 0x14], dl
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x485e1e
mov esi, 4
test dl, dl
jne 0x485e0e
or esi, 2
push 4
push 0
push 0
push esi
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0x18], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x485e35
call fcn.00404058
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x487f00
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, eax
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x487fbe
xor eax, eax
push ebp
push 0x487fb7
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
mov eax, ebx
call fcn.0040506c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x487fa0
xor eax, eax
push ebp
push 0x487f99
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_QueryServiceStatus
cmp dword [ebp - 0x24], 4
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fa0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487fbe
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487fc8
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x48805f
xor eax, eax
push ebp
push 0x488058
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
mov eax, ebx
call fcn.0040506c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov ebx, eax
cmp ebx, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x488041
lea eax, [ebp - 0x24]
push eax
push esi
push ebx
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48805f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438c9b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
add edi, 0x925d6684
call fcn.00438cdb
inc ebx
sub ebx, 1
xor dword [esi], eax
sub ebx, ebx
add ebx, 0xbb5e7053
push 0x56b4d8a0
pop ebx
add esi, 1
inc ebx
and edi, edi
cmp esi, ecx
jne fcn.00438c9b
mov edi, edi
add edi, 0x506808dd
inc ebx
ret
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
movzx eax, word [ebp + 8]
push esi
push edi
push 0x42c10c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4010be
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4010be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4010be
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00409260
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x401084
mov eax, 0x423550
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00409270
lea eax, [ebp - 0x108]
push 0x42c108
push eax
call fcn.00409242
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4010c2
push 0x10
push 0x42c100
push 0x42c0d0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x4010f6
push esi
push dword [ebp + 8]
push 1
push dword [ebp - 4]
call fcn.004090d8
push esi
call fcn.0040905b
lea eax, [ebp - 0x108]
push eax
call fcn.00408fe0
add esp, 0x18
mov ecx, edi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00401362
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x4162e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040a5b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4163ab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4163ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41635e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x416369
or bh, 8
and edi, 0x8000000
je 0x416384
mov eax, dword [0x43391c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4163ab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4167ab
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4167cf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4167ea
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41807f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4180a1
cmp dword [edi + 0x3c], 0
jne 0x4180a1
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0041f900
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004180ce
pop edi
pop esi
pop ebx
ret 8

Function at 0x41840e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4222a0
call fcn.00409840
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0041f900
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x41844d
call fcn.0041f900
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41845b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x418469
or eax, 0xffffffff
jmp 0x418551
mov ecx, esi
call fcn.00418384
mov dword [ebp - 0x14], eax
call fcn.00419242
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4184a0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4184a0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004191f6
push dword [ebp - 0x14]
call fcn.00418d28
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041811c
cmp eax, edi
je 0x418513
test byte [esi + 0x24], 0x10
je 0x4184e1
push 4
mov ecx, esi
pop ebx
call fcn.0041b314
test ah, 1
je 0x4184d9
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041ad4e
cmp dword [esi + 0x1c], edi
je 0x418513
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041b3fa
jmp 0x418513
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x418527
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x418540
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x418540
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004183be
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41abfc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41ac3e
call fcn.0041f900
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41ac3e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41ac35
xor eax, eax
jmp 0x41ac46
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041ac4c
pop edi
pop esi
pop ebx
ret 4

Function at 0x41f479
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41f4a7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f4c5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041f3df
jmp 0x41f4c5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41f4c5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041f3df
test edi, edi
mov eax, edi
jne 0x41f4af
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x409ff4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405264
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a00d
test al, 0x10
jne 0x40a011
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a1a4
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405264
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40a1b8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405264
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a1da
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40d91c
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 0x40d955
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ea4
jmp 0x40d95e
mov eax, ebx
mov edx, esi
call fcn.00404e08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d968
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 0x40d989
mov al, byte [esp]
jmp 0x40d98b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e010
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40de88
mov eax, dword [0x5394d0]
cmp byte [eax], 0
je 0x40e07d
mov eax, dword [0x5391a8]
call fcn.004030ac
call fcn.00402930
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040a848
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40e0c4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e0b3
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x539144]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x53a718]
call fcn.004067f4
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 0x40f034
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 0x40f098
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.0040501c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409ce4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f09f
lea eax, [ebp - 0xc]
call fcn.00404db4
ret

Function at 0x427320
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.004271a4
dec esi
jne 0x427342
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42846c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53aa28
cmp dword [edi], 0
jne 0x4284e8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x53aa24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5366b0
mov ecx, 2
call fcn.00402ae4
mov edx, 0x428444
lea eax, [esi + 5]
call fcn.00428464
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428464
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 0x4284bd
mov dword [0x53aa24], 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 0x429ab4
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 0x429aba
ret

Function at 0x42c414
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 0x42c465
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c44c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c43c
jmp 0x42c465
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 0x42c44d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440f18
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x4410d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004524ac
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x4410bd
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x440f7b
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404db4
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x44104c
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x539684]
and eax, 0xff
bt dword [edx], eax
jae 0x44100e
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.00453524
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x44108c
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404f94
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00404f94
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.0040512c
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x44108c
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404f94
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00405074
jmp 0x44108c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040506c
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00405304
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040506c
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040ea14
cmp al, 2
je 0x44102c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040506c
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.00405304
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040506c
test eax, eax
jle 0x4410a6
push ebp
call fcn.00440e30
pop ecx
jmp 0x4410bd
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004041c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4410df
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404dd8
ret