joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1c323c0e
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xdd472db
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1004aa8c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005b7c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1003e869
mov dword [ebp - 0x14], eax
cmp dword [0x1005db24], esi
jne 0x1004ab7f
push 0x800
push esi
push 0x100596dc
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1004ab0c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x1004ac5f
push esi
push esi
push 0x100596dc
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1004ac5f
push 0x100596f4
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x1004ac5f
push eax
call ebx
push 0x10059700
push edi
mov dword [0x1005db24], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x10059710
push edi
mov dword [0x1005db28], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push 0x10059724
push edi
mov dword [0x1005db2c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x1005db34], eax
test eax, eax
je 0x1004ab7c
push 0x10059740
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x1005db30], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x1004aba4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004ab97
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1004abb9
push 4
pop eax
jmp 0x1004ac61
cmp dword [ebp - 0x14], esi
je 0x1004abb9
push dword [0x1005db24]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x1004ab9e
mov eax, dword [0x1005db30]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, edi
je 0x1004ac17
cmp dword [0x1005db34], edi
je 0x1004ac17
push eax
call ebx
push dword [0x1005db34]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1004ac17
test eax, eax
je 0x1004ac17
call ecx
test eax, eax
je 0x1004ac0c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1004ac0c
test byte [ebp - 8], 1
jne 0x1004ac17
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1004ac47
mov eax, dword [0x1005db28]
cmp eax, edi
je 0x1004ac44
push eax
call ebx
test eax, eax
je 0x1004ac44
call eax
mov esi, eax
test esi, esi
je 0x1004ac44
mov eax, dword [0x1005db2c]
cmp eax, edi
je 0x1004ac44
push eax
call ebx
test eax, eax
je 0x1004ac44
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1005db24]
call ebx
test eax, eax
je 0x1004ac5f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1004ac61
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10037cd4
mov esp, ebp
pop ebp
ret
Function at 0x404140
Capabilities:
Encode data using xor

Disassembly:
inc ecx
mov eax, dword [0x1c74d03b]
mov ebp, edi
mov eax, 0xa100411b
rcr byte [esi + 0xd], 0xb6
movsd dword es:[edi], dword [esi]
inc eax
mov dword [ecx], eax
mov eax, 0xa3004102
rol byte [edx], 0x41
add byte [ecx + 0x7302ac], ah
mov ecx, dword [0xd73dd0fc]
cmp eax, ecx
jge 0xeb40423a
mov ecx, dword [0x410bc8]
invalid
add byte [ecx + 0x4102970d], cl
add al, ch
mov ah, 0x28
add byte [eax], al
mov dword [ebp + 0x3ec4aa50], esp
mov ebx, eax
xor al, ah
add byte [eax], al
mov dword [ebx + 0x6154], edx
mov dword [esi], eax
mov ecx, dword [ebx - 0x3fff7cc]
mov dword [esi + 4], ecx
jne 0x4040f6
cmp byte [ebp], al
adc dword [ebx + 0x8307b], ecx
add byte [ebx - 0x72f7cb6d], cl
add byte [ebx], ch
enter 0xffffffffffff838b, 0x3c
or byte [eax], al
add byte [ebx], bl
ret 0xc73b

Function at 0x406780
Capabilities:
Encode data using xor

