joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448d7c
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 0x448d98
cmp dword [esi + 4], 0
je 0x448dc5
test byte [ebx + 0x55], 1
jne 0x448db7
mov eax, ebx
call fcn.004479d4
test eax, eax
jne 0x448db7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x448ed5
mov edx, esi
mov eax, ebx
call fcn.0044889c
jmp 0x448ed5
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 0x448ece
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ab4c
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.00445680
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00448d7c
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.0044ab4c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448ed5
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 0x44f3b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4ad6ac]
cmp byte [eax + 0xc], 0
je 0x44f525
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f51e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aebf0], 0
jne 0x44f40c
push 0x44f52c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44f534
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf0], eax
cmp dword [0x4abc8c], 0
jne 0x44f507
push 0x44f544
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4abc8c], eax
cmp dword [0x4abc8c], 0
je 0x44f507
push 0x44f550
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf4], eax
push 0x44f560
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebf8], eax
push 0x44f574
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aebfc], eax
push 0x44f58c
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec00], eax
push 0x44f5a4
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec04], eax
push 0x44f5b8
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec08], eax
push 0x44f5d0
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec0c], eax
push 0x44f5e8
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec10], eax
push 0x44f604
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec14], eax
push 0x44f610
mov eax, dword [0x4abc8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aec18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f525
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x453154
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.00404b04
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4531a3
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.00404d6c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45afe4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b034]
test si, 4
je 0x45aff8
or bl, 1
test si, 8
je 0x45b002
or bl, 4
test si, 1
je 0x45b00c
or bl, 8
test si, 2
je 0x45b016
or bl, 0x10
test si, 0x10
je 0x45b020
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b02f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45b038
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b070]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b051
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b060
or bl, 4
test esi, 0x20000000
je 0x45b06b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461674
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x461686
add esp, 0xfffffff0
call fcn.004040fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421d88
mov eax, dword [0x4ad198]
mov dword [eax + 4], ebx
mov dword [eax], 0x461a18
mov eax, dword [0x4ad1ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x461a24
mov eax, ebx
call fcn.00461a30
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
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, 0x45def8
push eax
push 0
push 0
mov eax, dword [0x4ad3c4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.004254ac
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.004254ac
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423dd8]
call fcn.004254ac
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461e50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d2c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d2c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461d2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4617c3
call fcn.00404154
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461b10
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 0x461cbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461c9c
mov dl, 1
mov eax, dword [0x417b90]
call fcn.00403d68
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b04
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461c8b
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.0044f718
test al, al
je 0x461c7e
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, 0x461ccc
lea eax, [ebp - 0x254]
call fcn.0040af5c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461c7e
xor eax, eax
push ebp
push 0x461c77
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 0x461d04
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461c60
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
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 0x461c60
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461c7e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461b81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c38c
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 0x461cc2
lea eax, [ebp - 0x260]
call fcn.00404b04
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aec34]
cmp byte [eax + 0xa5], 0
jne 0x462661
cmp dword [0x4aec4c], 0
jne 0x462622
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4625ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aec4c], eax
cmp dword [0x4aec48], 0
jne 0x46263d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aec48], eax
cmp dword [0x4aec50], 0
jne 0x462661
push esp
push 0
push 0
push 0x462550
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4aec50], eax
pop edx
ret
Function at 0x462758
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46276f
add esp, 0xfffffff0
call fcn.004040fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421d88
mov eax, dword [0x4ad3b4]
cmp word [eax + 2], 0
jne 0x462797
mov eax, dword [0x4ad3b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463e34
mov eax, dword [0x4ad494]
cmp word [eax + 2], 0
jne 0x4627b1
mov eax, dword [0x4ad494]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046402c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41752c]
call fcn.00403d68
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x424858]
call fcn.0042bd24
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x462938
mov eax, dword [0x4ad238]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c0f4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4645ac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ad238]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ee3c
test eax, eax
je 0x4628a6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a888
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ee64
test eax, eax
je 0x4628ba
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
mov eax, dword [0x4ad064]
cmp byte [eax], 0
jne 0x4628ee
mov eax, ebx
call fcn.00462a60
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00464788
mov eax, ebx
call fcn.004650c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46292e
call fcn.00404154
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462cd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4aec34]
cmp dword [eax + 0x30], 0
je 0x462d7e
cmp dword [ebx + 0x94], 0
jne 0x462d78
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462c64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462d78
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 0x462d3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462d78
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.00419e7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462d4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46385c
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 0x463891
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.00404bf4
jmp 0x46389e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b58
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464964
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4649a5
mov eax, esi
call fcn.0044ae50
test al, al
je 0x4649a5
mov eax, dword [ebx + 0x84]
call fcn.0044ab4c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4649a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ab4c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48bdc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4acd9a
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48be1b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4acdbb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48be11
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48be1f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x49e4e4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0044ae50
test al, al
je 0x49e53f
cmp bl, 7
jne 0x49e51b
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x49e520
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
test eax, eax
je 0x49e53f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
mov edx, edi
call fcn.0042cc14
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a645c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a6516
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a6200
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
shr eax, 0xa
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x24]
mov eax, 0x4a652c
call fcn.0040bad0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x304]
call fcn.004444fc
mov eax, dword [ebp - 0x14]
shr eax, 0xa
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x30]
mov eax, 0x4a6540
call fcn.0040bad0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x310]
call fcn.004444fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a651d
lea eax, [ebp - 0x30]
call fcn.00404b04
lea eax, [ebp - 0x24]
call fcn.00404b04
ret
Function at 0x10002e80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x10002e8f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x10002f77
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x10129370]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x10002ea0
pop ebp
test edi, edi
je 0x10002f9c
jmp 0x10002f80
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x10129370]
add ecx, 1
sub edi, 1
jne 0x10002f80
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x10002fb0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x10129370]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x10129370]
mov dword [edx + 8], ecx
ret

Function at 0x10003000
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
xor al, bl
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x10129370]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x10129370]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x10003710
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x10003742
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10003738
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x10003755
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.10024b20
add dword [edi + 0x1c], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret
Function at 0x10003770
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x100037a3
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000379d
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x100037cf
mov eax, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x100037b5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x14]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.10024b20
add esp, 0xc
add ebx, edi
mov dword [esi + 0x1c], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x100037e6
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x100037e0
cmp byte [esi + 8], 0
je 0x100037e0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x100038d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x10003915
cmp byte [esi + 1], 0
je 0x1000391d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x10003932
cmp byte [esi + 1], 0
je 0x10003924
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x1000393b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x100038ee
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x1000393b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
cmp ebp, edi
mov dword [esp + 0xc], edi
jae 0x1000394f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.1001d944
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000396d
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
cmp edi, eax
mov dword [esp + 0x18], 0xffffffff
jbe 0x10003a83
jmp 0x10003990
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
cmp eax, edi
mov dword [esp + 0x14], edi
ja 0x100039a1
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
cmp ebp, 0x404
mov dword [esp + 0x20], eax
jbe 0x100039ba
mov ebp, 0x404
cmp byte [esi], 0
je 0x100039df
cmp byte [esi + 1], 0
je 0x10003a83
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x100039e2
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x10003a0a
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10003a04
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x10003a30
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x10003a1b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.10024b20
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x10003a83
lea eax, [ebp - 3]
test eax, eax
jl 0x10003a6e
sub eax, 1
cmp byte [eax + ebx], 0x50
jne 0x10003a5e
cmp byte [eax + ebx + 1], 0x4b
jne 0x10003a5e
cmp byte [eax + ebx + 2], 5
jne 0x10003a5e
cmp byte [eax + ebx + 3], 6
je 0x10003a64
test eax, eax
jge 0x10003a40
jmp 0x10003a6e
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x10003a83
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x10003984
push ebx
call fcn.1001d70a
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret