Function at 0x535d6c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
push 8
call 0x59eb96
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5313a5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 0x5313e4
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535dc5
mov dword [ebp - 4], 0x30
jmp 0x536a00
push 0x531404
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535dec
mov dword [ebp - 4], 0x31
jmp 0x536a00
push 0x53280a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535e13
mov dword [ebp - 4], 0x32
jmp 0x536a00
push 0x53280c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535e3a
mov dword [ebp - 4], 0x33
jmp 0x536a00
push 0x53280e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535e61
mov dword [ebp - 4], 0x34
jmp 0x536a00
push 0x532810
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535e88
mov dword [ebp - 4], 0x35
jmp 0x536a00
push 0x532812
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535eaf
mov dword [ebp - 4], 0x36
jmp 0x536a00
push 0x532814
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535ed6
mov dword [ebp - 4], 0x37
jmp 0x536a00
push 0x532816
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535efd
mov dword [ebp - 4], 0x38
jmp 0x536a00
push 0x532818
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535f24
mov dword [ebp - 4], 0x39
jmp 0x536a00
push 0x53281a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535f4b
mov dword [ebp - 4], 0x41
jmp 0x536a00
push 0x53281c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535f72
mov dword [ebp - 4], 0x42
jmp 0x536a00
push 0x53281e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535f99
mov dword [ebp - 4], 0x43
jmp 0x536a00
push 0x532820
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535fc0
mov dword [ebp - 4], 0x44
jmp 0x536a00
push 0x532822
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x535fe7
mov dword [ebp - 4], 0x45
jmp 0x536a00
push 0x532824
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53600e
mov dword [ebp - 4], 0x46
jmp 0x536a00
push 0x532826
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536035
mov dword [ebp - 4], 0x47
jmp 0x536a00
push 0x532828
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53605c
mov dword [ebp - 4], 0x48
jmp 0x536a00
push 0x53282a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536083
mov dword [ebp - 4], 0x49
jmp 0x536a00
push 0x53282c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5360aa
mov dword [ebp - 4], 0x4a
jmp 0x536a00
push 0x53282e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5360d1
mov dword [ebp - 4], 0x4b
jmp 0x536a00
push 0x532830
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5360f8
mov dword [ebp - 4], 0x4c
jmp 0x536a00
push 0x532832
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53611f
mov dword [ebp - 4], 0x4d
jmp 0x536a00
push 0x532834
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536146
mov dword [ebp - 4], 0x4e
jmp 0x536a00
push 0x532836
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53616d
mov dword [ebp - 4], 0x4f
jmp 0x536a00
push 0x532838
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536194
mov dword [ebp - 4], 0x50
jmp 0x536a00
push 0x53283a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5361bb
mov dword [ebp - 4], 0x51
jmp 0x536a00
push 0x53283c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5361e2
mov dword [ebp - 4], 0x52
jmp 0x536a00
push 0x53283e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536209
mov dword [ebp - 4], 0x53
jmp 0x536a00
push 0x532840
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536230
mov dword [ebp - 4], 0x54
jmp 0x536a00
push 0x532842
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536257
mov dword [ebp - 4], 0x55
jmp 0x536a00
push 0x532844
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53627e
mov dword [ebp - 4], 0x56
jmp 0x536a00
push 0x532846
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5362a5
mov dword [ebp - 4], 0x57
jmp 0x536a00
push 0x532848
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5362cc
mov dword [ebp - 4], 0x58
jmp 0x536a00
push 0x53284a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5362f3
mov dword [ebp - 4], 0x59
jmp 0x536a00
push 0x53284c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53631a
mov dword [ebp - 4], 0x5a
jmp 0x536a00
push 0x531e3e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536341
mov dword [ebp - 4], 0xba
jmp 0x536a00
push 0x53219c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536368
mov dword [ebp - 4], 0xbb
jmp 0x536a00
push 0x5313f1
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53638f
mov dword [ebp - 4], 0xbc
jmp 0x536a00
push 0x53284e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5363b6
mov dword [ebp - 4], 0xbd
jmp 0x536a00
push 0x532850
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5363dd
mov dword [ebp - 4], 0xbe
jmp 0x536a00
push 0x532852
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536404
mov dword [ebp - 4], 0xbf
jmp 0x536a00
push 0x5313b7
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53642b
mov dword [ebp - 4], 0xc0
jmp 0x536a00
push 0x532854
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536452
mov dword [ebp - 4], 0xdb
jmp 0x536a00
push 0x532856
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536479
mov dword [ebp - 4], 0xdd
jmp 0x536a00
push 0x532852
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5364a0
mov dword [ebp - 4], 0xdc
jmp 0x536a00
push 0x532858
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5364c7
mov dword [ebp - 4], 0xde
jmp 0x536a00
push 0x53285a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5364ee
mov dword [ebp - 4], 0x6a
jmp 0x536a00
push 0x53285c
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536515
mov dword [ebp - 4], 0x6b
jmp 0x536a00
push 0x53285e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53653c
mov dword [ebp - 4], 0x40
jmp 0x536a00
push 0x532860
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536563
mov dword [ebp - 4], 0x21
jmp 0x536a00
push 0x532862
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53658a
mov dword [ebp - 4], 0x70
jmp 0x536a00
push 0x532865
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5365b1
mov dword [ebp - 4], 0x71
jmp 0x536a00
push 0x532868
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5365d8
mov dword [ebp - 4], 0x72
jmp 0x536a00
push 0x53286b
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5365ff
mov dword [ebp - 4], 0x73
jmp 0x536a00
push 0x53286e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536626
mov dword [ebp - 4], 0x74
jmp 0x536a00
push 0x532871
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53664d
mov dword [ebp - 4], 0x75
jmp 0x536a00
push 0x532874
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536674
mov dword [ebp - 4], 0x76
jmp 0x536a00
push 0x532877
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53669b
mov dword [ebp - 4], 0x77
jmp 0x536a00
push 0x53287a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5366c2
mov dword [ebp - 4], 0x78
jmp 0x536a00
push 0x53287d
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x5366e9
mov dword [ebp - 4], 0x79
jmp 0x536a00
push 0x532881
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536710
mov dword [ebp - 4], 0x7a
jmp 0x536a00
push 0x532885
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536737
mov dword [ebp - 4], 0x7b
jmp 0x536a00
push 0x532889
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x53675e
mov dword [ebp - 4], 0xd
jmp 0x536a00
push 0x53288e
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.00508259
add esp, 8
cmp eax, 0
jne 0x536785
mov dword [ebp - 4], 0x1b
jmp 0x536a00
push 0
push 0
push 0
push 0x80000004
push 0
push 0x531607
push 0x80000004
push 0
push 0x532892
push 3
mov ebx, 0x499560
call 0x59eb9c
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x5367da
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x5367d6
imul eax, dword [ebx]
jmp 0x5367cb
mov ecx, eax
test ecx, ecx
je 0x5367f9
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x5367f2
push ebx
push eax
call 0x59eb90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x5367e0
call 0x59eb90
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.0050a1d3
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x5369fd
mov ebx, dword [ebp - 8]
call fcn.005090dc
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x536841
push 4
call 0x59eba2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x536854
push 1
call 0x59eba2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x53687d
mov eax, 0x5313a4
push eax
push 2
mov ebx, 0x498820
call 0x59eb9c
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x14]
call fcn.00508259
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5368c2
push ebx
call 0x59eb90
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x5369f5
mov ebx, dword [ebp - 8]
call fcn.005090dc
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x5368e9
push 4
call 0x59eba2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x5368fc
push 1
call 0x59eba2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
call fcn.005090dc
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x536921
push 4
call 0x59eba2
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x536934
push 1
call 0x59eba2
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000004
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x536951
mov eax, 0x5313a4
push eax
push 1
mov ebx, 0x4985a0
call 0x59eb9c
add esp, 0x10
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x531394]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00507c04
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x53699e
mov eax, 0x5313a4
push eax
push 2
mov ebx, 0x498860
call 0x59eb9c
add esp, 0x1c
mov dword [ebp - 0x2c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x5369c7
mov eax, 0x5313a4
push eax
push 1
mov ebx, 0x498f60
call 0x59eb9c
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5369ed
push ebx
call 0x59eb90
add esp, 4
mov eax, dword [ebp - 0x30]
jmp 0x536a08
pop eax
pop ebx
pop ecx
jmp 0x536816
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x536a08
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x536a27
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x536a23
imul eax, dword [ebx]
jmp 0x536a18
mov ecx, eax
test ecx, ecx
je 0x536a46
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x536a3f
push ebx
push eax
call 0x59eb90
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x536a2d
call 0x59eb90
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4