joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x404b52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0
or ebx, 0xffffffff
call sub.MFC42.DLL_CInternetSession::CInternetSession
push 0x14
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x30], 2
je 0x401c34
mov ecx, eax
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov ebp, eax
jmp 0x401c36
xor ebp, ebp
mov eax, dword [esp + 0x38]
push edi
push 0
push 0
push 1
push 1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CInternetSession::OpenURL
lea ecx, [esp + 0x10]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x13
mov ecx, edi
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CHttpFile::QueryInfo
mov edx, dword [esp + 0x10]
push 0x407184
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x401ca8
push eax
lea eax, [esp + 0x14]
push eax
push 5
mov ecx, edi
call sub.MFC42.DLL_CHttpFile::QueryInfo
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x10c]
mov ecx, dword [esi + 0xc4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov edx, dword [ecx + 0x20]
push 0
push 0x406
push edx
call edi
mov esi, dword [esi + 0xc4]
push 0
push 1
push 0x402
mov eax, dword [esi + 0x20]
push eax
call edi
test ebp, ebp
pop edi
je 0x401cec
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00404476
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0040465c
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.00404476
mov ecx, dword [esp + 0x28]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x402450
Capabilities:
Enumerate processes
Print debug messages
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x404bee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push 0
push 2
mov dword [esp + 0x148], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40256a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4024bc
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x14]
push edx
push eax
mov byte [esp + 0x154], 1
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x402541
mov ecx, dword [esp + 0x24]
push ecx
push eax
push 0x1f0fff
call esi
push 0
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x154]
lea eax, [esp + 0x10]
push edx
push 0x407294
push eax
mov byte [esp + 0x158], 2
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x14c], 1
call fcn.00404476
lea edx, [esp + 0x1c]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0x14]
mov ebx, eax
mov byte [esp + 0x14c], 0
call fcn.00404476
test ebx, ebx
jne 0x4024b8
pop edi
pop esi
pop ebp
lea ecx, [esp + 0x148]
mov dword [esp + 0x140], 0xffffffff
call fcn.00404476
mov ecx, dword [esp + 0x138]
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret

Function at 0x4025a0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x404c13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x14c], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
cmp eax, ebx
je 0x402634
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x10]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x402669
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x144], bl
call fcn.00404476
cmp esi, ebx
jne 0x4025ef
lea ecx, [esp + 0x14c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00404476
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], bl
call fcn.00404476
lea ecx, [esp + 0x14c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00404476
xor eax, eax
jmp 0x402650
Function at 0x4038c0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x404e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
push 0x407884
mov byte [esp + 0x48], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ebx, 2
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.004016e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 3
call fcn.00404770
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.00404476
push str.Update.exe
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
push eax
lea edx, [esp + 0x20]
push 0
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call fcn.00404770
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.00404476
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esp + 0x14]
push str.AfterUpdate.bat
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0xc]
push 0
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CFileFind::FindFile
mov edi, dword [sym.imp.KERNEL32.dll_WinExec]
test eax, eax
je 0x4039e4
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push 0x407840
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
push ebx
push edx
call edi
lea eax, [esp + 0x14]
push str.ZTEMOC.exe
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 5
push eax
call edi
lea ecx, [esp + 0x1c]
call fcn.00404476
mov edx, dword [esi + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
call sub.MFC42.DLL_CDialog::OnOK
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 5
call fcn.00404476
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call fcn.004046f8
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.00404476
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call fcn.00404476
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.00404476
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x403fe0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x404f00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
mov edi, ecx
push 0x407418
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0
call sub.MFC42.DLL_CString::Find
or ebp, 0xffffffff
cmp eax, ebp
je 0x40403f
push 0x407704
push 0x407418
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Replace
push 0x407418
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Find
cmp eax, ebp
jne 0x40401a
mov eax, dword [esp + 0x44]
mov eax, dword [eax - 8]
cmp eax, 3
jle 0x404157
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x44]
push 0
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CFileFind::FindFile
lea edx, [esp + 0x44]
lea ecx, [esp + 0xc]
push edx
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 3
call fcn.00404770
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.00404476
test esi, esi
jne 0x40413b
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00403fe0
test eax, eax
je 0x4040fc
mov eax, dword [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40413b
mov ecx, dword [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40413b
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call fcn.00404476
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.004046f8
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], ebp
call fcn.00404476
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call fcn.00404476
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.004046f8
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], ebp
call fcn.00404476
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x34
ret 4
Function at 0x402a78
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.00404524
test esi, esi
jne 0x402aae
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.00404614
jmp 0x402acc
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040298c
mov edi, eax
test esi, esi
je 0x402acc
cmp dword [ebx], 0
je 0x402acc
dec esi
jmp 0x402ab5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035ac
Capabilities:
Query or enumerate registry value

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

Function at 0x404324
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a104c], 0
je 0x404385
cmp word [0x4a1220], 0xd7b2
jne 0x40434d
cmp dword [0x4a1228], 0
jbe 0x40434d
mov eax, 0x4a121c
call dword [0x4a1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49f054
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 0x4043ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49f01c], 0
jne 0x4043a1
push 0
push 0x49f074
push 0x49f054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4044d8
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.00402794
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044a0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40600c
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 0x40623c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40608f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40623c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40608f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406258
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406118
xor eax, eax
push ebp
push 0x406111
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405e54
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 0x4060f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406278
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4060f6
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 0x406118
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 0x406232
cmp byte [ebp - 0xd], 0
jne 0x40615f
cmp byte [ebp - 0x12], 0
je 0x406232
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406178
dec ebx
cmp byte [ebx], 0x2e
je 0x406187
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406177
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406232
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4061c4
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 0x406232
cmp byte [ebp - 0xd], 0
je 0x406232
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 0x406232
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 0x408fa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049d4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408fb9
test al, 0x10
jne 0x408fbd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bbec
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 0x40bc25
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404614
jmp 0x40bc2e
mov eax, ebx
mov edx, esi
call fcn.00404578
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c2e0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c158
mov eax, dword [0x4a059c]
cmp byte [eax], 0
je 0x40c348
mov eax, dword [0x4a0374]
call fcn.00402e34
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409360
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 0x40c390
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c37e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a0324]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a1718]
call fcn.00405e18
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 0x40d198
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 0x40d1fc
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.0040478c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408d94
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d203
lea eax, [ebp - 0xc]
call fcn.00404524
ret

Function at 0x41ecf0
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.0041eb90
dec esi
jne 0x41ed12
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41fe3c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a1a28
cmp dword [edi], 0
jne 0x41feb8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a1a24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49f590
mov ecx, 2
call fcn.0040294c
mov edx, 0x41fe14
lea eax, [esi + 5]
call fcn.0041fe34
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fe34
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 0x41fe8d
mov dword [0x4a1a24], 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 0x421494
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 0x42149a
ret

Function at 0x423a1c
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 0x423a6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423a54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423a44
jmp 0x423a6d
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 0x423a55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cbec
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.004049c4
xor eax, eax
push ebp
push 0x43cd1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43cced
xor eax, eax
push ebp
push 0x43cce6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047dc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43ccbb
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 0x43ccaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047dc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049d4
mov edx, ebx
pop ecx
call fcn.0040294c
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 0x43ccb1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a02b8]
mov dl, 1
mov eax, dword [0x407bd4]
call fcn.0040c45c
call fcn.00403f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cd21
lea eax, [ebp - 4]
call fcn.00404524
ret