joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454880
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4548c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x454d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004548f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454970
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454970
lea ecx, [esi + 0xc]
call fcn.00467edb
lea ecx, [esi + 0x10]
call fcn.00467edb
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00455f10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00455f10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00455f10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00467f50
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467f50
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x456100
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x456166
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x456166
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x456147
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46a2f4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a32c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004683ab
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00468383
jmp 0x46a338
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46b9eb
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 0x46ba2d
call fcn.00471559
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ba2d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ba24
xor eax, eax
jmp 0x46ba35
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ba3b
pop edi
pop esi
pop ebx
ret 4

Function at 0x471a89
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 0x471ab7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471ad5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004719ef
jmp 0x471ad5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471ad5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004719ef
test edi, edi
mov eax, edi
jne 0x471abf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x470d00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37000]
push edi
jmp 0x470d1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x470d21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470d10
mov eax, 1
add ebx, ebx
jne 0x470d33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x470d44
jne 0x470d63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470d63
dec eax
add ebx, ebx
jne 0x470d50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x470d28
add ebx, ebx
jne 0x470d5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x470db5
xor ecx, ecx
sub eax, 3
jb 0x470d7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x470dea
sar eax, 1
mov ebp, eax
jmp 0x470d86
add ebx, ebx
jne 0x470d86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470d54
inc ecx
add ebx, ebx
jne 0x470d94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470d54
add ebx, ebx
jne 0x470da1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x470d96
jne 0x470db2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x470d96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x470dd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x470dc6
jmp 0x470d16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x470dd4
add edi, ecx
jmp 0x470d16
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x470df2
cmp byte [edi], 6
jne 0x470df2
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 0x470df7
lea edi, [esi + 0x6e000]
mov eax, dword [edi]
or eax, eax
je 0x470e66
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x70c0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x70c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x470e24
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x70c4c]
or eax, eax
je 0x470e60
mov dword [ebx], eax
add ebx, 4
jmp 0x470e41
call dword [esi + 0x70c5c]
mov ebp, dword [esi + 0x70c50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x470e9a
sub esp, 0xffffff80
jmp 0x403861
Function at 0x402be0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x404158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x44]
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x60]
xor ebp, ebp
mov eax, dword [ebx]
mov dword [esp + 0x3c], ebp
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push str._d__d
push eax
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esi + 0x22c]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::CFileFind
push str..
lea eax, [esp + 0x48]
push ebx
push eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push ebp
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x44]
mov edi, eax
mov byte [esp + 0x3c], 1
call fcn.0040363c
test edi, edi
je 0x402d7d
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x402d7d
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x402d75
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
test eax, eax
je 0x402cec
lea eax, [esp + 0x44]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
mov ecx, esi
mov byte [esp + 0x40], 3
call fcn.00402be0
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.0040363c
jmp 0x402d75
mov eax, dword [esi + 0x60]
lea ecx, [esp + 0x14]
inc eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x60], eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call fcn.00403642
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 1
call fcn.0040363c
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00402dc0
test eax, eax
je 0x402d40
mov edx, dword [esi + 0x64]
mov eax, dword [esp + 0x10]
inc edx
push eax
mov dword [esi + 0x64], edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc ebp
cmp ebp, 0x32
jle 0x402d75
mov ecx, dword [ebx]
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x60]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._d__d
push ecx
xor ebp, ebp
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
add esp, 0x14
lea ecx, [esi + 0x22c]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
test edi, edi
jne 0x402c86
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.0040386a
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040363c
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x402b90
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.00404790
test esi, esi
jne 0x402bc6
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.00404880
jmp 0x402be4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a44
mov edi, eax
test esi, esi
je 0x402be4
cmp dword [ebx], 0
je 0x402be4
dec esi
jmp 0x402bcd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40370c
Capabilities:
Query or enumerate registry value

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

Function at 0x404590
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x55304c], 0
je 0x4045f1
cmp word [0x553220], 0xd7b2
jne 0x4045b9
cmp dword [0x553228], 0
jbe 0x4045b9
mov eax, 0x55321c
call dword [0x553238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x54b054
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 0x404618
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x54b01c], 0
jne 0x40460d
push 0
push 0x54b074
push 0x54b054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404744
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.00402808
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x55304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40470c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4064a8
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 0x4066d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40652b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4066d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40652b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4066f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4065b4
xor eax, eax
push ebp
push 0x4065ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004062f0
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 0x406592
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406714
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406592
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 0x4065b4
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 0x4066ce
cmp byte [ebp - 0xd], 0
jne 0x4065fb
cmp byte [ebp - 0x12], 0
je 0x4066ce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406614
dec ebx
cmp byte [ebx], 0x2e
je 0x406623
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406613
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4066ce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406660
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 0x4066ce
cmp byte [ebp - 0xd], 0
je 0x4066ce
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 0x4066ce
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 0x40c8e4
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 0x40c91d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404880
jmp 0x40c926
mov eax, ebx
mov edx, esi
call fcn.004047e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cfd8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ce50
mov eax, dword [0x551dd4]
cmp byte [eax], 0
je 0x40d040
mov eax, dword [0x5518fc]
call fcn.00402f50
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004099d0
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 0x40d088
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d076
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x55184c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x553718]
call fcn.004062b4
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 0x40dea8
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 0x40df0c
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.004049f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409504
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df13
lea eax, [ebp - 0xc]
call fcn.00404790
ret

Function at 0x421d04
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.00421b78
pop ebx
ret

Function at 0x421d24
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.00421b78
dec esi
jne 0x421d46
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423558
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x553a28
cmp dword [edi], 0
jne 0x4235d4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x553a24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x54b564
mov ecx, 2
call fcn.00402a04
mov edx, 0x423530
lea eax, [esi + 5]
call fcn.00423550
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423550
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 0x4235a9
mov dword [0x553a24], 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 0x424bc8
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 0x424bce
ret

Function at 0x427214
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 0x427265
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42724c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42723c
jmp 0x427265
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 0x42724d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a024
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.00404c30
xor eax, eax
push ebp
push 0x43a152
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43a125
xor eax, eax
push ebp
push 0x43a11e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a48
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43a0f3
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 0x43a0e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a48
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c40
mov edx, ebx
pop ecx
call fcn.00402a04
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 0x43a0e9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x551738]
mov dl, 1
mov eax, dword [0x408208]
call fcn.0040d1a8
call fcn.0040412c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a159
lea eax, [ebp - 4]
call fcn.00404790
ret
Function at 0x43a160
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 0x43a311
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e30
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43a328
call fcn.00404a94
mov eax, ebx
call fcn.00422410
mov edi, eax
dec edi
test edi, edi
jl 0x43a218
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004223e4
mov edx, dword [0x4312f4]
call fcn.00403a28
test al, al
je 0x43a214
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004223e4
lea edx, [ebp - 0x14]
call fcn.00441634
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e30
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b08
inc esi
dec edi
jne 0x43a1c6
mov al, byte [0x43a32c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43a338
mov eax, dword [ebp - 0xc]
call fcn.0040e480
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404828
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.00441634
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43a328
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 + 0x2f0]
call fcn.00441634
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43a328
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, 0x43a328
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, 0x43a344
call fcn.0040a1b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a318
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047b4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047b4
lea eax, [ebp - 0x14]
call fcn.00404790
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047b4
ret

Function at 0x43bc6c
Capabilities:
Enumerate gui resources

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