joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468698
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4686b4
cmp dword [esi + 4], 0
je 0x4686e1
test byte [ebx + 0x55], 1
jne 0x4686d3
mov eax, ebx
call fcn.00467238
test eax, eax
jne 0x4686d3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4687f1
mov edx, esi
mov eax, ebx
call fcn.004681bc
jmp 0x4687f1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4687ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046a508
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00464ed4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00468698
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046a508
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4687f1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46eee4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cf2cc]
cmp byte [eax + 0xc], 0
je 0x46f051
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f04a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0b9c], 0
jne 0x46ef38
push 0x46f058
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46f060
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0b9c], eax
cmp dword [0x499098], 0
jne 0x46f033
push 0x46f070
call sub.kernel32.dll_LoadLibraryA
mov dword [0x499098], eax
cmp dword [0x499098], 0
je 0x46f033
push 0x46f07c
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba0], eax
push 0x46f08c
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba4], eax
push 0x46f0a0
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba8], eax
push 0x46f0b8
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bac], eax
push 0x46f0d0
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb0], eax
push 0x46f0e4
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb4], eax
push 0x46f0fc
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb8], eax
push 0x46f114
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bbc], eax
push 0x46f130
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bc0], eax
push 0x46f13c
mov eax, dword [0x499098]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f051
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x473808
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040457c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x473857
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004047ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47b04c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47b09c]
test si, 4
je 0x47b060
or bl, 1
test si, 8
je 0x47b06a
or bl, 4
test si, 1
je 0x47b074
or bl, 8
test si, 2
je 0x47b07e
or bl, 0x10
test si, 0x10
je 0x47b088
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b097
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47b0a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47b0d8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b0b9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47b0c8
or bl, 4
test esi, 0x20000000
je 0x47b0d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47b128
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0047b0dc
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4817bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4817ce
add esp, 0xfffffff0
call fcn.00403aec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423c1c
mov eax, dword [0x4ceee8]
mov dword [eax + 4], ebx
mov dword [eax], 0x481b60
mov eax, dword [0x4ceef4]
mov dword [eax + 4], ebx
mov dword [eax], 0x481b6c
mov eax, ebx
call fcn.00481b78
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418a8c]
call fcn.00403744
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418a8c]
call fcn.00403744
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418a8c]
call fcn.00403744
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418a8c]
call fcn.00403744
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418a8c]
call fcn.00403744
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47df90
push eax
push 0
push 0
mov eax, dword [0x4cf070]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425698]
call fcn.00426eac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425698]
call fcn.00426eac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425698]
call fcn.00426eac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00482010
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x481ed8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x481ed8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x481ed8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48190b
call fcn.00403b44
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x481cbc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481e67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x481e48
mov dl, 1
mov eax, dword [0x4190f0]
call fcn.00403744
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040457c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x481e37
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046f244
test al, al
je 0x481e2a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x481e78
lea eax, [ebp - 0x254]
call fcn.00409bc4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x481e2a
xor eax, eax
push ebp
push 0x481e23
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x481eb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x481e0c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047ec
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x481e0c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481e2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x481d2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041db70
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481e6e
lea eax, [ebp - 0x260]
call fcn.0040457c
ret

