joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42db00
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.004a5270
mov eax, dword [0x518764]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x42db9f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x42db9f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00418a5f
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004adf8b
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00418a5f
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004adf8b
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.0042d9c0
test eax, eax
jle 0x42dc33
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x42dc47
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
Function at 0x4388e0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.004a5270
mov eax, dword [0x518764]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x43897c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x43897c
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0xc]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00418a5f
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004adf8b
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00418a5f
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004adf8b
add esp, 0x1c
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x438a19
call fcn.00438b40
test eax, eax
jle 0x438a19
push 0x51f244
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.004a50d6
add esp, 0x108
ret
Function at 0x4a6c30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc83e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x518764]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5187a8]
cmp eax, 0xffffffff
jne 0x4a6c69
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x4a6c75
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4a6cd0
lea eax, [ebx + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x4a6c9a
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 4], 0
mov edi, dword [ebx + 0xc]
sete al
test al, al
je 0x4a6d0b
test edi, edi
jne 0x4a6d10
push 0x4a68b0
push 0x51e770
call fcn.004a398d
mov eax, dword [0x5187a8]
add esp, 8
cmp eax, 0xffffffff
je 0x4a6cd0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x4a6cf9
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4a6cf9
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4a6d50
nop
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4a6d3d
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov edi, dword [ebx + 0xc]
test edi, edi
jne 0x4a6d10
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
mov esi, dword [ebx]
cmp esi, ebx
je 0x4a6c91
nop
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x4a6da7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4a6d8c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4a6da7
jmp 0x4a6d80
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4a6d80
jmp 0x4a6da7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a6da5
cmp esi, dword [eax + 8]
jne 0x4a6da5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a6d95
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4a6dbb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4a6dbb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004a6930
cmp esi, ebx
jne 0x4a6d60
mov eax, dword [ebp - 0x14]
jmp 0x4a6c91

Function at 0x4c03a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c0223

Function at 0x4c56f3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c53b3
Function at 0x4011db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 2
mov dword [ebp - 8], 0x3be501e
mov dword [ebp - 4], 0xfc41afe1
pop esi
lea edx, [edx]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 4]
xor eax, dword [0x429620]
not eax
push ebx
pop dword [ebp - 0xc]
push 0
mov bl, bl
call eax
dec esi
jne 0x4011f4
pop esi
pop ebx
leave
ret
Function at 0x401da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100020
call fcn.00405350
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x406c18
push edx
mov ebx, ecx
movlpd qword [ebp - 0x100014], xmm0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
mov dword [ebp - 0x100018], edi
test edi, edi
jne 0x401e2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
push eax
push dword [0x40947c]
push str.fopen:__s:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004046a9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x100014]
push eax
push 3
push esi
push ebx
call dword [sym.imp.imobiledevice.dll_afc_file_open]
add esp, 0x10
test eax, eax
jne 0x401e50
mov eax, dword [ebp - 0x100014]
or eax, dword [ebp - 0x100010]
jne 0x401e96
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push esi
push str.afc_file_open_on__s_failed__n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004046a9
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x100018]
push edi
push 0x100000
lea eax, [ebp - 0x10000c]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x401f72
xor esi, esi
nop word [eax + eax]
lea eax, [ebp - 0x10001c]
mov dword [ebp - 0x10001c], 0
push eax
push edi
lea eax, [ebp - 0x10000c]
push eax
push dword [ebp - 0x100010]
push dword [ebp - 0x100014]
push ebx
call dword [sym.imp.imobiledevice.dll_afc_file_write]
add esp, 0x18
test eax, eax
jne 0x401eff
add esi, dword [ebp - 0x10001c]
cmp esi, edi
jb 0x401ec0
jmp 0x401f19
push eax
push str.AFC_Write_error:__d_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
cmp esi, edi
je 0x401e90
push edi
push esi
push str.Error:_wrote_only__u_of__u_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
push dword [ebp - 0x100010]
push dword [ebp - 0x100014]
push ebx
call dword [sym.imp.imobiledevice.dll_afc_file_close]
add esp, 0x1c
push dword [ebp - 0x100018]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004046a9
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x100010]
push dword [ebp - 0x100014]
push ebx
call dword [sym.imp.imobiledevice.dll_afc_file_close]
add esp, 0xc
push dword [ebp - 0x100018]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004046a9
mov esp, ebp
pop ebp
ret
Function at 0x402ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dbca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004087a9
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x402f6d
push eax
push esi
call fcn.00408b07
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
lea ecx, [ebp - 0x1c]
call fcn.00402ea0
push 0x43f310
lea eax, [ebp - 0x1c]
push eax
call fcn.0040acdd
int3

Function at 0x405050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x40506c
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40509e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40509e
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 esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x405173
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4050c6
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 0x4050ef
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004106bc
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 1], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 1]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x405173
cmp eax, 1
jle 0x405146
cmp eax, 3
jne 0x405173
push dword [esi + 0x4c]
movsx eax, byte [ebp - 1]
push eax
call fcn.004106bc
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
sub edi, eax
je 0x405163
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00410d0f
add esp, 0x10
cmp edi, eax
jne 0x405173
lea eax, [ebp - 1]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 8], eax
jne 0x405093
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4061c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x406241
cmp byte [esi + 0x3d], 0
je 0x406241
push 0xffffffffffffffff
call fcn.00405050
cmp eax, 0xffffffff
je 0x40620b
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x406213
sub eax, 1
je 0x406217
sub eax, 2
je 0x406241
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x406234
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00410d0f
add esp, 0x10
cmp edi, eax
jne 0x40620b
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ed3d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041ebbc

Function at 0x42308b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422d4b

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor edx, edx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + edi]
cmp edi, eax
cmova ecx, edx
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x42a9ab
movzx edx, byte [edi]
lea edi, [edi + 1]
movzx eax, byte [esi]
inc ebx
mov ecx, dword [esi]
xor edx, eax
shr ecx, 8
mov eax, dword [edx*4 + 0x43c5b0]
xor eax, ecx
mov dword [esi], eax
cmp ebx, dword [ebp + 0xc]
jb 0x42a981
pop edi
pop esi
not eax
pop ebx
pop ebp
ret 0xc
mov eax, dword [esi]
pop edi
pop esi
not eax
pop ebx
pop ebp
ret 0xc
Function at 0x42b9c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dfa2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x148
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x18], edi
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x8c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x24], eax
jb 0x42ba14
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, 0xf
add edx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
cmp ecx, edx
jae 0x42bb39
mov esi, dword [edi + 0x168]
push 0
push ecx
push esi
call fcn.004102ab
add esp, 0xc
test eax, eax
jne 0x42bb6e
push esi
push 1
lea eax, [ebp - 0x50]
push 0x10
push eax
call fcn.00410562
add esp, 0x10
cmp eax, 1
jne 0x42bb6e
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x42bb24
mov ecx, dword [edi + 0x150]
mov edx, dword [edi + 0x154]
cmp ecx, edx
je 0x42baae
mov eax, esi
sub eax, dword [ecx + 0xc]
sub eax, dword [ebp - 0x20]
cmp eax, dword [ecx + 0x10]
jb 0x42bb64
add ecx, 0x28
cmp ecx, edx
jne 0x42ba96
xor ecx, ecx
mov esi, dword [edi + 0x168]
push 0
push ecx
push esi
call fcn.004102ab
add esp, 0xc
test eax, eax
jne 0x42bb24
push esi
lea eax, [ebp - 0x150]
push 0x100
push eax
call fcn.0041038b
add esp, 0xc
test eax, eax
je 0x42bb24
lea ecx, [ebp - 0x150]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bae8
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004018c0
push dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [ebx + 0x10]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.00403db0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x28]
jb 0x42ba47
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x11], 1
cmp eax, 0x10
jb 0x42bb8e
mov ecx, dword [ebp - 0x40]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bb84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bba6
jmp 0x42bb84
mov ecx, dword [ecx + 0x14]
add ecx, eax
jmp 0x42bab0
push str.SyringeDebugger::ParseHooksSection:_Bytes_read_failed
call fcn.0042a9c0
mov eax, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 0x11], 0
jmp 0x42bb3d
push edx
push ecx
call fcn.00409b62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0040ff86
int3
Function at 0x42bbb0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dfb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x148
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 8]
push esi
push edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 0x2c], 0
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
add edx, edi
mov eax, 0xf
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp edi, edx
jae 0x42bd80
mov esi, dword [ecx + 0x168]
push 0
push edi
push esi
call fcn.004102ab
add esp, 0xc
test eax, eax
jne 0x42bd7d
push esi
push 1
lea eax, [ebp - 0x50]
push 0x10
push eax
call fcn.00410562
add esp, 0x10
cmp eax, 1
jne 0x42bd7d
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x42bd64
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x150]
mov edx, dword [ecx + 0x154]
cmp eax, edx
je 0x42bc8d
mov ecx, esi
sub ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 0x30]
cmp ecx, dword [eax + 0x10]
jb 0x42bd22
add eax, 0x28
cmp eax, edx
jne 0x42bc75
xor eax, eax
mov esi, dword [ebx + 8]
push 0
push eax
mov esi, dword [esi + 0x168]
push esi
call fcn.004102ab
add esp, 0xc
test eax, eax
jne 0x42bd64
push esi
lea eax, [ebp - 0x150]
push 0x100
push eax
call fcn.0041038b
add esp, 0xc
test eax, eax
je 0x42bd64
lea ecx, [ebp - 0x150]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bcd2
sub ecx, edx
lea eax, [ebp - 0x150]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004018c0
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 4
push str..exe
cmp eax, 4
jb 0x42bd2c
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + 4]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.0040b2d0
add esp, 0xc
mov byte [esi + 4], 0
jmp 0x42bd3d
mov eax, dword [eax + 0x14]
add eax, ecx
jmp 0x42bc8f
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
push 4
call fcn.004022d0
mov ecx, dword [ebp - 0x38]
add ecx, 0x30
cmp dword [ecx + 0x14], 0x10
jb 0x42bd4b
mov ecx, dword [ecx]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00417e02
add esp, 8
test eax, eax
je 0x42bd74
add edi, 0x10
cmp edi, dword [ebp - 0x3c]
jae 0x42bd7d
mov ecx, dword [ebx + 8]
jmp 0x42bc23
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
jmp 0x42bd84
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 0
cmp eax, 0x10
jb 0x42bdb3
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bda9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bdcb
push edx
push ecx
call fcn.00409b62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x11]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0040ff86
int3
Function at 0x42c0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov dword [esi], 0
mov dword [esi + 4], eax
test eax, eax
je 0x42c0f2
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x42c0f2
push 0x40
push 0x3000
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esi], eax
test eax, eax
je 0x42c0f2
pop edi
mov eax, esi
pop esi
pop ecx
pop ebp
ret 0xc
sub esp, 0x18
lea eax, [edi + 0x30]
mov ecx, esp
push eax
call fcn.00404690
mov ecx, 0x306
call fcn.00403c50
int3