joyce8/EMBER2024-capa huggingface dataset:
Function at 0x574398
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0056e5f4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.0056e6a4
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0056e6a4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x589249
lea ecx, [ebp - 0x200]
push ecx
call fcn.0056e5f4
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.0056e6a4
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.00575ad4
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5744a9
push esi
call fcn.0056e6a4
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0056e6a4
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0056d748
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x574480
xor eax, eax
jmp 0x574530
push esi
call fcn.0056e6a4
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0056e6a4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0056e523
add esp, 0xc
jmp 0x5744e9
mov edi, dword [ebx + 0x24]
push edi
call fcn.0056e6a4
pop ecx
push eax
push esi
call fcn.0056e6a4
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0056e6a4
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0056d768
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5744e9
xor eax, eax
jmp 0x574530
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0056e5f4
add esp, 8
push 0x58924b
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0056e5f4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.0056e5f4
add esp, 8
push 0x58924d
mov edx, dword [ebx + 0x24]
push edx
call fcn.0056e5f4
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x577f14
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x577f41
jmp 0x577f78
call fcn.00577ec4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0056e6a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0056e6a4
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x577ffc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x589884], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5780d6
cmp dword [0x589880], 0
jne 0x5780d6
cmp dword [0x589aa8], 0
je 0x578090
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005779cc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x578076
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005779cc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x578076
lea ebx, [ebp - 0x84]
jmp 0x578077
inc ebx
call fcn.00577fb4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x578111
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x589888
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0056e6a4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x58988b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x578111
cmp dword [0x589880], 0
je 0x5780f0
cmp dword [0x589880], 0xffffffff
je 0x578111
push esi
call dword [0x589880]
pop ecx
mov eax, dword [0x589884]
test eax, eax
je 0x578111
cmp dword [0x589884], 0xffffffff
je 0x578111
cmp byte [eax], 0
je 0x578111
push esi
push eax
call fcn.00577f14
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x578a28
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x591608], 0
jne 0x578ab4
cmp dword [0x59163c], 0
jne 0x578a58
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x59163c], eax
test eax, eax
jne 0x578a58
push str.GetEnvironmentStrings_failed
call fcn.00578128
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x59163c]
jmp 0x578a71
lea eax, [edi + 1]
add edi, edi
add edi, 2
add ebp, eax
inc esi
add ebx, edi
push ebx
call fcn.0056e964
pop ecx
mov edi, eax
test eax, eax
jne 0x578a64
lea edi, [ebp + 1]
mov eax, edi
add eax, eax
push eax
call fcn.0056d748
pop ecx
mov ebx, eax
mov dword [0x59160c], ebx
test ebx, ebx
jne 0x578a9f
xor eax, eax
jmp 0x578b7b
add edi, edi
mov edx, dword [0x59163c]
push edi
push edx
push ebx
call fcn.0056e33c
add esp, 0xc
jmp 0x578ad4
xor esi, esi
mov ebx, dword [0x591608]
jmp 0x578ace
push eax
call fcn.0056e964
pop ecx
test eax, eax
jne 0x578aca
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x578abe
lea ebx, [esi + 4]
push 4
mov dword [0x591610], ebx
inc ebx
push ebx
call fcn.0056d6ac
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x578af7
xor eax, eax
jmp 0x578b7b
cmp dword [0x591608], 0
jne 0x578b2c
xor esi, esi
mov ebx, dword [0x59160c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x578b1d
mov dword [ebp], ebx
add edi, edi
add ebp, 4
add edi, 2
inc esi
add ebx, edi
push ebx
call fcn.0056e964
pop ecx
mov edi, eax
test eax, eax
jne 0x578b0f
jmp 0x578b5d
xor esi, esi
mov ebx, dword [0x591608]
mov eax, dword [esp]
mov edi, eax
jmp 0x578b57
push eax
call fcn.0056e964
pop ecx
test eax, eax
je 0x578b4c
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x578b50
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x578b3b
mov eax, dword [0x591608]
test eax, eax
je 0x578b6d
push eax
call fcn.0056d758
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x591608], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402b48
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.0040437c
test esi, esi
jne 0x402b7e
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.0040446c
jmp 0x402b9c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029fc
mov edi, eax
test esi, esi
je 0x402b9c
cmp dword [ebx], 0
je 0x402b9c
dec esi
jmp 0x402b85
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402e90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b5008], 0x8088405
inc edx
mov dword [ebx + 0x4b5008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403318
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b5024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403390
xor eax, eax
push ebp
push 0x403389
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 0x4033cc
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 0x403390
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b5024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b5024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40415c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ba04c], 0
je 0x4041bd
cmp word [0x4ba220], 0xd7b2
jne 0x404185
cmp dword [0x4ba228], 0
jbe 0x404185
mov eax, 0x4ba21c
call dword [0x4ba238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b5070
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 0x4041e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b5034], 0
jne 0x4041d9
push 0
push 0x4b5068
push 0x4b5070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404330
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.004027c0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ba04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4042f8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405ae0
Capabilities:
Get geographical location
Query or enumerate registry value

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 0x405d10
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b63
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d10
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b63
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d2c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405bec
xor eax, eax
push ebp
push 0x405be5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405928
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 0x405bca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405d4c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405bca
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 0x405bec
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 0x405d06
cmp byte [ebp - 0xd], 0
jne 0x405c33
cmp byte [ebp - 0x12], 0
je 0x405d06
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405c4c
dec ebx
cmp byte [ebx], 0x2e
je 0x405c5b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405c4b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d06
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405c98
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 0x405d06
cmp byte [ebp - 0xd], 0
je 0x405d06
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 0x405d06
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 0x4063f4
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 0x40645a
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.004045fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402eac
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406444
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406461
lea eax, [ebp - 0x10]
call fcn.0040437c
ret

