Function at 0x10025200
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 0x1003836e
push eax
mov dword fs:[0], esp
mov eax, 0x1138
push ebx
call fcn.100361c0
push esi
push edi
push 0x30
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x14], ecx
push 0
push eax
mov dword [ebp - 0x24], 0
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 esi, dword [ebp - 0x1c]
xor edx, edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], 1
nop
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x18]
push edx
push ecx
mov ecx, dword [ebp - 0x14]
call eax
cmp eax, 0xc000000d
je 0x100256c7
cmp eax, 0xc0000022
je 0x100256c7
cmp eax, 0xc000010a
je 0x100256c7
test eax, eax
jne 0x10025695
cmp dword [ebp - 0xa0], 0x1000
jne 0x10025695
mov eax, dword [ebp - 0xb0]
cmp eax, 1
je 0x10025695
test eax, 0x100
jne 0x10025695
mov ecx, dword [ebp - 0xb4]
cmp edi, dword [ebp - 0xb8]
jne 0x10025315
cmp esi, ecx
je 0x10025695
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1148]
push 0
mov dword [ebp - 4], 1
push 0x1000
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0xb8]
push ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
push edx
call eax
test eax, eax
jne 0x10025689
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1148]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1148], cx
jne 0x10025689
cmp dword [eax], 0x4550
jne 0x10025689
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x100253ac
mov dword [ebp - 0x3c], 0
jmp 0x100253bd
mov edx, 0x20b
cmp cx, dx
jne 0x100253c3
mov dword [ebp - 0x3c], 1
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x1148]
mov ecx, dword [ebp - 0xb4]
xorps xmm0, xmm0
mov edx, dword [ebp - 0xb8]
push 0x1000
mov eax, dword [esi]
push edi
push 2
push ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x74], ecx
mov ecx, esi
push edx
mov dword [ebp - 0x78], edx
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], 0
call eax
test eax, eax
jne 0x10025526
sub esp, 0x18
cmp byte [esi + 0xe], 1
mov edx, esp
jne 0x1002543d
mov esi, dword [ebp - 0x1144]
mov ecx, esi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025430
jmp 0x1002546b
mov esi, dword [ebp - 0x1140]
mov ecx, esi
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025460
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.100078a0
lea ecx, [ebp - 0x90]
call fcn.1000a5c0
add esp, 0x18
lea ecx, [ebp - 0x58]
push eax
call fcn.10007640
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x100254cc
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100254c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256df
push edx
push ecx
call fcn.10035360
add esp, 8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x90]
call fcn.10009f10
push eax
lea ecx, [ebp - 0x70]
call fcn.10007640
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10025596
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002551a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100256df
push edx
push ecx
call fcn.10035360
add esp, 8
jmp 0x10025596
push 0x80
lea eax, [ebp - 0x148]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x74]
lea eax, [ebp - 0x148]
push dword [ebp - 0x78]
push str.Unknown_0x_I64x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x148]
add esp, 0x1c
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10025560
sub eax, edx
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.100078a0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
push eax
call fcn.100078a0
push 0x60
call fcn.10035016
mov edi, eax
add esp, 4
mov dword [ebp - 0xc4], edi
mov byte [ebp - 4], 2
lea esi, [edi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
movq qword [edi], xmm0
lea ecx, [esi + 8]
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x74]
mov dword [esi + 4], eax
lea eax, [ebp - 0x70]
push eax
call fcn.100076d0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
push eax
call fcn.100076d0
mov eax, dword [ebp - 0x40]
or dword [ebp - 0x24], 2
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x44], eax
mov al, byte [ebp - 0x30]
mov byte [esi + 0x48], al
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1002564b
mov dword [eax], esi
mov dword [eax + 4], edi
add dword [ecx + 4], 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x1002567d
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.1001f4e0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1002567d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1002567d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002567d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xb8]
mov esi, dword [ebp - 0xb4]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.10003370
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xa4]
adc edx, dword [ebp - 0xbc]
cmp edx, 0x7fff
ja 0x100256c7
jb 0x10025290
cmp ecx, 0xfffeffff
jb 0x10025290
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