Function at 0x417090
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 0x418233
sub esp, 0x1ac
lea eax, [0x84f1b0]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00401e60
mov eax, dword [0x84f1b0]
cmp eax, 1
jne 0x4170db
mov eax, 1
jmp 0x4170e1
cmp eax, 2
sete al
mov byte [0x84f454], al
test al, al
je 0x4170f2
mov eax, 1
jmp 0x4170f9
movzx eax, byte [0x84f455]
mov byte [0x84f450], al
mov eax, dword [0x84fd70]
mov ecx, dword [0x84fd74]
mov dword [0x828b98], eax
mov dword [0x828b9c], ecx
nop
call fcn.004602b0
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 [0x84f450]
test eax, eax
jne 0x417172
lea eax, [0x662b6e]
mov dword [ecx + 0x74], eax
jmp 0x41717d
lea eax, [0x662b6e]
call fcn.0045f3a0
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.00438ef0
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, [0x418240]
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.0045de80
lea eax, [0x67cc04]
mov dword [esp], eax
call fcn.0045de80
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.00438ef0
movzx eax, byte [0x8337a8]
test al, al
je 0x417290
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.00451ee0
mov ecx, dword [esp + 0x198]
mov dword [ecx + 0x78], 0
mov edx, dword [0x84f450]
test edx, edx
jne 0x4172b1
mov dword [ecx + 0x74], 0
jmp 0x4172bf
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.0045f3a0
mov eax, dword [0x84f1b0]
test eax, eax
jne 0x41821c
mov eax, dword [0x8534b8]
mov ecx, dword [0x8534bc]
mov dword [0x854aa8], eax
mov dword [0x854aac], ecx
lea eax, [0x84fd00]
mov dword [esp], eax
movsd xmm0, qword [esp + 0x1b0]
movsd qword [esp + 4], xmm0
call fcn.0041eee0
mov eax, dword [0x84fd18]
mov ecx, dword [0x84fd1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00423790
mov eax, dword [0x84fd60]
mov ecx, dword [0x84fd64]
mov edx, dword [0x84fd68]
mov ebx, dword [0x84fd6c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0041f770
nop
call fcn.004602b0
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.004602f0
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 [0x828b88]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x828b80]
mov dword [esp + 0xc0], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ebx, dword [0x828b84]
mov edx, dword [0x828b8c]
mov dword [0x828b80], 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 [0x828b84], ebp
mov edx, dword [esp + 0x2c]
mov dword [0x828b7c], edx
mov dword [0x828b78], ecx
mov edx, dword [0x828b88]
sub ecx, edx
mov edx, dword [0x828b8c]
lea ebp, [0x855880]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.00407eb0
lea eax, [0x853528]
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, [0x854aa0]
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 [0x854538]
and eax, 0xff
lea ecx, [0x853538]
lea edx, [ecx + eax*8]
mov ebx, dword [0x828b80]
mov ebp, dword [0x828b84]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x854538]
and eax, 0xff
lea ecx, [0x853d38]
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 [0x853530]
mov ecx, dword [0x828b80]
add eax, ecx
mov ecx, dword [0x853534]
mov edx, dword [0x828b84]
mov dword [0x853530], eax
adc ecx, edx
mov dword [0x853534], ecx
mov eax, dword [0x828b68]
mov ecx, dword [0x828b60]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x828b58]
mov dword [esp + 0xbc], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], eax
mov edi, dword [0x84fdc8]
mov dword [esp + 0xc0], edi
mov esi, dword [0x84fdd0]
mov dword [esp + 0xb8], esi
add edi, esi
mov dword [esp + 0xb4], edi
mov edx, dword [0x84fdd8]
mov dword [esp + 0xb0], edx
add edx, edi
mov dword [esp + 0x68], edx
mov edi, dword [0x828b78]
mov dword [esp + 0xac], edi
mov esi, dword [0x828b70]
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 [0x828b30]
mov dword [esp + 0x98], edi
add edi, eax
mov dword [esp + 0x94], edi
mov eax, dword [0x828b6c]
mov edx, dword [0x828b64]
mov ebx, dword [0x84fdcc]
mov dword [esp + 0x90], ebx
mov esi, dword [0x84fdd4]
mov ebx, dword [0x84fddc]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x828b7c]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x828b74]
mov dword [esp + 0x84], ebx
mov ebx, dword [0x828b34]
mov dword [esp + 0x80], ebx
mov dword [0x828b30], 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 [0x828b34], esi
mov ecx, dword [0x829bf4]
mov dword [esp + 0xc0], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xb8], edi
mov edx, dword [0x84f1b4]
mov dword [esp + 0xbc], edx
mov eax, edi
mul edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x829bfc]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x40], ebp
mov ebx, dword [0x829c00]
mov dword [esp + 0x90], ebx
mov ebp, dword [0x829bf8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.00459aa0
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.00459aa0
movsd xmm0, qword [esp + 0xcc]
divsd xmm0, qword [esp + 8]
movsd qword [0x854540], xmm0
mov dword [0x82878c], 0
mov dword [0x828790], 0
movzx eax, byte [0x828b2c]
test al, al
je 0x417814
inc dword [0x85453c]
nop
lea eax, [0x828b4c]
mov dword [esp], eax
call fcn.00409410
inc dword [0x854538]
lea eax, [0x828b50]
mov dword [esp], eax
call fcn.0043d150
nop
nop
lea eax, [0x828b4c]
mov dword [esp], eax
call fcn.00409610
call fcn.0042beb0
lea eax, [0x828794]
mov dword [esp], eax
call fcn.00421e70
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x418206
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x67cc08]
mov dword [esp], eax
call fcn.0045de80
call fcn.0042bf20
call fcn.004242d0
lea eax, [0x67cbec]
mov dword [esp], eax
call fcn.0045de80
lea eax, [0x67cc10]
mov dword [esp], eax
call fcn.0045de80
lea eax, [0x828794]
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.00421ef0
mov eax, dword [0x84f5fc]
test eax, eax
jle 0x417949
movsd xmm0, qword [0x6ceeac]
mulsd xmm0, qword [0x854540]
movsd qword [esp + 0xcc], xmm0
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0045f63a
call fcn.004364d0
mov ecx, dword [0x828b60]
mov edx, dword [0x84f2a8]
sub ecx, edx
mov edx, dword [0x828b64]
mov ebx, dword [0x84f2ac]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00459ce0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x4179c3
lea eax, [0x7f2270]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a70
lea eax, [0x7f2250]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446a70
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 0x4179b1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4179b1
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 0x4179ea
cmp eax, 0x14
jl 0x417abf
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 0x4181fc
mov byte [esp + eax + 0xe0], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x4179b8
mov byte [esp + eax + 0xdf], 0x2e
lea edx, [eax - 2]
jmp 0x4179b8
add ecx, 0x30
cmp eax, 0x18
jae 0x4181f2
mov byte [esp + eax + 0xe0], cl
mov ecx, dword [0x854538]
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.0044bc40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364d0
lea eax, [0x6627b9]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436db0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00436a50
lea eax, [0x66256c]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436db0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436db0
lea eax, [0x66261a]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436db0
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.00436bb0
lea eax, [0x662645]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436db0
call fcn.00436540
mov eax, dword [0x828b60]
mov ecx, dword [0x828b64]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xf8]
mov edx, eax
xor eax, eax
call fcn.0045f63a
mov ecx, dword [0x828b68]
mov ebx, dword [0x828b6c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x828b70]
mov ebx, dword [0x828b74]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x828b78]
mov ebx, dword [0x828b7c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x50]
jmp 0x417cd4
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.004193b0
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.0044bc40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364d0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436db0
call fcn.00436540
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 0x417d43
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 0x417c45
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
call fcn.004364d0
lea eax, [0x66254b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436db0
call fcn.00436540
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x417c45
call fcn.004364d0
lea eax, [0x663ff2]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436db0
call fcn.00436540
lea edi, [esp + 0x170]
xor eax, eax
call fcn.0045f636
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x174], eax
mov eax, dword [0x84fdc8]
mov ecx, dword [0x84fdcc]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov eax, dword [0x84fdd0]
mov ecx, dword [0x84fdd8]
add eax, ecx
mov ecx, dword [0x84fdd4]
mov edx, dword [0x84fddc]
mov dword [esp + 0x180], eax
adc ecx, edx
mov dword [esp + 0x184], ecx
mov eax, dword [0x84fde0]
mov ecx, dword [0x84fde4]
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 0x417e84
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.004193b0
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.0044bc40
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.004364d0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436db0
call fcn.00436540
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 5
jge 0x417f15
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 0x417eaf
cmp eax, 3
jne 0x417edc
call fcn.004364d0
lea eax, [0x66254f]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436db0
call fcn.00436540
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x417e05
test eax, eax
je 0x417e05
call fcn.004364d0
lea eax, [0x66254b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436db0
call fcn.00436540
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x417e05
mov eax, dword [0x828b94]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x828b90]
mov dword [esp + 0xc4], ecx
mov edx, dword [0x828b9c]
mov dword [esp + 0xc0], edx
mov ebx, dword [0x828b98]
mov dword [esp + 0xb8], ebx
mov ebp, dword [0x828ba4]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x828ba0]
mov dword [esp + 0xb0], esi
mov edi, dword [0x828bac]
mov dword [esp + 0xac], edi
mov edi, dword [0x828ba8]
mov dword [esp + 0xa8], edi
mov edi, dword [0x84fd8c]
mov dword [esp + 0xa4], edi
mov edi, dword [0x84fd88]
mov dword [esp + 0xa0], edi
mov edi, dword [0x84fd9c]
mov dword [esp + 0x9c], edi
mov edi, dword [0x84fd98]
mov dword [esp + 0x98], edi
mov edi, dword [0x828b5c]
mov dword [esp + 0xbc], edi
call fcn.004364d0
lea eax, [0x6636ff]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436db0
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.00436a50
lea eax, [0x662584]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436db0
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.00436a50
lea eax, [0x662584]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436db0
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.00436a50
lea eax, [0x6629ed]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00436db0
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.00436a50
lea eax, [0x663a83]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436db0
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.00436a50
lea eax, [0x6644fc]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436db0
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.00436a50
lea eax, [0x664bbd]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436db0
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436bb0
lea eax, [0x66256e]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436db0
call fcn.00436540
movzx eax, byte [0x828b2c]
test al, al
je 0x4181a5
call fcn.004364d0
lea eax, [0x6636a5]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436db0
call fcn.00436540
call fcn.004364d0
call fcn.004366f0
call fcn.00436540
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 0x417949
nop
lea eax, [0x84f178]
mov dword [esp], eax
call fcn.00409610
jmp 0x417949
mov ecx, 0x18
call fcn.0045f420
mov ecx, 0x18
call fcn.0045f420
lea eax, [0x66b94a]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004349a0
lea eax, [0x66c96a]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004349a0
nop
call fcn.0045df90
jmp fcn.00417090