Function at 0x40915c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040484c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409175
test al, 0x10
jne 0x409179
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409180
Capabilities:
Get file attributes

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

Function at 0x409194
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.0040484c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4091b6
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40c170
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 0x40c1a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040446c
jmp 0x40c1b2
mov eax, ebx
mov edx, esi
call fcn.004043d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c1bc
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 0x40c1dd
mov al, byte [esp]
jmp 0x40c1df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40c9b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c828
mov eax, dword [0x4b939c]
cmp byte [eax], 0
je 0x40ca2c
mov eax, dword [0x4b8fd0]
call fcn.00402cc0
call fcn.00402928
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.00409628
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 0x40ca74
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca62
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4b8f38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ba668]
call fcn.004058ec
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 0x40d31c
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 0x40d3f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404414
lea eax, [ebp - 8]
call fcn.0040489c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040484c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d3dc
mov eax, ebx
call fcn.004027c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d3d5
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.0040484c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d3bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d404
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d3bf
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 0x40d3dc
mov eax, dword [ebp - 0x10]
call fcn.004027e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3f9
lea eax, [ebp - 8]
call fcn.0040437c
ret

Function at 0x40d9bc
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 0x40da20
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.004045fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408d7c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da27
lea eax, [ebp - 0xc]
call fcn.0040437c
ret
Function at 0x4202a0
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.004200f8
dec esi
jne 0x4202c2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421404
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ba88c
cmp dword [edi], 0
jne 0x421480
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ba888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b54a4
mov ecx, 2
call fcn.004029bc
mov edx, 0x4213dc
lea eax, [esi + 5]
call fcn.004213fc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004213fc
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 0x421455
mov dword [0x4ba888], 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 0x422aa4
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 0x422aaa
ret

Function at 0x425044
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 0x425095
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42507c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42506c
jmp 0x425095
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 0x42507d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e778
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040483c
xor eax, eax
push ebp
push 0x42e8a6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e879
xor eax, eax
push ebp
push 0x42e872
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e847
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e836
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040484c
mov edx, ebx
pop ecx
call fcn.004029bc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e83d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4b8e5c]
mov dl, 1
mov eax, dword [0x4079d8]
call fcn.0040cb40
call fcn.00403cf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e8ad
lea eax, [ebp - 4]
call fcn.0040437c
ret
Function at 0x42e8b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42ea65
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404a3c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42ea7c
call fcn.00404698
mov eax, ebx
call fcn.00420998
mov edi, eax
dec edi
test edi, edi
jl 0x42e96c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042096c
mov edx, dword [0x4338e4]
call fcn.00403634
test al, al
je 0x42e968
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042096c
lea edx, [ebp - 0x14]
call fcn.0043af14
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404a3c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040470c
inc esi
dec edi
jne 0x42e91a
mov al, byte [0x42ea80]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42ea8c
mov eax, dword [ebp - 0xc]
call fcn.0040e2f8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404414
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043af14
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42ea7c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043af14
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42ea7c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42ea7c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42ea98
call fcn.00409d04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ea6c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004043a0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004043a0
lea eax, [ebp - 0x14]
call fcn.0040437c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004043a0
ret