Function at 0x10024cd0
Capabilities:
Parse pe header

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
mov eax, dword fs:[0]
push 0x1003830e
push eax
mov dword fs:[0], esp
mov eax, 0x10f8
push ebx
call fcn.100361c0
push esi
push edi
push 0x30
lea eax, [ebp - 0x60]
mov dword [ebp - 0x24], 0
push 0
push eax
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x20], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov ecx, 0x10000
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov eax, dword [edi]
lea esi, [ebp - 0x60]
push esi
push edx
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
call eax
mov esi, dword [ebp - 0x18]
cmp eax, 0xc000000d
je 0x100251d2
cmp eax, 0xc0000022
je 0x100251d2
cmp eax, 0xc000010a
je 0x100251d2
test eax, eax
jne 0x100251ac
cmp dword [ebp - 0x40], 0x1000
jne 0x100251ac
cmp dword [ebp - 0x38], 0x1000000
jne 0x100251ac
cmp esi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
jne 0x10024dc7
cmp dword [ebp - 0x14], esi
je 0x100251ac
push 0x1000
lea eax, [ebp - 0x1100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
lea ecx, [ebp - 0x900]
add esp, 0xc
mov eax, dword [eax + 0x14]
push 0x800
push ecx
push 2
push esi
push dword [ebp - 0x58]
mov ecx, edi
call eax
test eax, eax
js 0x100251a0
xor eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
push 0
push 0x800
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1100]
mov eax, dword [edi]
push ecx
push dword [ebp - 0x54]
mov ecx, edi
push dword [ebp - 0x58]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x10024e6a
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10003370
jmp 0x100251ac
mov eax, dword [ebp - 0x10c4]
lea ecx, [ebp - 0x1100]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1100], cx
jne 0x10024eca
cmp dword [eax], 0x4550
jne 0x10024eca
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x10024eae
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0
jmp 0x10024f54
mov edx, 0x20b
cmp cx, dx
jne 0x10024e56
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 1
jmp 0x10024f54
push 0x30
lea eax, [ebp - 0x100]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x54]
add esp, 0xc
mov eax, dword [ebp - 0x58]
cmp esi, 0x7fff
ja 0x10024f4d
jb 0x10024ef4
cmp eax, 0xfffeffff
jae 0x10024f4d
mov ecx, dword [edi]
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x100]
push ecx
push esi
push eax
mov ecx, edi
call edx
test eax, eax
js 0x10024f41
cmp dword [ebp - 0xd8], 0x1000000
jne 0x10024f41
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x100]
mov esi, dword [ebp - 0xe4]
adc esi, dword [ebp - 0xfc]
cmp esi, 0x7fff
jb 0x10024ef4
ja 0x10024f4d
cmp eax, 0xfffeffff
jb 0x10024ef4
jmp 0x10024f4d
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 3
sub esp, 0x18
xor eax, eax
cmp byte [edi + 0xe], 1
mov edx, esp
jne 0x10024f90
mov esi, dword [ebp - 0x8fc]
mov ecx, esi
mov dword [edx + 0x10], eax
mov word [edx], ax
mov dword [edx + 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024f80
sub ecx, dword [ebp - 0x14]
jmp 0x10024fbe
mov esi, dword [ebp - 0x8f8]
mov ecx, esi
mov word [edx], ax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10024fb0
sub ecx, dword [ebp - 0x14]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100078a0
lea ecx, [ebp - 0xc8]
call fcn.1000a5c0
add esp, 0x18
lea ecx, [ebp - 0x90]
push eax
call fcn.10007640
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x10025023
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025019
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100251ea
push edx
push ecx
call fcn.10035360
add esp, 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0xc8]
call fcn.10009f10
push eax
lea ecx, [ebp - 0xa8]
call fcn.10007640
mov edx, dword [ebp - 0xb4]
cmp edx, 8
jb 0x10025080
mov ecx, dword [ebp - 0xc8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10025076
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100251ea
push edx
push ecx
call fcn.10035360
add esp, 8
mov eax, dword [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x54]
push 0x60
mov dword [ebp - 0xac], eax
movlpd qword [ebp - 0x70], xmm0
mov byte [ebp - 0x68], 0
call fcn.10035016
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea esi, [eax + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
movq qword [eax], xmm0
lea ecx, [esi + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
mov eax, dword [ebp - 0xb0]
mov dword [esi], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 4], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100076d0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
push eax
call fcn.100076d0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
or dword [ebp - 0x24], 2
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x44], eax
mov al, byte [ebp - 0x68]
mov byte [esi + 0x48], al
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebx + 8]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x1002515d
mov dword [eax], esi
mov dword [eax + 4], ecx
add dword [edx + 4], 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x10025191
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edx
call fcn.1001f4e0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10025191
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10025191
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10025191
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10003370
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x44]
adc edx, dword [ebp - 0x5c]
cmp edx, 0x7fff
ja 0x100251d2
jb 0x10024d61
cmp ecx, 0xfffeffff
jb 0x10024d61
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3