joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10028a3c
mov eax, dword [0x100aeea8]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10028a26
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10028a76
mov eax, dword [0x100aeea8]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10028a60
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10028ab0
mov eax, dword [0x100aeea8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10028a9a
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10028b06
mov eax, dword [0x100aeea8]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10028af0
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10028b40
mov eax, dword [0x100aeea8]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10028b2a
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10028b7a
mov eax, dword [0x100aeea8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10028b64
dec dword [eax + 0xac]
push dword [0x100aeea0]
push ecx
call fcn.100064e0
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1002b5e0
Function at 0x10032130
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [0x100aeea8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2edc], 0
je 0x100321b2
cmp byte [eax + 0x3fa8], 0
jne 0x100321b2
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x100321b2
cmp dword [0x100aeea8], 0
jne 0x1003217d
push 0x1090
push str.c:coding_sourcespathstudypathstudyimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006b2f4
add esp, 0xc
mov esi, dword [0x100aeea8]
cmp byte [esi + 0x3769], 0
je 0x1003219e
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10006b10
mov dword [esi + 0x338], 0x210
mov dword [esi + 0x8f8], 0xa0
mov eax, dword [0x100aeea8]
cmp byte [eax + 0x2f1c], 0
je 0x1003222c
cmp byte [eax + 0x3fd8], 0
jne 0x1003222c
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1003222c
cmp dword [0x100aeea8], 0
jne 0x100321f7
push 0x1090
push str.c:coding_sourcespathstudypathstudyimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006b2f4
add esp, 0xc
mov esi, dword [0x100aeea8]
cmp byte [esi + 0x3769], 0
je 0x10032218
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10006b10
mov dword [esi + 0x33c], 0x214
mov dword [esi + 0x908], 0xa1
mov eax, dword [0x100aeea8]
cmp byte [eax + 0x2efc], 0
je 0x100322a3
cmp byte [eax + 0x3fc0], 0
jne 0x100322a3
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x100322a3
cmp dword [0x100aeea8], 0
jne 0x1003226e
push 0x1090
push str.c:coding_sourcespathstudypathstudyimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006b2f4
add esp, 0xc
mov esi, dword [0x100aeea8]
cmp byte [esi + 0x3769], 0
je 0x1003228f
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10006b10
mov dword [esi + 0x224], 0x212
mov dword [esi + 0x900], 0x5b
mov eax, dword [0x100aeea8]
cmp byte [eax + 0x2f3c], 0
je 0x1003231b
cmp byte [eax + 0x3ff0], 0
jne 0x1003231b
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1003231b
mov esi, dword [0x100aeea8]
test esi, esi
jne 0x100322ec
push 0x1090
push str.c:coding_sourcespathstudypathstudyimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.1006b2f4
mov esi, dword [0x100aeea8]
add esp, 0xc
cmp byte [esi + 0x3769], 0
je 0x10032307
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10006b10
mov dword [esi + 0x228], 0x216
mov dword [esi + 0x910], 0x5c
pop edi
pop esi
ret
Function at 0x10041b70
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
je 0x10041be0
mov cl, byte [edx]
lea esi, [edx + 1]
or eax, 0xffffffff
test cl, cl
je 0x10041bb8
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x10041b9f
cmp byte [esi], cl
jne 0x10041b9f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x100996f0]
test cl, cl
jne 0x10041b90
mov ecx, dword [0x100aeea8]
not eax
cmp dword [ecx + 0x3ea4], eax
jne 0x10041bce
mov dword [ecx + 0x3ea8], eax
cmp dword [ecx + 0x3ecc], eax
jne 0x10041bf2
mov byte [ecx + 0x3ed0], 1
pop edi
pop esi
ret
mov eax, dword [0x100aeea8]
push ecx
push edx
mov ecx, dword [eax + 0x3e58]
call fcn.1000a520
pop edi
pop esi
ret

Function at 0x1004b920
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
cmp byte [ebp + 0xc], 0
mov eax, ecx
push edi
mov edi, edx
mov dword [ebp - 4], eax
cmovne esi, edi
test esi, esi
jne 0x1004b949
mov byte [ebp - 8], 0
jmp 0x1004b969
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov eax, dword [ebp - 4]
setne byte [ebp - 8]
push edi
push eax
push dword [ebp + 8]
call fcn.1005de90
add esp, 0xc
cmp byte [ebp - 8], 0
je 0x1004b993
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004b9a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], ecx
cmp byte [ebp + 0xc], 0
mov eax, edx
push edi
cmovne esi, eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x18], edi
test esi, esi
jne 0x1004b9c7
xor bl, bl
jmp 0x1004b9ec
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
setne bl
push eax
push dword [ebp + 8]
mov byte [ebp - 0xc], bl
push ecx
call fcn.1005de90
add esp, 0xc
test bl, bl
je 0x1004ba15
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004ba20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push eax
push 0x40
push 1
push esi
mov edi, ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x1004ba6a
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp bl, 0xe8
jb 0x1004bb08
cmp bl, 0xe9
jbe 0x1004bae7
cmp bl, 0xff
jne 0x1004bb08
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
inc eax
mov dword [ecx], eax
call fcn.1004cca0
add esp, 4
cmp al, 0x15
je 0x1004ba9a
cmp al, 0x25
jne 0x1004bb08
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 2
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call ebx
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x1004bada
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call ebx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push ecx
mov eax, esp
inc esi
mov dword [eax], esi
call fcn.1004cc50
add eax, 4
add esp, 4
add eax, esi
mov dword [edi], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov edx, esp
mov dword [ebp - 4], ecx
mov dword [edx], eax
call fcn.1004ba20
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe8
cmp byte [ebp - 0xc], 0
je 0x1004bb7c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
cmp byte [ebp - 0xc], 0
je 0x1004bbbe
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004bf60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100ab00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x38]
mov word [0x100af2b8], 0
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_ef07fd04f6493c5bf0bdff52fe9a4f35___void___.0
mov dword [ebp - 0x34], 0x100af2b8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100ae380]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100afac4]
cmp eax, dword [esi + 4]
jle 0x1004bfd3
call fcn.1004c600
mov ecx, eax
jmp 0x1004bfd8
mov ecx, 0x100afaf0
push ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ecx + 0xc]
push eax
call fcn.1004ca00
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1004bffd
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_c47e88c6e4c2064accad2b7b9ac2dff5___void___.0
mov dword [ebp - 0x34], 0x100af2b8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [0x100afa90]
cmp eax, dword [esi + 4]
jle 0x1004c02e
call fcn.1004c6c0
mov ecx, eax
jmp 0x1004c033
mov ecx, 0x100afaa0
push ecx
lea eax, [ebp - 0x38]
push eax
lea eax, [ecx + 0xc]
push eax
call fcn.1004c7f0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1004c059
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, 0x7486c1
call fcn.1005a5f0
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004b8a0
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x4c], esi
call edi
test eax, eax
setne byte [ebp - 0x40]
mov esi, dword [esi]
test eax, eax
je 0x1004c0a9
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x4c]
call edi
mov ecx, 0x7486c1
mov dword [0x100af0b0], esi
call fcn.1005a5f0
push eax
lea ecx, [ebp - 0x3c]
call fcn.1004b8a0
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x44]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x4c], esi
call edi
test eax, eax
setne byte [ebp - 0x40]
mov dword [esi], 0x1004c330
cmp byte [ebp - 0x40], 0
je 0x1004c0ff
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x4c]
call edi
mov eax, 0x100af2b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret
Function at 0x1004cc50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x1004cc96
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1004cca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x1004cce7
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10054b10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084a19
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100ab00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov eax, 0x56e210
mov dword [ebp - 0x64], 0
call eax
mov eax, dword [eax + 0x14]
movss xmm0, dword [eax + 0x34]
movss xmm1, dword [eax + 0x30]
mov eax, 0x44d830
movss dword [esp], xmm0
push ecx
movss dword [esp], xmm1
call eax
mov ecx, 0x100abab0
mov edi, eax
call fcn.100547d0
cmp dword [0x100aeeac], 0x32
mov ecx, edi
mov dword [0x100abae0], 0
jne 0x10054b95
call fcn.10054820
jmp 0x10054cc0
cmp dword [0x100ab9b0], 0
je 0x10054ba8
call fcn.10054a90
jmp 0x10054cc0
call fcn.10054a90
mov eax, edi
mov dword [ebp - 4], 0
cdq
xor esi, esi
and edx, 7
mov dword [ebp - 0x60], 0
xor ebx, ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x64], 1
lea ecx, [edx + eax]
sar ecx, 3
mov dword [ebp - 0x6c], ecx
and edi, 0x80000007
jns 0x10054be8
dec edi
or edi, 0xfffffff8
inc edi
movaps xmm0, xmmword [0x100a1a20]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x54], edi
xor edi, edi
movaps xmm0, xmmword [0x100a1a40]
mov edx, dword [ebp - 0x54]
movups xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [0x100a1d70]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x100a1a30]
movups xmmword [ebp - 0x40], xmm0
nop dword [eax]
mov eax, dword [ebp + edi - 0x50]
add ecx, dword [ebp + edi - 0x30]
add eax, edx
cmp ecx, 7
ja 0x10054c5e
cmp eax, 7
ja 0x10054c5e
lea eax, [eax + ecx*8]
mov dword [ebp - 0x68], eax
cmp ebx, esi
je 0x10054c48
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x5c], esi
jmp 0x10054c5e
lea eax, [ebp - 0x68]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.10057720
mov ebx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x6c]
add edi, 4
cmp edi, 0x20
jl 0x10054c20
mov ecx, dword [ebp - 0x60]
xor edi, edi
sub esi, ecx
mov dword [ebp - 0x54], ebx
sar esi, 2
test esi, esi
je 0x10054c93
mov ebx, ecx
nop dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.10054a90
inc edi
cmp edi, esi
jb 0x10054c80
mov ebx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x10054cc0
sub ebx, ecx
mov eax, ecx
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x10054cb6
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10054cdc
push ebx
push ecx
call fcn.1005a80e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret
call fcn.1006c9ef
int3
Function at 0x100556c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100556eb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10056130
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005570d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1005570f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10055793
jg 0x10055724
test esi, esi
je 0x10055793
test ecx, ecx
jl 0x1005576d
jg 0x1005572e
test eax, eax
je 0x1005576d
cmp edi, ecx
jg 0x10055742
jl 0x10055738
cmp esi, eax
jae 0x10055742
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.1005de90
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10055770
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10055793
jg 0x1005577a
test esi, esi
je 0x10055793
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10055793
push eax
push esi
push 1
push edx
call fcn.10065d5d
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100557b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x100557db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10056210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x100557fd
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
jmp 0x100557ff
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x100558ba
jg 0x1005581c
test edi, edi
je 0x100558ba
test ecx, ecx
jl 0x10055869
jg 0x10055826
test eax, eax
je 0x10055869
cmp ebx, ecx
jg 0x1005583a
jl 0x10055830
cmp edi, eax
jae 0x1005583a
mov eax, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.1005de90
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x2c]
add edx, ecx
sub edi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [esi + 0x1c]
add dword [eax], ecx
jmp 0x10055870
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x100558ba
jg 0x1005587a
test edi, edi
je 0x100558ba
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x100558ba
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edx], eax
jne 0x100558a5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x4c]
push ecx
push edi
push 1
push dword [esp + 0x18]
call fcn.10066142
add esp, 0x10
sub edi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, edi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10055bf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100ab00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10055c20
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10055c5c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10055c5c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10055d43
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10055c84
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10055cb7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1006ca69
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x10055d43
cmp eax, 1
jle 0x10055d16
cmp eax, 3
jne 0x10055d43
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10052120
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005a602
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10055d33
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10065d5d
add esp, 0x10
cmp edi, eax
jne 0x10055d43
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10055c47
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005a602
mov esp, ebp
pop ebp
ret 4