Function at 0x417030
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x12c]
cmp eax, dword [ecx + 8]
jbe 0x4181d3
sub esp, 0x1ac
lea eax, [0x887ac8]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00401e60
mov eax, dword [0x887ac8]
cmp eax, 1
jne 0x41707b
mov eax, 1
jmp 0x417081
cmp eax, 2
sete al
mov byte [0x887d74], al
test al, al
je 0x417092
mov eax, 1
jmp 0x417099
movzx eax, byte [0x887d75]
mov byte [0x887d70], al
mov eax, dword [0x888690]
mov ecx, dword [0x888694]
mov dword [0x8612d8], eax
mov dword [0x8612dc], ecx
nop
call fcn.00460660
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x30], edx
mov ebx, dword [esp]
mov dword [esp + 0x28], ebx
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x198], ecx
test byte [eax], al
mov dword [ecx + 0x78], 5
lea edi, [ecx + 0x74]
mov dword [esp + 0x1a8], edi
mov eax, dword [0x887d70]
test eax, eax
jne 0x417112
lea eax, [0x68d084]
mov dword [ecx + 0x74], eax
jmp 0x41711d
lea eax, [0x68d084]
call fcn.0045f750
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x1a0], eax
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x9d], 2
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x19c], ecx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.00438ed0
mov eax, dword [esp + 0x19c]
mov byte [eax + 0x64], 6
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
lea ecx, [0x4181e0]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xd4]
mov dword [esp], ecx
call fcn.0045e230
lea eax, [0x6a73fc]
mov dword [esp], eax
call fcn.0045e230
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 0
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.00438ed0
movzx eax, byte [0x86c0c8]
test al, al
je 0x417230
mov byte [esp], 8
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00451e70
mov ecx, dword [esp + 0x198]
mov dword [ecx + 0x78], 0
mov edx, dword [0x887d70]
test edx, edx
jne 0x417251
mov dword [ecx + 0x74], 0
jmp 0x41725f
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.0045f750
mov eax, dword [0x887ac8]
test eax, eax
jne 0x4181bc
mov eax, dword [0x88bdd8]
mov ecx, dword [0x88bddc]
mov dword [0x88d3c8], eax
mov dword [0x88d3cc], ecx
lea eax, [0x888620]
mov dword [esp], eax
movsd xmm0, qword [esp + 0x1b0]
movsd qword [esp + 4], xmm0
call fcn.0041eea0
mov eax, dword [0x888638]
mov ecx, dword [0x88863c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00423730
mov eax, dword [0x888680]
mov ecx, dword [0x888684]
mov edx, dword [0x888688]
mov ebx, dword [0x88868c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0041f730
nop
call fcn.00460660
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x60], edx
call fcn.004606a0
mov eax, dword [esp]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
add ecx, eax
mov dword [esp + 0x38], ecx
mov ebp, dword [0x8612c8]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x8612c0]
mov dword [esp + 0xc0], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ebx, dword [0x8612c4]
mov edx, dword [0x8612cc]
mov dword [0x8612c0], ecx
mov ecx, edi
sub edi, ebp
mov ebp, dword [esp + 0x60]
mov edi, ebp
sbb ebp, edx
mov edx, dword [esp + 0xc0]
add edx, esi
adc ebp, ebx
mov dword [0x8612c4], ebp
mov edx, dword [esp + 0x2c]
mov dword [0x8612bc], edx
mov dword [0x8612b8], ecx
mov edx, dword [0x8612c8]
sub ecx, edx
mov edx, dword [0x8612cc]
lea ebp, [0x88db10]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.00407eb0
lea eax, [0x88be48]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, eax, 0x3b9aca00
mov ecx, dword [esp + 0xc8]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xc4]
add edx, ebx
adc eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00401eb0
lea eax, [0x88d3c0]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00401eb0
mov eax, dword [0x88ce58]
and eax, 0xff
lea ecx, [0x88be58]
lea edx, [ecx + eax*8]
mov ebx, dword [0x8612c0]
mov ebp, dword [0x8612c4]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x88ce58]
and eax, 0xff
lea ecx, [0x88c658]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x38]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [0x88be50]
mov ecx, dword [0x8612c0]
add eax, ecx
mov ecx, dword [0x88be54]
mov edx, dword [0x8612c4]
mov dword [0x88be50], eax
adc ecx, edx
mov dword [0x88be54], ecx
mov eax, dword [0x8612a8]
mov ecx, dword [0x8612a0]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x861298]
mov dword [esp + 0xbc], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], eax
mov edi, dword [0x8886e8]
mov dword [esp + 0xc0], edi
mov esi, dword [0x8886f0]
mov dword [esp + 0xb8], esi
add edi, esi
mov dword [esp + 0xb4], edi
mov edx, dword [0x8886f8]
mov dword [esp + 0xb0], edx
add edx, edi
mov dword [esp + 0x68], edx
mov edi, dword [0x8612b8]
mov dword [esp + 0xac], edi
mov esi, dword [0x8612b0]
mov dword [esp + 0xa8], esi
sub edi, esi
mov dword [esp + 0xa4], edi
mov eax, edi
mul ebx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x64], eax
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x44]
add edi, edx
mov dword [esp + 0x9c], edi
add eax, edi
mov dword [esp + 0x78], eax
mov edi, dword [0x861270]
mov dword [esp + 0x98], edi
add edi, eax
mov dword [esp + 0x94], edi
mov eax, dword [0x8612ac]
mov edx, dword [0x8612a4]
mov ebx, dword [0x8886ec]
mov dword [esp + 0x90], ebx
mov esi, dword [0x8886f4]
mov ebx, dword [0x8886fc]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x8612bc]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x8612b4]
mov dword [esp + 0x84], ebx
mov ebx, dword [0x861274]
mov dword [esp + 0x80], ebx
mov dword [0x861270], edi
sub ebp, ecx
sbb eax, edx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
add ecx, edx
mov ecx, dword [esp + 0x90]
adc ecx, esi
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb4]
add edx, ebp
mov edx, dword [esp + 0x8c]
adc ecx, edx
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
sub edx, ebp
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
sbb edx, ebp
mov ebp, dword [esp + 0xbc]
mov esi, ebp
sar ebp, 0x1f
imul eax, esi
mov edi, dword [esp + 0xc4]
add eax, edi
mov edi, dword [esp + 0xc8]
imul edi, ebp
add eax, edi
mov dword [esp + 0xc8], eax
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x44]
add edi, ebx
adc ecx, eax
imul edx, esi
mov esi, dword [esp + 0xa0]
add edx, esi
mov esi, dword [esp + 0xa4]
imul esi, ebp
add edx, esi
mov dword [esp + 0xc4], edx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x9c]
add esi, ebp
adc ecx, edx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x78]
add esi, edi
mov esi, dword [esp + 0x80]
adc esi, ecx
mov dword [0x861274], esi
mov ecx, dword [0x862514]
mov dword [esp + 0xc0], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xb8], edi
mov edx, dword [0x887acc]
mov dword [esp + 0xbc], edx
mov eax, edi
mul edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x86251c]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x40], ebp
mov ebx, dword [0x862520]
mov dword [esp + 0x90], ebx
mov ebp, dword [0x862518]
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.004598f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc0]
sub eax, ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
sbb eax, ecx
mov ecx, dword [esp + 0xbc]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xb8]
imul ebx, ecx
mov ecx, dword [esp + 0xb4]
add ecx, ebx
imul eax, edx
add eax, ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
add ecx, edx
mov ecx, dword [esp + 0x90]
adc ecx, eax
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xcc], xmm0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004598f0
movsd xmm0, qword [esp + 0xcc]
divsd xmm0, qword [esp + 8]
movsd qword [0x88ce60], xmm0
mov dword [0x860e3c], 0
mov dword [0x860e40], 0
movzx eax, byte [0x86126c]
test al, al
je 0x4177b4
inc dword [0x88ce5c]
nop
lea eax, [0x86128c]
mov dword [esp], eax
call fcn.00409410
inc dword [0x88ce58]
lea eax, [0x861290]
mov dword [esp], eax
call fcn.0043d100
nop
nop
lea eax, [0x86128c]
mov dword [esp], eax
call fcn.00409610
call fcn.0042be90
lea eax, [0x860e44]
mov dword [esp], eax
call fcn.00421e30
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x4181a6
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x6a7400]
mov dword [esp], eax
call fcn.0045e230
call fcn.0042bf00
call fcn.00424270
lea eax, [0x6a73e4]
mov dword [esp], eax
call fcn.0045e230
lea eax, [0x6a7408]
mov dword [esp], eax
call fcn.0045e230
lea eax, [0x860e44]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.00421eb0
mov eax, dword [0x887f1c]
test eax, eax
jle 0x4178e9
movsd xmm0, qword [0x6f5c64]
mulsd xmm0, qword [0x88ce60]
movsd qword [esp + 0xcc], xmm0
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0045f9ea
call fcn.004364b0
mov ecx, dword [0x8612a0]
mov edx, dword [0x887bc0]
sub ecx, edx
mov edx, dword [0x8612a4]
mov ebx, dword [0x887bc4]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00459c40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x417963
lea eax, [0x82a514]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a30
lea eax, [0x82a4f4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a30
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x198]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x417951
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417951
mov dword [eax + 8], 0xfffffade
add esp, 0x1ac
ret
mov ecx, dword [esp + 0xb0]
mov eax, edx
mov edx, esi
test edx, edx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and ebp, esi
or ebx, ebp
test bl, bl
jne 0x41798a
cmp eax, 0x14
jl 0x417a5f
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ebp
shr edx, 3
mov dword [esp + 0xc0], edx
lea ebx, [edx + edx*4]
shl ebx, 1
sub ebp, ebx
mov eax, 0x19999999
mul ebp
mov dword [esp + 0xb8], eax
add eax, edi
lea ebx, [esi + esi*4]
shl ebx, 1
sub ecx, ebx
lea ebx, [ebp + ebp*2]
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0xb4], edx
add edx, ecx
mov dword [esp + 0xb0], edx
mov eax, edx
mov ebx, 0xa
mul ebx
mov edx, dword [esp + 0x34]
sub edx, eax
add edx, 0x30
add esi, 0
mov esi, dword [esp + 0xc0]
adc esi, 0
mov ebx, dword [esp + 0xb8]
add ebx, edi
adc esi, ebp
mov ebx, dword [esp + 0xb4]
add ebx, ecx
adc esi, 0
mov eax, dword [esp + 0x6c]
cmp eax, 0x18
jae 0x41819c
mov byte [esp + eax + 0xe0], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x417958
mov byte [esp + eax + 0xdf], 0x2e
lea edx, [eax - 2]
jmp 0x417958
add ecx, 0x30
cmp eax, 0x18
jae 0x418192
mov byte [esp + eax + 0xe0], cl
mov ecx, dword [0x88ce58]
mov dword [esp + 0xc0], ecx
lea edx, [esp + 0x150]
mov dword [esp], edx
lea edx, [eax - 0x18]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0xe0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364b0
lea eax, [0x68cc5b]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436d90
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00436a30
lea eax, [0x68c9ec]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436d90
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436d90
lea eax, [0x68caaa]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436d90
movsd xmm0, qword [esp + 0xcc]
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436b90
lea eax, [0x68cadb]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436d90
call fcn.00436520
mov eax, dword [0x8612a0]
mov ecx, dword [0x8612a4]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xf8]
mov edx, eax
xor eax, eax
call fcn.0045f9ea
mov ecx, dword [0x8612a8]
mov ebx, dword [0x8612ac]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x8612b0]
mov ebx, dword [0x8612b4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x8612b8]
mov ebx, dword [0x8612bc]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x50]
jmp 0x417c74
sub esi, edx
lea ecx, [esp + 0xe0]
mov dword [esp], ecx
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00419350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x130]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364b0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436d90
call fcn.00436520
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cmp ecx, 3
jge 0x417ce3
mov dword [esp + 0x74], ecx
lea ebp, [esp + ecx*8 + 0xf8]
mov esi, dword [ebp]
mov dword [esp + 0x4c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x50], ebp
test ecx, ecx
je 0x417be5
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
call fcn.004364b0
lea eax, [0x68c9ca]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436d90
call fcn.00436520
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x417be5
call fcn.004364b0
lea eax, [0x68e6ac]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436d90
call fcn.00436520
lea edi, [esp + 0x170]
xor eax, eax
call fcn.0045f9e6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x174], eax
mov eax, dword [0x8886e8]
mov ecx, dword [0x8886ec]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov eax, dword [0x8886f0]
mov ecx, dword [0x8886f8]
add eax, ecx
mov ecx, dword [0x8886f4]
mov edx, dword [0x8886fc]
mov dword [esp + 0x180], eax
adc ecx, edx
mov dword [esp + 0x184], ecx
mov eax, dword [0x888700]
mov ecx, dword [0x888704]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x194], eax
xor eax, eax
jmp 0x417e24
lea eax, [esp + 0xe0]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call fcn.00419350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x110]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044bc00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364b0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436d90
call fcn.00436520
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 5
jge 0x417eb5
mov dword [esp + 0x70], eax
lea ecx, [esp + eax*8 + 0x170]
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x5c], ecx
cmp eax, 2
je 0x417e4f
cmp eax, 3
jne 0x417e7c
call fcn.004364b0
lea eax, [0x68c9ce]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436d90
call fcn.00436520
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x417da5
test eax, eax
je 0x417da5
call fcn.004364b0
lea eax, [0x68c9ca]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436d90
call fcn.00436520
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x417da5
mov eax, dword [0x8612d4]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x8612d0]
mov dword [esp + 0xc4], ecx
mov edx, dword [0x8612dc]
mov dword [esp + 0xc0], edx
mov ebx, dword [0x8612d8]
mov dword [esp + 0xb8], ebx
mov ebp, dword [0x8612e4]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x8612e0]
mov dword [esp + 0xb0], esi
mov edi, dword [0x8612ec]
mov dword [esp + 0xac], edi
mov edi, dword [0x8612e8]
mov dword [esp + 0xa8], edi
mov edi, dword [0x8886ac]
mov dword [esp + 0xa4], edi
mov edi, dword [0x8886a8]
mov dword [esp + 0xa0], edi
mov edi, dword [0x8886bc]
mov dword [esp + 0x9c], edi
mov edi, dword [0x8886b8]
mov dword [esp + 0x98], edi
mov edi, dword [0x86129c]
mov dword [esp + 0xbc], edi
call fcn.004364b0
lea eax, [0x68dcbd]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436d90
mov eax, dword [esp + 0xc8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xc4]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68ca02]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436d90
mov eax, dword [esp + 0xc0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68ca02]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436d90
mov eax, dword [esp + 0xb4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68cee0]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00436d90
mov eax, dword [esp + 0xac]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68e0e3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436d90
mov eax, dword [esp + 0xa4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa0]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68ebe2]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436d90
mov eax, dword [esp + 0x9c]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x98]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.00436a30
lea eax, [0x68f209]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436d90
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436b90
lea eax, [0x68c9ee]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436d90
call fcn.00436520
movzx eax, byte [0x86126c]
test al, al
je 0x418145
call fcn.004364b0
lea eax, [0x68dc63]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436d90
call fcn.00436520
call fcn.004364b0
call fcn.004366d0
call fcn.00436520
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x4178e9
nop
lea eax, [0x887a90]
mov dword [esp], eax
call fcn.00409610
jmp 0x4178e9
mov ecx, 0x18
call fcn.0045f7d0
mov ecx, 0x18
call fcn.0045f7d0
lea eax, [0x6954bb]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434980
lea eax, [0x696382]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434980
nop
call fcn.0045e340
jmp fcn.00417030