Disassembly:
push 7
push edi
push edx
fisttp word [eax + ecx - 0x17f3b177]
insd dword es:[edi], dx
out dx, eax
xchg esi, eax
add ah, cl
inc esi
adc al, 0x6a
inc esp
push edi
push eax
call 0xf340a1d0
adc al, 0xc4
sbb byte [eax - 0x6f3ca2a2], dl
nop
invalid
push ebp
mov ebp, esp
push ebx
push ebx
pop ebp
or al, 0x56
push edi
push 0x50
push ebx
call 0xff7d4a60
mov esp, dword [ecx + 0x2b]
mov esp, dword [ebx]
xor esp, dword [edx]
mov edx, edi
mov ecx, 0x190000bb
push 0x38
rep stosd dword es:[edi], eax
mov dword [esi], edx
mov dword [ebx], ecx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, 0xffe28579
dec dword [ebx - 0x743fcc08]
jne 0x406771
push cs
add byte [0x8babf300], bh
push es
push 0x38
mov dword [ecx - 0x74f17478], edi
push ecx
je 0x406754
sbb cl, byte [ebx + 0x51088b06]
call fcn.00404a60
mov bl, 0xf8
xor eax, eax
mov edx, edi
mov ecx, 0xfd00000e
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0
push ebx
loope 0x4067eb
mov dword [eax + 0x14], edx
inc ebp
push eax
adc al, 0x45
push cs
mov edx, dword [ecx - 3]
sbb cl, byte fs:[ebx - 0x33bf29fa]
inc esp
add byte [0x830e8b00], bh
ror dword [eax + 0x5d], 0xe8
or al, bh
dec dword [edi]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x6fd819c1
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1a3f248b
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10908e20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092be59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.Core.dll_public:_void___thiscall_FArchive::constructor_void_]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi], 0x10933efc
mov byte [ebp - 4], 1
mov ecx, 1
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], eax
mov byte [esi + 0x48], 0xac
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x109320e4
push 0x458
mov eax, dword [edx]
call eax
mov edi, eax
test edi, edi
je 0x10908ea9
push 0
push ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
push edi
call fcn.10908980
jmp 0x10908eab
xor eax, eax
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x10908eba
mov byte [ebp - 4], al
jmp 0x10908f78
mov ebx, 1
cmp dword [ebp + 0x10], 0x18
jbe 0x10908f65
xor edi, edi
mov dword [ebp - 0x14], edi
cmp edi, 0xb
jae 0x10908ef4
mov ecx, dword [esi + 0x3c]
push 2
lea edx, [ebp + 0xc]
push edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
mov ax, word [ebp + 0xc]
cmp ax, word [edi*2 + 0x109411a0]
jne 0x10908f65
add edi, ebx
jmp 0x10908ecb
test ebx, ebx
je 0x10908f65
mov ecx, dword [esi + 0x3c]
push 2
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
mov ecx, dword [esi + 0x3c]
push 2
lea eax, [ebp - 0x22]
push eax
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
mov ecx, dword [esi + 0x3c]
push 2
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
mov word [ebp - 0x1e], 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.Core.dll_int___cdecl_appAtoi_wchar_t_const__]
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0x1c
cmp eax, 0x6f
jne 0x10908f4d
mov byte [esi + 0x48], 0xac
jmp 0x10908f71
cmp eax, 0x79
jne 0x10908f5f
mov ebx, dword [ebp + 0x14]
call fcn.109246f0
mov byte [esi + 0x48], al
jmp 0x10908f71
mov byte [esi + 0x48], 0
jmp 0x10908f71
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push 0
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10914500
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x10914528
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esi + ecx*4]
sub edx, esi
mov esi, dword [edx + eax - 4]
xor dword [eax - 4], esi
sub eax, 4
sub ecx, 1
test ecx, ecx
jne 0x10914516
pop esi
ret

Function at 0x10917e7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1093faf0]
jne 0x10917e84
repz ret
jmp fcn.1091ce15

Function at 0x10918d60
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1093fd88]
je 0x10918d7b
inc edi
cmp edi, 0x17
jb 0x10918d6c
cmp edi, 0x17
jae 0x10918efb
push ebp
push 3
call fcn.1091ea22
cmp eax, 1
pop ecx
je 0x10918ec7
push 3
call fcn.1091ea22
test eax, eax
pop ecx
jne 0x10918daf
cmp dword [0x1093faec], 1
je 0x10918ec7
cmp ebx, 0xfc
je 0x10918efa
push 0x1092ee30
mov ebx, 0x314
push ebx
mov ebp, 0x10964230
push ebp
call fcn.1091e9bd
add esp, 0xc
test eax, eax
je 0x10918de5
push esi
push esi
push esi
push esi
push esi
call fcn.109198d9
add esp, 0x14
push 0x104
mov esi, 0x10964249
push esi
push 0
mov byte [0x1096434d], 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10918e29
push 0x1092ee18
push 0x2fb
push esi
call fcn.1091e9bd
add esp, 0xc
test eax, eax
je 0x10918e29
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.109198d9
add esp, 0x14
push esi
call fcn.10919dd0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10918e6e
push esi
call fcn.10919dd0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10964544
push 0x1092ee14
sub ecx, eax
push ecx
push eax
call fcn.1091e90a
add esp, 0x14
test eax, eax
je 0x10918e6e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.109198d9
add esp, 0x14
jmp 0x10918e70
xor esi, esi
push 0x1092ee10
push ebx
push ebp
call fcn.1091e899
add esp, 0xc
test eax, eax
je 0x10918e90
push esi
push esi
push esi
push esi
push esi
call fcn.109198d9
add esp, 0x14
push dword [edi*8 + 0x1093fd8c]
push ebx
push ebp
call fcn.1091e899
add esp, 0xc
test eax, eax
je 0x10918eb2
push esi
push esi
push esi
push esi
push esi
call fcn.109198d9
add esp, 0x14
push 0x12010
push 0x1092ede8
push ebp
call fcn.1091e6dc
add esp, 0xc
jmp 0x10918efa
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10918efa
cmp ebp, 0xffffffff
je 0x10918efa
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1093fd8c]
push dword [esi]
call fcn.10919dd0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.kernel32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1091e6dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10919013
xor ebx, ebx
cmp dword [0x10964b68], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1091e7b2
push 0x1092eff8
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1091e892
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x1092efec
push edi
call esi
cmp eax, ebx
je 0x1091e892
push eax
call fcn.10918fa5
mov dword [esp], 0x1092efdc
push edi
mov dword [0x10964b68], eax
call esi
push eax
call fcn.10918fa5
mov dword [esp], 0x1092efc8
push edi
mov dword [0x10964b6c], eax
call esi
push eax
call fcn.10918fa5
mov dword [0x10964b70], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1091ae28
test eax, eax
pop ecx
pop ecx
je 0x1091e780
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.109198d9
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1091e7b2
push 0x1092efac
push edi
call esi
push eax
call fcn.10918fa5
cmp eax, ebx
pop ecx
mov dword [0x10964b78], eax
je 0x1091e7b2
push 0x1092ef94
push edi
call esi
push eax
call fcn.10918fa5
pop ecx
mov dword [0x10964b74], eax
mov eax, dword [0x10964b74]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1091e837
cmp dword [0x10964b78], ecx
je 0x1091e837
push eax
call fcn.1091901c
push dword [0x10964b78]
mov esi, eax
call fcn.1091901c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1091e837
cmp edi, ebx
je 0x1091e837
call esi
cmp eax, ebx
je 0x1091e804
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1091e804
test byte [ebp - 0x18], 1
jne 0x1091e837
lea eax, [ebp - 0x10]
push eax
call fcn.1091ae5f
test eax, eax
pop ecx
je 0x1091e81f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.109198d9
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1091e82e
or dword [ebp + 0x10], 0x200000
jmp 0x1091e872
or dword [ebp + 0x10], 0x40000
jmp 0x1091e872
mov eax, dword [0x10964b6c]
cmp eax, dword [ebp - 8]
je 0x1091e872
push eax
call fcn.1091901c
cmp eax, ebx
pop ecx
je 0x1091e872
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1091e872
mov eax, dword [0x10964b70]
cmp eax, dword [ebp - 8]
je 0x1091e872
push eax
call fcn.1091901c
cmp eax, ebx
pop ecx
je 0x1091e872
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10964b68]
call fcn.1091901c
cmp eax, ebx
pop ecx
je 0x1091e892
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1091e894
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10920f86
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x10920fb3
call fcn.10919a47
mov dword [eax], esi
call fcn.10919a34
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.109199d5
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x10920f8f
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10920fe2
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10919a5a
pop ecx
call fcn.10919a34
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10921009
test al, 1
je 0x10921009
test byte [esp + 0xc], 2
je 0x10921009
call fcn.10919a47
mov dword [eax], 5
call fcn.10919a34
mov dword [eax], 0xd
jmp 0x10920fd9
xor eax, eax
pop esi
ret

