joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9f20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4da544]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a9fe3
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a9fe3
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4a9f87
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a9f70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x4a9f8e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x4a9fd3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x4da544]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x4d9518]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4a9fe3
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x4de014
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ab270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x532804]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x54]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x4ab2df
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x4e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
shr ecx, 2
test bl, cl
je 0x4ab31f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [edi + 4]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push edi
movzx eax, ax
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push dword [edi + 0x28]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
jbe 0x4ab34e
or byte [edi + 0x58], 2
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aeb30
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa181f13
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7b56177f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100014e2
Capabilities:
Terminate process

Disassembly:
jmp 0x10018e40
call fcn.10001cda
test al, al
je 0x10018e8b
push esi
push str.Its_VM_Machine_detected_
push 0x101e9418
call fcn.100018c0
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.100020ae
mov ecx, esi
call fcn.100018e8
push 0x40
push str.Victus_R___Blocked_VMWare
push str.Virtual_machines_are_not_allowed_to_play_on_this_server
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x100017da
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1000fed0
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [ebp + 0x4c]
cmp esi, dword [ebp + 0x50]
push edi
lea edi, [ebp + 0x48]
mov ebx, ecx
jbe 0x1000fef0
call fcn.10113488
lea ecx, [ecx]
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x44], eax
jbe 0x1000ff01
call fcn.10113488
cmp edi, edi
je 0x1000ff0a
call fcn.10113488
cmp esi, dword [esp + 0x44]
je 0x1000fff1
cmp esi, dword [edi + 8]
fld dword [0x1019ca0c]
fstp dword [esp + 0x20]
jb 0x1000ff28
call fcn.10113488
cmp esi, dword [edi + 8]
fld dword [esi + 0x28]
fstp dword [esp + 0x1c]
jb 0x1000ff39
call fcn.10113488
cmp esi, dword [edi + 8]
fld dword [esi + 0x2c]
fstp dword [esp + 0x24]
fld dword [0x1019ca0c]
fstp dword [esp + 0x14]
jb 0x1000ff54
call fcn.10113488
cmp esi, dword [edi + 8]
fld dword [esi + 0x30]
fstp dword [esp + 0x10]
jb 0x1000ff65
call fcn.10113488
fld dword [esi + 0x34]
mov eax, dword [ebx + 0xc]
fstp dword [esp + 0x18]
push ebp
fld dword [esp + 0x14]
push eax
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x2c]
push ecx
fstp dword [esp + 0x3c]
lea edx, [esp + 0x28]
fld dword [esp + 0x28]
push edx
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x4c]
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.10001357
mov eax, dword [ebx + 0xc]
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.10001357
add esp, 0x40
cmp esi, dword [edi + 8]
jb 0x1000ffe9
call fcn.10113488
add esi, 0x78
jmp 0x1000fef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4

Function at 0x10001cda
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x100181a0
push ecx
lea eax, [esp]
push eax
push 0x20019
push 0
push str.HARDWAREACPIDSDTVBOX__
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100181ce
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop ecx
ret
push str.C:WINDOWS_system32driversVBoxMouse.sys
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
pop ecx
ret
Function at 0x10013700
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x40
push esi
push edi
push ebx
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10013732
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001374b
xor ebp, ebp
cmp dword [esp + 0xc], esi
je 0x10013753
xor ebp, ebp
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1001376c
xor ebp, ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1001377b
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1001f1e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10194281
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x101ddf78]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.100023f1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.1001ec50
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.100023f1
mov eax, dword [esp + 0x28]
cmp eax, 8
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
jb 0x1001f28c
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, 0x4052d0
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10023fc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101ddf78]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002400b
push str.Failed_to_unprotect_memory_n
jmp 0x10024030
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x10024038
push str.Failed_to_restore_protection_on_memory
call fcn.10115689
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.101139c9
add esp, 0x14
ret 8
Function at 0x1002e9c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101ddf78]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002ea0b
push str.Failed_to_unprotect_memory_n
jmp 0x1002ea30
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x1002ea38
push str.Failed_to_restore_protection_on_memory
call fcn.10115689
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.101139c9
add esp, 0x14
ret

Function at 0x1002ea50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x1002ea8b
push str.Failed_to_unprotect_memory_n
call fcn.10115689
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002eab6
push str.Failed_to_restore_protection_on_memory
call fcn.10115689
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002eac0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002eaf2
push str.Failed_to_unprotect_memory_n
call fcn.10115689
add esp, 4
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002eb18
push str.Failed_to_restore_protection_on_memory
call fcn.10115689
add esp, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x1002eb60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002eb88
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
push esi
push 0x90
push edi
call fcn.10114870
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x100383a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
push esi
push edi
call fcn.1003b760
mov ecx, dword [0x101e25d8]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov dword [esp + 8], edx
fild dword [esp + 8]
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fild dword [esp + 0xc]
mov dword [esi + 8], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0xc]
sub ecx, dword [0x101e25e0]
mov edx, dword [esp + 0x10]
sbb edx, dword [0x101e25e4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
fild qword [esp + 0x14]
fild qword [0x101e25e8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
fdivp st(1)
fstp dword [esi + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x101e25e0], eax
mov dword [0x101e25e4], ecx
call edi
push 0x10
shr eax, 0xf
and al, 1
mov byte [esi + 0x100], al
call edi
push 0x12
shr eax, 0xf
and al, 1
mov byte [esi + 0x101], al
call edi
mov byte [esi + 0x103], 0
shr eax, 0xf
and al, 1
mov byte [esi + 0x102], al
call fcn.100382c0
cmp byte [esi + 0xb4], 0
pop edi
pop esi
je 0x1003848c
or eax, 0xffffffff
jmp 0x10038491
call fcn.1003bf70
cmp dword [0x101d49a0], eax
je 0x100384a3
mov dword [0x101d49a0], eax
call fcn.100381a0
add esp, 0x24
ret

Function at 0x1003a0f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x101e2604], 0
jne 0x1003a19c
xor edx, edx
nop
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x101e2600], ecx
add edx, 1
cmp edx, 0x100
jl 0x1003a100
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003a1d8
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101e2600]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003a1b2
pop edi
not eax
pop esi
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003a211
cmp cl, 0x23
jne 0x1003a1f1
cmp byte [edx], cl
jne 0x1003a1f1
cmp byte [edx + 1], cl
jne 0x1003a1f1
mov eax, esi
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov cl, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x101e2600]
add edx, 1
test cl, cl
jne 0x1003a1e1
pop edi
not eax
pop esi
ret
Function at 0x10045720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101957fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101ddf78]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
fldz
fst dword [esi + 0x18]
mov dword [esi], ebx
fst dword [esi + 0x14]
mov dword [esi + 4], ebx
fst dword [esi + 0x20]
mov byte [esi + 8], bl
fst dword [esi + 0x1c]
mov byte [esi + 9], bl
fst dword [esi + 0x24]
mov dword [esi + 0xc], ebx
fstp dword [esi + 0x28]
mov dword [esi + 0x10], 1
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x1004579a
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.1003b620
add esp, 4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x10045a70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10045a7e
mov dword [eax], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push edi
push eax
push ecx
call fcn.10045990
mov edi, eax
add esp, 8
test edi, edi
jne 0x10045a99
pop edi
ret
push esi
push 2
push 0
push edi
call fcn.1011782f
add esp, 0xc
test eax, eax
jne 0x10045b4f
push edi
call fcn.1011773a
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x10045b4f
push 0
push 0
push edi
call fcn.1011782f
add esp, 0xc
test eax, eax
jne 0x10045b4f
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea edx, [esi + ebp]
push edx
call fcn.1003b5f0
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x10045afc
call fcn.10117526
add esp, 4
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
push esi
push 1
push ebx
call fcn.10117498
add esp, 0x10
cmp eax, esi
je 0x10045b22
push edi
call fcn.10117526
push ebx
call fcn.1003b620
add esp, 8
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
test ebp, ebp
jle 0x10045b35
push ebp
lea eax, [ebx + esi]
push 0
push eax
call fcn.10114870
add esp, 0xc
push edi
call fcn.10117526
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x10045b48
mov dword [eax], esi
pop ebp
mov eax, ebx
pop ebx
pop esi
pop edi
ret
push edi
call fcn.10117526
add esp, 4
pop esi
xor eax, eax
pop edi
ret
Function at 0x1004dd00
Capabilities:
Write file on windows

Disassembly:
fldz
mov eax, dword [0x101e25f0]
push esi
fstp dword [eax + 0x2c24]
mov esi, dword [esp + 8]
test esi, esi
je 0x1004dd57
lea ecx, [esp + 8]
push edi
push ecx
mov dword [esp + 0x10], 0
call fcn.10049440
push 0x101a0d7c
push esi
mov edi, eax
call fcn.10045990
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1004dd56
mov edx, dword [esp + 0xc]
push esi
push edx
push 1
push edi
call fcn.10117da4
push esi
call fcn.10117526
add esp, 0x14
pop edi
pop esi
ret
Function at 0x100753b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebp
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
mov ebx, ebp
movzx ecx, di
shr edi, 0x10
sub ebx, edx
test ebp, ebp
je 0x10075486
mov edi, edi
xor edx, edx
cmp ebx, 7
jbe 0x1007543c
mov eax, 7
lea esp, [esp]
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
add eax, 8
add edi, ecx
add esi, 8
add edx, 8
cmp eax, ebx
jb 0x100753f0
cmp edx, ebx
jae 0x10075453
mov eax, ebx
sub eax, edx
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x10075444
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
sub dword [esp + 0x14], ebx
mov ebx, 0x15b0
jne 0x100753e0
mov eax, edi
pop edi
pop esi
shl eax, 0x10
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x1007ad60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10195df1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101ddf78]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
fldz
xor eax, eax
fst dword [esi + 0xc]
fst dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
fld1
fstp dword [esi + 4]
mov byte [esp + 0x1c], 2
mov word [esi + 0x3c], 0x3f
fst dword [esp + 0xc]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100775b0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x1007ae00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10195e31
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101ddf78]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.100775b0
mov eax, dword [esi + 0x30]
test eax, eax
mov byte [esp + 0x14], 1
je 0x1007ae4a
push eax
call fcn.1003b620
add esp, 4
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esp + 0x14], 0
je 0x1007ae5f
push eax
call fcn.1003b620
add esp, 4
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x1007ae77
push esi
call fcn.1003b620
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret