Function at 0x426680
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 0x4fd184
push eax
mov dword fs:[0], esp
mov eax, 0x1138
push ebx
call fcn.004b57d0
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 fcn.004cebf0
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 esi, dword [ebp - 0x1c]
mov ecx, 0x10000
mov edi, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
nop
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0x1c]
push edx
push ecx
mov ecx, dword [ebp - 0x14]
call eax
cmp eax, 0xc000000d
je 0x426add
cmp eax, 0xc0000022
je 0x426add
cmp eax, 0xc000010a
je 0x426add
test eax, eax
jne 0x426aab
cmp dword [ebp - 0xa0], 0x1000
jne 0x426aab
mov eax, dword [ebp - 0xb0]
cmp eax, 1
je 0x426aab
test eax, 0x100
jne 0x426aab
mov ecx, dword [ebp - 0xb4]
cmp edi, dword [ebp - 0xb8]
jne 0x426795
cmp esi, ecx
je 0x426aab
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x58], 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 0x426a9f
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1148]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1148], cx
jne 0x426a9f
cmp dword [eax], 0x4550
jne 0x426a9f
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x426836
mov dword [ebp - 0x3c], 0
jmp 0x426847
mov edx, 0x20b
cmp cx, dx
jne 0x42684d
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 0x4269a6
sub esp, 0x18
cmp byte [esi + 0xe], 1
mov edx, esp
jne 0x4268be
mov esi, dword [ebp - 0x1144]
mov ecx, esi
mov dword [edx], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4268b1
jmp 0x4268eb
mov esi, dword [ebp - 0x1140]
mov ecx, esi
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4268e0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00409830
lea ecx, [ebp - 0x90]
call fcn.0040d6b0
add esp, 0x18
lea ecx, [ebp - 0x58]
push eax
call fcn.00409550
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x42694c
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426af5
push edx
push ecx
call fcn.004b4fdc
add esp, 8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x90]
call fcn.0040cfe0
push eax
lea ecx, [ebp - 0x70]
call fcn.00409550
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x426a16
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42699a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426af5
push edx
push ecx
call fcn.004b4fdc
add esp, 8
jmp 0x426a16
push 0x80
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.004cebf0
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 ecx, [ebp - 0x148]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4269e0
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00409830
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.00409830
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xc8]
call fcn.00410510
mov edx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x426a5f
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x426a68
push edx
push ecx
mov ecx, esi
call fcn.004217f0
mov esi, dword [ebp - 0xc4]
test esi, esi
je 0x426a93
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x426a93
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x426a93
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.00405610
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xa4]
adc edx, dword [ebp - 0xbc]
cmp edx, 0x7fff
ja 0x426add
jb 0x426710
cmp ecx, 0xfffeffff
jb 0x426710
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 fcn.004e34cc
int3