Function at 0x10924750
Capabilities:
Get common file path

Disassembly:
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
sub esp, 0x300
cmp dword [eax], 0
push esi
mov esi, dword [sym.imp.Core.dll_wchar_t____cdecl_appStrcpy_wchar_t___wchar_t_const__]
push edi
jne 0x10924839
push 0xff
lea ecx, [esp + 0x10d]
push 0
push ecx
mov byte [esp + 0x114], 0
call fcn.10917e00
push 0xff
lea edx, [esp + 0x19]
push 0
push edx
mov byte [esp + 0x20], 0
call fcn.10917e00
push 0xff
lea eax, [esp + 0x225]
push 0
push eax
mov byte [esp + 0x22c], 0
call fcn.10917e00
add esp, 0x24
push 0x100
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x100
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0x100
lea eax, [esp + 0x20c]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.Core.dll_wchar_t_const____cdecl_appFromAnsi_char_const___wchar_t__]
lea ecx, [esp + 0x108]
push 0
push ecx
call edi
push eax
push 0x10964ce8
call esi
lea edx, [esp + 0x18]
push 0
push edx
call edi
push eax
push 0x10964ee8
call esi
lea eax, [esp + 0x228]
push 0
push eax
call edi
push eax
push 0x109650e8
call esi
add esp, 0x30
jmp 0x1092486b
push 0x100
push 0x10964ce8
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0x100
push 0x10964ee8
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0x100
push 0x109650e8
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_appStrlen_wchar_t_const__]
push 0x10930568
push 0x109650e8
call edi
lea ecx, [eax*2 + 0x109650e0]
add esp, 4
push ecx
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x109248b1
push 0x10930574
push 0x109650e8
call edi
lea edx, [eax*2 + 0x109650e0]
add esp, 4
push edx
call esi
add esp, 8
pop edi
pop esi
add esp, 0x300
ret
Function at 0x402b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4a3480]
xor eax, esp
mov dword [esp + 0x28], eax
mov dword [esp + 4], 0x4a
mov eax, dword [esp + 4]
xor al, 0x43
mov byte [esp + 8], al
mov eax, dword [esp + 4]
inc al
mov byte [esp + 0xa], 0
xor al, 0x3a
xor edx, edx
mov byte [esp + 9], al
mov al, byte [esp + 8]
push esi
nop
mov al, byte [esp + edx + 0xc]
mov ecx, dword [esp + 8]
add cl, dl
xor cl, al
mov byte [esp + edx + 0xc], cl
inc edx
cmp edx, 2
jb 0x402bd0
lea eax, [esp + 0x18]
mov byte [esp + 0xe], 0
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
call dword [0x4a540c]
test eax, eax
jne 0x402c6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov esi, eax
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
push str.GetDiskFreeSpaceEx_failed._Error_code:__lu_n
call fcn.00401b70
push dword [esp + 0x10]
push str.Error_message:__s_n
call fcn.00401b70
add esp, 0x10
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0045b917
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
shrd eax, ecx, 0x1e
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.0045b917
mov esp, ebp
pop ebp
ret