Function at 0x4019d8
Capabilities:
Parse pe header

Disassembly:
jmp 0x536500
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 0x5cb50c
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x11c0
call fcn.004010a5
mov eax, dword [0x639704]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10f4], ecx
mov dword [ebp - 0x111c], 0
mov ecx, 0x6447c9
call fcn.00407621
push 0x30
push 0
lea eax, [ebp - 0x1050]
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x1128], xmm0
push 0x10
lea ecx, [ebp - 0x1060]
call fcn.0040690b
lea ecx, [ebp - 0x1060]
call fcn.00402dab
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10f4]
call fcn.00403bca
mov dword [ebp - 0x1108], eax
mov dword [ebp - 0x1104], edx
jmp 0x5365d7
mov ecx, dword [ebp - 0x1050]
add ecx, dword [ebp - 0x1038]
mov edx, dword [ebp - 0x104c]
adc edx, dword [ebp - 0x1034]
mov dword [ebp - 0x1108], ecx
mov dword [ebp - 0x1104], edx
mov ecx, dword [ebp - 0x10f4]
call fcn.00408242
mov dword [ebp - 0x1150], eax
mov dword [ebp - 0x114c], edx
mov eax, dword [ebp - 0x1104]
cmp eax, dword [ebp - 0x114c]
ja 0x536af3
jb 0x536614
mov ecx, dword [ebp - 0x1108]
cmp ecx, dword [ebp - 0x1150]
jae 0x536af3
mov edx, dword [ebp - 0x10f4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x112c], ecx
lea edx, [ebp - 0x1050]
push edx
mov eax, dword [ebp - 0x1104]
push eax
mov ecx, dword [ebp - 0x1108]
push ecx
mov ecx, dword [ebp - 0x10f4]
call dword [ebp - 0x112c]
mov dword [ebp - 0x10f8], eax
cmp dword [ebp - 0x10f8], 0xc000000d
je 0x536670
cmp dword [ebp - 0x10f8], 0xc0000022
je 0x536670
cmp dword [ebp - 0x10f8], 0xc000010a
jne 0x536677
jmp 0x536af3
cmp dword [ebp - 0x10f8], 0
je 0x536685
jmp 0x5365b3
cmp dword [ebp - 0x1030], 0x1000
jne 0x5366b9
cmp dword [ebp - 0x1028], 0x1000000
jne 0x5366b9
mov edx, dword [ebp - 0x1128]
cmp edx, dword [ebp - 0x1048]
jne 0x5366be
mov eax, dword [ebp - 0x1124]
cmp eax, dword [ebp - 0x1044]
jne 0x5366be
jmp 0x5365b3
push 0x1000
push 0
lea ecx, [ebp - 0x1018]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
lea edx, [ebp - 0x818]
mov dword [ebp - 0x1100], edx
mov eax, dword [ebp - 0x10f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1130], edx
push 0x800
mov eax, dword [ebp - 0x1100]
push eax
push 2
mov ecx, dword [ebp - 0x1044]
push ecx
mov edx, dword [ebp - 0x1048]
push edx
mov ecx, dword [ebp - 0x10f4]
call dword [ebp - 0x1130]
mov dword [ebp - 0x10f8], eax
cmp dword [ebp - 0x10f8], 0
jl 0x536ad6
lea ecx, [ebp - 0x10b8]
call fcn.00407f31
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1114], eax
mov dword [ebp - 0x10fc], 0
mov dword [ebp - 0x1118], 0
mov ecx, dword [ebp - 0x10f4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x1134], eax
push 0
push 0x800
lea ecx, [ebp - 0x1018]
push ecx
mov edx, dword [ebp - 0x1044]
push edx
mov eax, dword [ebp - 0x1048]
push eax
mov ecx, dword [ebp - 0x10f4]
call dword [ebp - 0x1134]
test eax, eax
je 0x5367ac
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10b8]
call fcn.0040424b
jmp 0x5365b3
mov ecx, dword [ebp - 0x1114]
mov edx, dword [ecx + 0x3c]
lea eax, [ebp + edx - 0x1018]
mov dword [ebp - 0x10fc], eax
mov ecx, dword [ebp - 0x10fc]
mov dword [ebp - 0x1118], ecx
mov edx, dword [ebp - 0x1114]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x5367f0
mov ecx, dword [ebp - 0x10fc]
cmp dword [ecx], 0x4550
je 0x5368dd
push 0x30
push 0
lea edx, [ebp - 0x10f0]
push edx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1110], eax
mov ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x110c], ecx
jmp 0x536841
mov edx, dword [ebp - 0x10f0]
add edx, dword [ebp - 0x10d8]
mov eax, dword [ebp - 0x10ec]
adc eax, dword [ebp - 0x10d4]
mov dword [ebp - 0x1110], edx
mov dword [ebp - 0x110c], eax
mov ecx, dword [ebp - 0x10f4]
call fcn.00408242
mov dword [ebp - 0x1158], eax
mov dword [ebp - 0x1154], edx
mov ecx, dword [ebp - 0x110c]
cmp ecx, dword [ebp - 0x1154]
ja 0x5368d1
jb 0x536876
mov edx, dword [ebp - 0x1110]
cmp edx, dword [ebp - 0x1158]
jae 0x5368d1
mov eax, dword [ebp - 0x10f4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x1138], edx
lea eax, [ebp - 0x10f0]
push eax
mov ecx, dword [ebp - 0x110c]
push ecx
mov edx, dword [ebp - 0x1110]
push edx
mov ecx, dword [ebp - 0x10f4]
call dword [ebp - 0x1138]
test eax, eax
jl 0x5368b8
cmp dword [ebp - 0x10c8], 0x1000000
je 0x5368cc
mov eax, dword [ebp - 0x10f0]
sub eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1078], eax
jmp 0x5368d1
jmp 0x53681d
mov dword [ebp - 0x1074], 3
jmp 0x53694a
mov ecx, dword [ebp - 0x10fc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
jne 0x53690a
mov eax, dword [ebp - 0x10fc]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x1078], ecx
mov dword [ebp - 0x1074], 0
jmp 0x53694a
mov edx, dword [ebp - 0x10fc]
movzx eax, word [edx + 0x18]
cmp eax, 0x20b
jne 0x536936
mov ecx, dword [ebp - 0x1118]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x1078], edx
mov dword [ebp - 0x1074], 1
jmp 0x53694a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10b8]
call fcn.0040424b
jmp 0x5365b3
mov eax, dword [ebp - 0x10f4]
movzx ecx, byte [eax + 0xe]
cmp ecx, 1
jne 0x5369bf
mov edx, dword [ebp - 0x1100]
mov dword [ebp - 0x113c], edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1170], esp
mov eax, dword [ebp - 0x113c]
mov edx, dword [eax + 4]
push edx
call fcn.004023fb
lea eax, [ebp - 0x1198]
push eax
call fcn.004082e2
add esp, 0x20
mov dword [ebp - 0x1140], eax
mov ecx, dword [ebp - 0x1140]
mov dword [ebp - 0x1168], ecx
mov edx, dword [ebp - 0x1168]
push edx
lea ecx, [ebp - 0x1094]
call fcn.0040a9c0
lea ecx, [ebp - 0x1198]
call fcn.00409881
jmp 0x536a17
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1174], esp
mov eax, dword [ebp - 0x1100]
mov edx, dword [eax + 8]
push edx
call fcn.004023fb
lea eax, [ebp - 0x11b4]
push eax
call fcn.004082e2
add esp, 0x20
mov dword [ebp - 0x1164], eax
mov ecx, dword [ebp - 0x1164]
mov dword [ebp - 0x1160], ecx
mov edx, dword [ebp - 0x1160]
push edx
lea ecx, [ebp - 0x1094]
call fcn.0040a9c0
lea ecx, [ebp - 0x11b4]
call fcn.00409881
lea eax, [ebp - 0x1094]
push eax
lea ecx, [ebp - 0x11d0]
push ecx
call fcn.0040b5f0
add esp, 8
mov dword [ebp - 0x115c], eax
mov edx, dword [ebp - 0x115c]
push edx
lea ecx, [ebp - 0x10b0]
call fcn.0040a9c0
lea ecx, [ebp - 0x11d0]
call fcn.00409881
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x10b8], eax
mov ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x10b4], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x1070], xmm0
mov byte [ebp - 0x1068], 0
lea edx, [ebp - 0x10b8]
push edx
lea eax, [ebp - 0x117c]
push eax
call fcn.00401f91
add esp, 8
mov dword [ebp - 0x116c], eax
mov ecx, dword [ebp - 0x116c]
mov dword [ebp - 0x1144], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1144]
push edx
lea ecx, [ebp - 0x1060]
call fcn.00408deb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x117c]
call fcn.00401aaa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10b8]
call fcn.0040424b
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1128], eax
mov ecx, dword [ebp - 0x1044]
mov dword [ebp - 0x1124], ecx
jmp 0x5365b3
lea edx, [ebp - 0x1060]
push edx
mov ecx, dword [ebx + 8]
call fcn.00402aef
mov eax, dword [ebp - 0x111c]
or eax, 1
mov dword [ebp - 0x111c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1060]
call fcn.00403f4e
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406c44
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4