Function at 0x43f140
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 0x487d4b
push eax
mov dword fs:[0], esp
mov eax, 0x1138
push ebx
call fcn.0044e630
push esi
push edi
push 0x30
lea eax, [ebp - 0x80]
mov dword [ebp - 0x14], ecx
push 0
push eax
call fcn.004663d0
mov ecx, dword [ebx + 8]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.00427a90
mov esi, dword [ebp - 0x1c]
mov ecx, 0x10000
mov edi, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x1c]
push edx
push ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
call eax
cmp eax, 0xc000000d
je 0x43f528
cmp eax, 0xc0000022
je 0x43f528
test eax, eax
jne 0x43f502
cmp dword [ebp - 0x60], 0x1000
jne 0x43f502
mov eax, dword [ebp - 0x70]
cmp eax, 1
je 0x43f502
test eax, 0x100
jne 0x43f502
cmp edi, dword [ebp - 0x78]
jne 0x43f211
cmp esi, dword [ebp - 0x74]
je 0x43f502
lea ecx, [ebp - 0xc8]
call fcn.0041aee0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1148]
push 0
push 0x1000
mov dword [ebp - 4], 0
mov eax, dword [ecx]
push edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x43f4f0
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1148]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1148], cx
jne 0x43f4f0
cmp dword [eax], 0x4550
jne 0x43f4f0
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x43f28f
mov dword [ebp - 0x8c], 0
jmp 0x43f2a3
mov edx, 0x20b
cmp cx, dx
jne 0x43f2ac
mov dword [ebp - 0x8c], 1
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x1148]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
push 0x1000
mov edx, dword [esi]
push edi
push 2
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, esi
mov byte [ebp - 0x88], 0
call eax
test eax, eax
jne 0x43f45c
cmp byte [esi + 0xe], 1
lea ecx, [ebp - 0x50]
jne 0x43f303
push dword [ebp - 0x1144]
call fcn.00406124
mov byte [ebp - 4], 1
jmp 0x43f312
push dword [ebp - 0x1140]
call fcn.00406124
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x38]
call fcn.00416d70
push eax
lea ecx, [ebp - 0xa8]
call fcn.004060de
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x43f37c
mov ecx, dword [ebp - 0x38]
inc eax
cmp eax, 0x7fffffff
ja 0x43f543
add eax, eax
cmp eax, 0x1000
jb 0x43f373
test cl, 0x1f
jne 0x43f543
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43f543
sub ecx, eax
cmp ecx, 4
jb 0x43f543
cmp ecx, 0x23
ja 0x43f543
mov ecx, eax
push ecx
call fcn.0044d89d
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
cmp eax, 8
jb 0x43f3e6
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x7fffffff
ja 0x43f543
add eax, eax
cmp eax, 0x1000
jb 0x43f3dd
test cl, 0x1f
jne 0x43f543
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43f543
sub ecx, eax
cmp ecx, 4
jb 0x43f543
cmp ecx, 0x23
ja 0x43f543
mov ecx, eax
push ecx
call fcn.0044d89d
add esp, 4
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x50]
call fcn.00416760
push eax
lea ecx, [ebp - 0xc0]
call fcn.004060de
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x43f4db
mov ecx, dword [ebp - 0x50]
inc eax
cmp eax, 0x7fffffff
ja 0x43f543
add eax, eax
cmp eax, 0x1000
jb 0x43f44e
test cl, 0x1f
jne 0x43f543
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43f543
sub ecx, eax
cmp ecx, 4
jb 0x43f543
cmp ecx, 0x23
ja 0x43f543
mov ecx, eax
push ecx
call fcn.0044d89d
add esp, 4
jmp 0x43f4db
push 0x80
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.004663d0
push dword [ebp - 0xc4]
lea eax, [ebp - 0x148]
push dword [ebp - 0xc8]
push str.Unknown_0x_I64x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
cmp word [ebp - 0x148], 0
jne 0x43f49e
xor ecx, ecx
jmp 0x43f4b6
lea ecx, [ebp - 0x148]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f4a7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402c75
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xc0]
call fcn.004086bf
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0xc8]
push eax
call fcn.0043f5c0
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.0041624b
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x64]
adc edx, dword [ebp - 0x7c]
cmp edx, 0x7fff
ja 0x43f528
jb 0x43f1a8
cmp ecx, 0xfffeffff
jb 0x43f1a8
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00469659
int3