Function at 0x4827b0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d0be8]
cmp byte [eax + 0xa5], 0
jne 0x482821
cmp dword [0x4d0c00], 0
jne 0x4827e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48276c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d0c00], eax
cmp dword [0x4d0bfc], 0
jne 0x4827fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d0bfc], eax
cmp dword [0x4d0c04], 0
jne 0x482821
push esp
push 0
push 0
push 0x482710
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d0c04], eax
pop edx
ret
Function at 0x482ee4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d0be8]
cmp dword [eax + 0x30], 0
je 0x482f8e
cmp dword [ebx + 0x94], 0
jne 0x482f88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x482e74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x482f88
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x482f4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x482f88
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b32c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x482f5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x483aec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x483b21
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040466c
jmp 0x483b2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x484ce0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x484d21
mov eax, esi
call fcn.0046a80c
test al, al
je 0x484d21
mov eax, dword [ebx + 0x84]
call fcn.0046a508
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x484d21
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046a508
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x48bd8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x48bdb1
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x48bea2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetDesktopFolder
call fcn.00418324
test al, al
je 0x48be81
lea eax, [ebp - 0x18]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00418324
test al, al
je 0x48be79
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x4cf15c]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00418324
test al, al
je 0x48be79
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x224]
mov eax, ebx
call fcn.0040d3a4
mov eax, dword [ebp - 0x224]
call fcn.00404a58
push eax
push 1
push 0
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00418330
test al, al
je 0x48be79
mov eax, dword [ebp - 4]
call fcn.004061fc
lea eax, [ebp - 0x18]
call fcn.0048bd10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bea9
lea eax, [ebp - 0x224]
call fcn.0040457c
lea eax, [ebp - 0x14]
call fcn.004061fc
ret
Function at 0x49018c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4902bc
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0048cd48
test eax, eax
jne 0x4901c7
mov ecx, 0x4902d4
mov dl, 1
mov eax, dword [0x407c20]
call fcn.0040c668
call fcn.00403f54
mov eax, dword [0x4d0c98]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x490235
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0c98]
call fcn.0042e37c
mov esi, eax
call fcn.0048cd48
lea ecx, [ebp - 4]
mov edx, dword [esi + 8]
call fcn.0048d0ec
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00404f14
je 0x490231
mov al, byte [esi + 0xc]
test al, al
jne 0x490215
mov eax, dword [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00404820
jmp 0x490231
cmp al, 2
jne 0x490226
mov eax, dword [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00404cb4
jmp 0x490231
mov eax, dword [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00404820
inc edi
dec ebx
jne 0x4901d7
mov eax, dword [0x4d0c9c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4902a6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0c9c]
call fcn.0042e37c
mov esi, eax
call fcn.0048cd48
lea ecx, [ebp - 4]
mov edx, dword [esi + 8]
call fcn.0048d0ec
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00404f14
je 0x4902a2
lea eax, [esi + 0xc]
mov edx, dword [ebp - 4]
call fcn.00404820
lea eax, [ebp - 8]
push eax
push 0x40
push 8
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [eax + 4], edx
push 0
mov edx, dword [ebp - 8]
push edx
push 8
push eax
call sub.kernel32.dll_VirtualProtect
inc edi
dec ebx
jne 0x490245
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4902c3
lea eax, [ebp - 4]
call fcn.00404c78
ret
Function at 0x493e0c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x493f40
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea ecx, [ebp - 4]
mov edx, edi
mov eax, esi
call fcn.00493c8c
cmp dword [ebp - 4], 0
je 0x493f1d
mov eax, dword [ebp - 4]
call fcn.00493d54
test al, al
je 0x493ef3
push 0x493f58
lea eax, [ebp - 0x5c]
call fcn.00493ad8
push dword [ebp - 0x5c]
push 0x493f70
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404918
lea eax, [ebp - 0x48]
mov edx, 0x44
call fcn.004075fc
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
mov edx, 0x10
call fcn.004075fc
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 4]
mov edx, 0x493f80
call fcn.004048a4
mov eax, dword [ebp - 0x60]
call fcn.00404a58
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x493ee4
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x493f1b
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x493f1b
push 1
push 0
push 0
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 4]
mov edx, 0x493f8c
call fcn.004048a4
mov eax, dword [ebp - 0x64]
call fcn.00404a58
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493f47
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004045a0
lea eax, [ebp - 4]
call fcn.0040457c
ret
Function at 0x402ed0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x402f31
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x402f14
cmp edi, 2
jb 0x402f14
cmp byte [esi], cl
jne 0x402f14
cmp byte [esi + 1], cl
jne 0x402f14
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43b618]
jmp 0x402ee5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x43b618]
test edi, edi
jne 0x402ee5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402f60
cmp cl, 0x23
jne 0x402f47
cmp byte [esi], cl
jne 0x402f47
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x43b618]
test cl, cl
jne 0x402f38
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403074
mov dword [ebx], 0
mov edx, 0x43b474
call fcn.00402f70
mov esi, eax
test esi, esi
je 0x403162
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403158
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403158
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x403158
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403158
mov eax, dword [0x443030]
test eax, eax
je 0x4030ec
inc dword [eax + 0x370]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x403158
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x40313d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x443030]
add esp, 4
test eax, eax
je 0x40312a
dec dword [eax + 0x370]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40314f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xcc]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43b618]
sub edi, 1
jne 0x404b50
mov eax, dword [0x443030]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bd4], edx
jne 0x404b81
mov dword [eax + 0x1bd8], edx
cmp dword [eax + 0x1c0c], edx
jne 0x404b90
mov byte [eax + 0x1c10], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x408fd0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40900d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x408ff3
cmp byte [esi], bl
jne 0x408ff3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x43b618]
test bl, bl
jne 0x408fe4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00408f70
Function at 0x40deb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x443030]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b9c]
mov esi, 4
mov eax, dword [edi + 0xc4]
add edi, 0xc4
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43b618]
sub esi, 1
jne 0x40dee2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x40df29
inc ecx
test esi, esi
je 0x40df17
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x40df1c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00414580
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2eec], 0
lea esi, [edi + 0x2ef0]
je 0x412f62
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x412f1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00414850
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403630
mov edx, dword [esi]
mov ecx, 0x44302c
push dword [edi + 0x2eec]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2ef8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret