joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439128
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450134]
cmp byte [eax + 0xc], 0
je 0x439295
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43928e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x43917c
push 0x43929c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4392a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb1c], 0
jne 0x439277
push 0x4392b4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb1c], eax
cmp dword [0x44fb1c], 0
je 0x439277
push 0x4392c0
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x4392d0
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x4392e4
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x4392fc
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x439314
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x439328
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x439340
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x439358
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x439374
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x439380
mov eax, dword [0x44fb1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439295
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43d120
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43d16f
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4448ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4448fc]
test si, 4
je 0x4448c0
or bl, 1
test si, 8
je 0x4448ca
or bl, 4
test si, 1
je 0x4448d4
or bl, 8
test si, 2
je 0x4448de
or bl, 0x10
test si, 0x10
je 0x4448e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4448f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x444900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444938]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444919
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444928
or bl, 4
test esi, 0x20000000
je 0x444933
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44afe0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44aff2
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f18
mov eax, dword [0x44fe10]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b384
mov eax, dword [0x44fe1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44b390
mov eax, ebx
call fcn.0044b39c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
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, 0x4477b8
push eax
push 0
push 0
mov eax, dword [0x44ff5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a93c]
call fcn.0041bd80
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a93c]
call fcn.0041bd80
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a93c]
call fcn.0041bd80
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044b7bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b698
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b698
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b12f
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b47c
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 0x44b627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44b608
mov dl, 1
mov eax, dword [0x41162c]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b5f7
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.00439488
test al, al
je 0x44b5ea
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, 0x44b638
lea eax, [ebp - 0x254]
call fcn.00408778
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b5ea
xor eax, eax
push ebp
push 0x44b5e3
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 0x44b670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b5cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x44b5cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b5ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b4ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415108
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 0x44b62e
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44bfcd
cmp dword [0x451bc8], 0
jne 0x44bf8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44bf18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44bfa9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44bfcd
push esp
push 0
push 0
push 0x44bebc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44c0c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c0db
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f18
mov eax, dword [0x44ff48]
cmp word [eax + 2], 0
jne 0x44c103
mov eax, dword [0x44ff48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d79c
mov eax, dword [0x44fff0]
cmp word [eax + 2], 0
jne 0x44c11d
mov eax, dword [0x44fff0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044d994
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411210]
call fcn.004030a8
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], 0xff000018
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 [0x41b0ec]
call fcn.00420d6c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44c2a4
mov eax, dword [0x44fe70]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042113c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44df34
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe70]
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.0040bdb4
test eax, eax
je 0x44c212
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040816c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bddc
test eax, eax
je 0x44c226
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.00404080
mov eax, dword [0x44fd74]
cmp byte [eax], 0
jne 0x44c25a
mov eax, ebx
call fcn.0044c3cc
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.0044e110
mov eax, ebx
call fcn.0044ead4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c29a
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c64c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44c6f6
cmp dword [ebx + 0x94], 0
jne 0x44c6f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c5dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c6f0
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 0x44c6b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c6f0
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.00413578
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c6c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d258
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 0x44d28d
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.00403f00
jmp 0x44d29a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e2ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e32d
mov eax, esi
call fcn.00434c90
test al, al
je 0x44e32d
mov eax, dword [ebx + 0x84]
call fcn.0043498c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e32d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043498c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x302621da
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x30277b2a
call fcn.302773fc
push ebx
mov ebx, dword [ebp + 8]
push esi
xor eax, eax
mov dword [ebx + 8], eax
push edi
mov dword [ebx], 0x3027ada8
mov dword [ebx + 4], 0x3027ada0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
push 4
pop edx
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 0x1e
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x18], 0x3027ac9c
mov dword [ebp - 4], eax
mov dword [ebx + 0x34], eax
or esi, 0xffffffff
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edx
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], esi
lea ecx, [ebx + 0x84]
mov dword [ebx + 0x80], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
push 0x2b
lea edi, [ebx + 0x9c]
pop esi
mov byte [ebp - 4], dl
call fcn.3026c6a0
mov ecx, dword [ebp - 0xc]
mov dword [edi], 0x3027ad90
and dword [ebx + 0xb4], 0
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x30266f91
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 2
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
and eax, 0x80008000
neg eax
sbb eax, eax
neg eax
leave
ret 8
Function at 0x3026a402
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esp + 8], 2
push ebx
push esi
push edi
jl 0x3026a621
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jg 0x3026a621
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bCanCompareEx
push edi
call esi
test eax, eax
mov dword [0x3028038c], eax
je 0x3026a621
push str.wAjouteEx
push edi
call esi
test eax, eax
mov dword [0x30280388], eax
je 0x3026a621
push str.wSoustraitEx
push edi
call esi
test eax, eax
mov dword [0x30280380], eax
je 0x3026a621
push str.wMultiplieEx
push edi
call esi
test eax, eax
mov dword [0x30280384], eax
je 0x3026a621
push str.wDiviseEx
push edi
call esi
test eax, eax
mov dword [0x3028037c], eax
je 0x3026a621
push str.wModuloEx
push edi
call esi
test eax, eax
mov dword [0x30280378], eax
je 0x3026a621
push str.nComparaisonEx
push edi
call esi
test eax, eax
mov dword [0x30280374], eax
je 0x3026a621
push str.nEgaliteEx
push edi
call esi
test eax, eax
mov dword [0x30280370], eax
je 0x3026a621
push str.nSuperieurEx
push edi
call esi
test eax, eax
mov dword [0x3028036c], eax
je 0x3026a621
push str.nInferieurEx
push edi
call esi
test eax, eax
mov dword [0x30280368], eax
je 0x3026a621
push str.nPresqueEgalEx
push edi
call esi
test eax, eax
mov dword [0x30280364], eax
je 0x3026a621
push str.nSoupleEgalEx
push edi
call esi
test eax, eax
mov dword [0x30280360], eax
je 0x3026a621
push str.nCommencePar
push edi
call esi
test eax, eax
mov dword [0x3028035c], eax
je 0x3026a621
push str.nCommenceParSoupleEx
push edi
call esi
test eax, eax
mov dword [0x30280358], eax
je 0x3026a621
push str.nCommenceParTresSoupleEx
push edi
call esi
test eax, eax
mov dword [0x30280354], eax
je 0x3026a621
push str.nETLogiqueEx
push edi
call esi
test eax, eax
mov dword [0x30280338], eax
je 0x3026a621
push str.nOULogiqueEx
push edi
call esi
test eax, eax
mov dword [0x30280334], eax
je 0x3026a621
push str.nNONLogiqueEx
push edi
call esi
test eax, eax
mov dword [0x30280330], eax
je 0x3026a621
push str.nNegationEx
push edi
call esi
test eax, eax
mov dword [0x30280350], eax
je 0x3026a621
push str.nAdditionEx
push edi
call esi
test eax, eax
mov dword [0x3028034c], eax
je 0x3026a621
push str.nSoustractionEx
push edi
call esi
test eax, eax
mov dword [0x30280348], eax
je 0x3026a621
push str.nMultiplicationEx
push edi
call esi
test eax, eax
mov dword [0x30280344], eax
je 0x3026a621
push str.nDivisionEx
push edi
call esi
test eax, eax
mov dword [0x30280340], eax
je 0x3026a621
push 0x3027b7b4
push edi
call esi
test eax, eax
mov dword [0x3028033c], eax
je 0x3026a621
mov eax, dword [esp + 0x14]
mov dword [0x3028059c], eax
xor eax, eax
mov dword [0x30280598], edi
mov dword [0x302805a0], ebx
inc eax
jmp 0x3026a623
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x3026c034
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp word [esi], ax
je 0x3026c1be
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call edi
push 0xffffffffffffffff
push esi
push 0x105
lea ebx, [ebp - 0x220]
mov dword [ebp - 8], eax
call fcn.302740e7
mov esi, ebx
call fcn.3026c1ef
mov esi, dword [sym.imp.MSVCRT.dll_wcschr]
lea eax, [ebp - 0x21e]
push 0x5c
push eax
call esi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x3026c135
lea eax, [ebp - 0x220]
cmp ebx, eax
jbe 0x3026c0b4
cmp word [ebx - 2], 0x3a
je 0x3026c125
lea eax, [ebp - 0x21e]
cmp ebx, eax
jne 0x3026c131
cmp word [ebp - 0x220], 0x5c
jne 0x3026c131
push 0x5c
add ebx, 2
push ebx
call esi
test eax, eax
pop ecx
pop ecx
je 0x3026c16a
push 0x5c
add eax, 2
push eax
jmp 0x3026c12b
and word [ebx], 0
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.3026c011
test eax, eax
pop ecx
pop ecx
jne 0x3026c120
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x3026c120
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x3026c1c1
mov word [ebx], 0x5c
add ebx, 2
push 0x5c
push ebx
call esi
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x3026c0e2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x3026c163
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x3026c16a
push 0
push dword [ebp + 8]
call fcn.3026c236
test eax, eax
pop ecx
pop ecx
je 0x3026c16a
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [ebp + 0xc]
push dword [ebp - 4]
mov eax, ebx
call fcn.3026bd7d
test eax, eax
pop ecx
je 0x3026c1b9
push 1
mov edi, 0x3027a340
mov esi, ebx
call fcn.30275425
push dword [ebp + 8]
mov ecx, edi
push 0x6dde
call fcn.3027563a
pop ecx
pop ecx
push dword [ebp + 8]
push 1
call fcn.3027589c
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
lea eax, [ebp - 0x220]
mov dword [ebp + 8], eax
jmp 0x3026c16a
Function at 0x3026c264
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov esi, eax
call edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp dword [ebx], 0xffffffff
setne al
push eax
mov eax, esi
call fcn.3026bd7d
test eax, eax
pop ecx
je 0x3026c2e4
push 1
mov edi, 0x3027a340
call fcn.30275425
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebx]
mov ebx, esi
push 0x6de2
call fcn.3027563a
add esp, 0xc
push dword [ebp + 0xc]
push 1
call fcn.3027589c
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx], 0xffffffff
pop edi
pop esi
setne al
pop ebx
leave
ret

Function at 0x3026c44a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
lea ebx, [ebp - 0x210]
push 0x105
call fcn.302740e7
add esp, 0xc
mov edi, ebx
call fcn.3027408e
mov esi, ebx
call fcn.3026c1cc
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
mov edi, eax
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [ebp - 4], eax
call esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0xf94a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0xfbb010]
push edi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x54a02c9
nop
push eax
call 0x76ed5da0
nop
mov ebx, eax
push 0xfc49e8
mov dword [ebp - 4], ebx
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
mov byte [ebx + edi], 0
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0xf94b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x768b97f0
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0xfc49e8
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0xf94b06
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
push 0xfc49e8
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x54a02cf
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xf96ef0
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0xf96f91
mov eax, dword [ebx]
push 0x40
push eax
push esi
nop
call 0x768b8cf0
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0xf96fc0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0xf96fc0
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0xf96f91
mov ecx, dword [ebx]
push edi
push pe_nt_image_headers32
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x768b8cf0
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0xf96fc0
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0xf96fc0
movzx eax, word [esi + 0x46]
test ax, ax
je 0xf96fc0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.011c90f4]
push eax
call dword [fcn.011c9088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0xf96f97
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00f97590
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret