joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0x1014d490]
call fcn.10089ba0
movups xmm4, xmmword [0x10120a00]
mov ebx, eax
mov dword [ebp - 0x38], 0xd330f34
mov dword [edi], ebx
mov esi, 0x7d
mov dword [ebp - 0x34], 0xf3d0111b
mov dword [ebp - 0x30], 0xf6e1e0ed
mov word [ebp - 0x2c], 0xf5
mov byte [ebp - 0x2a], 1
nop
lea eax, [esi - 1]
movd xmm2, esi
lea edx, [esi - 3]
movd xmm0, eax
movd xmm3, edx
lea ecx, [esi - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [ebp + esi - 0xb5]
punpcklbw xmm0, xmm0
movd xmm1, ecx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebp + esi - 0xb5], xmm3
add esi, 4
cmp esi, 0x89
jb 0x1002c4f0
xor byte [ebp - 0x2c], 0x86
xor eax, eax
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x44], 0x11180f14
mov dword [ebp - 0x40], 0xede45112
mov word [ebp - 0x3c], 0xee
mov byte [ebp - 0x3a], 1
nop
lea ecx, [eax + 0x7a]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 9
jb 0x1002c570
lea eax, [ebp - 0x44]
mov byte [ebp - 0x3a], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ebx
push ecx
push 0x1fffff
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call eax
mov ecx, dword [ebp - 8]
mov eax, dword [edi]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9e59
mov esp, ebp
pop ebp
ret
Function at 0x1002cf20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
pop ebp
ret 4

Function at 0x1002fd50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9111
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1FontWrapper_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1FontWrapper.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
lea esi, [edi + 0x58]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0x9100
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.100a9e1b
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 3
lea esi, [edi + 0x84]
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100a9e1b
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov byte [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call esi
lea eax, [edi + 0x6c]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10032020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f938e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphProvider_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
lea esi, [edi + 0x1c]
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphProvider.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.100a9e1b
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
mov dword [ebp - 0x18], esi
push 0x20
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100a9e1b
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 5
lea eax, [edi + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call esi
lea eax, [edi + 0x60]
push eax
call esi
lea eax, [edi + 0x78]
push eax
call esi
lea eax, [edi + 0x90]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10034de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9708
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FW1FontWrapper::CFW1Object_struct_IFW1GlyphSheet_.0
mov dword [edi + 4], 0
mov dword [edi + 8], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.FW1FontWrapper::CFW1GlyphSheet.0
xor eax, eax
movups xmmword [edi + 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 7
mov word [edi + 0xc], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov word [edi + 0x2c], ax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
lea eax, [edi + 0x78]
push eax
movups xmmword [edi + 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1003d940
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f9db6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
push 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1003d9af
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x1011f74f
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.1000d480
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
jmp 0x1003da66
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x1003d9ef
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x1011f74f
mov dword [esi + 0x14], 0
call fcn.1000d480
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
jmp 0x1003da66
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
xorps xmm0, xmm0
test edx, edx
je 0x1003d9c0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003da20
sub ecx, dword [ebp - 0x30]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000d480
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1000b7c0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000b6f0
mov eax, esi
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.100a9e59
mov esp, ebp
pop ebp
ret
Function at 0x10041160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xff
lea eax, [edi + 0x68]
push eax
lea eax, [edi + 0x168]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0xc
xor esi, esi
push esi
call ebx
test ax, ax
setne al
mov byte [edi + esi + 0x68], al
inc esi
cmp esi, 0xff
jl 0x10041185
pop edi
pop esi
pop ebx
ret
Function at 0x100495c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1014c200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1010b930]
sub esi, 1
jne 0x100495f3
mov eax, dword [0x1014d3d8]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10049622
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10049631
mov byte [eax + 0x1c20], 1
mov eax, dword [0x1014d3d8]
cmp dword [eax + 0x1bc8], ebx
jne 0x1004964c
push 0
push edi
push 4
push ebx
call fcn.10047f20
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9e59
mov esp, ebp
pop ebp
ret 4

Function at 0x10049e90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10049ea2
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10049fd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10049eba
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 0x10], eax
cmp eax, 0xffffffff
je 0x10049fb1
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10049fb1
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10049fb1
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10049fb1
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x10049f20
inc dword [eax + 0x36c]
push dword [0x1014d3e0]
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call dword [0x101492e8]
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10049fb1
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x10049f81
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1014d3d8]
add esp, 4
test eax, eax
je 0x10049f67
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x101492ec]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10049f99
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x10049fa9
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1004a1a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
not ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
test edi, edi
je 0x1004a203
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1004a1e6
cmp edi, 2
jb 0x1004a1e6
cmp byte [esi], cl
jne 0x1004a1e6
cmp byte [esi + 1], cl
jne 0x1004a1e6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1010b930]
jmp 0x1004a1b7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1010b930]
test edi, edi
jne 0x1004a1b7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004a238
nop word [eax + eax]
cmp cl, 0x23
jne 0x1004a21f
cmp byte [esi], cl
jne 0x1004a21f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1010b930]
test cl, cl
jne 0x1004a210
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1004b6b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x1004b72b
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1004b6e6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100562d0
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.10055e80
mov edx, dword [esi]
mov ecx, 0x1014d3dc
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10055e80
pop edi
pop esi
pop ebp
ret
Function at 0x100528a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1014d3d8]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f60], 0
test esi, esi
je 0x100528f9
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10052900
push 0x1010bfbc
push esi
mov edi, eax
call fcn.10049fd0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100528f8
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebp
ret

Function at 0x10054cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x1014d3d8]
cmp byte [edi + 0x2f5d], 0
lea eax, [edi + 0x20]
jne 0x10054df5
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10054ded
push esi
push 0x1010bfb8
push ecx
call fcn.10049fd0
mov esi, eax
add esp, 8
test esi, esi
je 0x10054de9
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10054ddf
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10054ddf
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x10054ddf
push 0
push dword [ebp - 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10054ddf
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x10054d75
inc dword [eax + 0x36c]
push dword [0x1014d3e0]
push ebx
call dword [0x101492e8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10054ddf
push esi
push dword [ebp - 4]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x10054dcb
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x1014d3d8]
test eax, eax
je 0x10054db9
dec dword [eax + 0x36c]
push dword [0x1014d3e0]
push ebx
call dword [0x101492ec]
add esp, 8
jmp 0x10054de9
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push dword [ebp - 4]
push ebx
call fcn.1004b270
add esp, 0xc
jmp 0x10054daa
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2f5d], 1
pop ebx
movss xmm0, dword [edi + 0x2f60]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10054e46
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2f60], xmm0
jb 0x10054e46
mov eax, dword [eax]
test eax, eax
je 0x10054e35
push eax
call fcn.100528a0
add esp, 4
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
mov dword [edi + 0x2f60], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10056930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb9e3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov byte [ebp - 4], 2
mov eax, 0xffff
mov word [ecx + 0x3e], ax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x3a], 0xffffffff
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov word [ecx + 0x38], ax
mov byte [ecx + 0x40], al
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x50], eax
mov word [ecx + 0x54], ax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10059a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbb63
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1014c200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [edi + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [edi + 0x4c], ebx
jle 0x10059aa6
xor esi, esi
nop dword [eax]
mov eax, dword [ecx]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x10059a98
cmp byte [esi + eax + 8], 0
je 0x10059a98
push ecx
call fcn.1004b7c0
mov eax, dword [edi + 0x54]
lea ecx, [edi + 0x54]
add esp, 4
mov dword [esi + eax], 0
jmp 0x10059a9b
lea ecx, [edi + 0x54]
inc ebx
add esi, 0x78
cmp ebx, dword [edi + 0x4c]
jl 0x10059a70
jmp 0x10059aa9
mov dword [ebp - 0x10], ecx
xor edx, edx
lea ebx, [edi + 0x34]
cmp dword [ebx], edx
jle 0x10059af1
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edx*4]
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x34], eax
jb 0x10059ae9
mov ecx, dword [edi + 0x4c]
shl ecx, 4
sub ecx, dword [edi + 0x4c]
lea eax, [eax + ecx*8]
cmp dword [esi + 0x34], eax
jae 0x10059ae6
mov dword [esi + 0x34], 0
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, dword [ebx]
jl 0x10059ab2
lea ebx, [edi + 0x34]
mov eax, dword [edi + 0x54]
test eax, eax
je 0x10059b16
push eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
call fcn.1004b7c0
add esp, 4
mov dword [edi + 0x54], 0
mov eax, dword [edi + 0x48]
mov esi, ebx
test eax, eax
je 0x10059b40
push eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
call fcn.1004b7c0
add esp, 4
mov dword [edi + 0x48], 0
lea esi, [edi + 0x34]
mov eax, dword [edi + 0x14]
mov dword [edi + 0x464], 0xffffffff
mov dword [edi + 0x460], 0xffffffff
test eax, eax
je 0x10059b66
push eax
call fcn.1004b7c0
add esp, 4
mov ebx, esi
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10059b76
push eax
call fcn.1004b7c0
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x12], 0
mov dword [ebp - 0x10], ecx
cmp dword [ebx], ecx
jle 0x10059bff
mov eax, dword [ebx + 8]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10059bf7
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.10059d20
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10059bc0
push eax
call fcn.1004b7c0
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10059bd4
push eax
call fcn.1004b7c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10059beb
push eax
call fcn.1004b7c0
add esp, 4
push esi
call fcn.1004b7c0
mov ecx, dword [ebp - 0x10]
add esp, 4
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx]
jl 0x10059b91
mov eax, dword [ebx + 8]
test eax, eax
je 0x10059c23
push eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
call fcn.1004b7c0
add esp, 4
mov dword [ebx + 8], 0
mov byte [edi + 0x11], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005dee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1005df07
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1004b7c0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1005df2c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1004b7c0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1005df51
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1004b7c0
add esp, 4
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 eax, dword [esi + 0x44]
test eax, eax
je 0x1005df92
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1004b7c0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1005dfb7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1004b7c0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x1005dfdc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1004b7c0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10059c40