Function at 0x416a40
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 0x417be3
sub esp, 0x1ac
lea eax, [0x84c34c]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00401e20
mov eax, dword [0x84c34c]
cmp eax, 1
jne 0x416a8b
mov eax, 1
jmp 0x416a91
cmp eax, 2
sete al
mov byte [0x84c5a4], al
test al, al
je 0x416aa2
mov eax, 1
jmp 0x416aa9
movzx eax, byte [0x84c5a5]
mov byte [0x84c5a0], al
mov eax, dword [0x84ced0]
mov ecx, dword [0x84ced4]
mov dword [0x826558], eax
mov dword [0x82655c], ecx
nop
call fcn.0045f830
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 [0x84c5a0]
test eax, eax
jne 0x416b22
lea eax, [0x63d27a]
mov dword [ecx + 0x74], eax
jmp 0x416b2d
lea eax, [0x63d27a]
call fcn.0045e940
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.004387d0
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, [0x417bf0]
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.0045d420
lea eax, [0x65c480]
mov dword [esp], eax
call fcn.0045d420
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.004387d0
movzx eax, byte [0x830948]
test al, al
je 0x416c40
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.00451880
mov ecx, dword [esp + 0x198]
mov dword [ecx + 0x78], 0
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x416c61
mov dword [ecx + 0x74], 0
jmp 0x416c6f
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.0045e940
mov eax, dword [0x84c34c]
test eax, eax
jne 0x417bcc
mov eax, dword [0x84fe18]
mov ecx, dword [0x84fe1c]
mov dword [0x851408], eax
mov dword [0x85140c], ecx
lea eax, [0x84ce60]
mov dword [esp], eax
movsd xmm0, qword [esp + 0x1b0]
movsd qword [esp + 4], xmm0
call fcn.0041e890
mov eax, dword [0x84ce78]
mov ecx, dword [0x84ce7c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00423140
mov eax, dword [0x84cec0]
mov ecx, dword [0x84cec4]
mov edx, dword [0x84cec8]
mov ebx, dword [0x84cecc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0041f120
nop
call fcn.0045f830
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.0045f870
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 [0x826548]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x826540]
mov dword [esp + 0xc0], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ebx, dword [0x826544]
mov edx, dword [0x82654c]
mov dword [0x826540], 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 [0x826544], ebp
mov edx, dword [esp + 0x2c]
mov dword [0x82653c], edx
mov dword [0x826538], ecx
mov edx, dword [0x826548]
sub ecx, edx
mov edx, dword [0x82654c]
lea ebp, [0x8521e0]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.00407e70
lea eax, [0x84fe88]
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.00401e70
lea eax, [0x851400]
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.00401e70
mov eax, dword [0x850e98]
and eax, 0xff
lea ecx, [0x84fe98]
lea edx, [ecx + eax*8]
mov ebx, dword [0x826540]
mov ebp, dword [0x826544]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x850e98]
and eax, 0xff
lea ecx, [0x850698]
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 [0x84fe90]
mov ecx, dword [0x826540]
add eax, ecx
mov ecx, dword [0x84fe94]
mov edx, dword [0x826544]
mov dword [0x84fe90], eax
adc ecx, edx
mov dword [0x84fe94], ecx
mov eax, dword [0x826528]
mov ecx, dword [0x826520]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x826518]
mov dword [esp + 0xbc], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], eax
mov edi, dword [0x84cf28]
mov dword [esp + 0xc0], edi
mov esi, dword [0x84cf30]
mov dword [esp + 0xb8], esi
add edi, esi
mov dword [esp + 0xb4], edi
mov edx, dword [0x84cf38]
mov dword [esp + 0xb0], edx
add edx, edi
mov dword [esp + 0x68], edx
mov edi, dword [0x826538]
mov dword [esp + 0xac], edi
mov esi, dword [0x826530]
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 [0x8264f0]
mov dword [esp + 0x98], edi
add edi, eax
mov dword [esp + 0x94], edi
mov eax, dword [0x82652c]
mov edx, dword [0x826524]
mov ebx, dword [0x84cf2c]
mov dword [esp + 0x90], ebx
mov esi, dword [0x84cf34]
mov ebx, dword [0x84cf3c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x82653c]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x826534]
mov dword [esp + 0x84], ebx
mov ebx, dword [0x8264f4]
mov dword [esp + 0x80], ebx
mov dword [0x8264f0], 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 [0x8264f4], esi
mov ecx, dword [0x826d94]
mov dword [esp + 0xc0], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xb8], edi
mov edx, dword [0x84c350]
mov dword [esp + 0xbc], edx
mov eax, edi
mul edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x826d9c]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x40], ebp
mov ebx, dword [0x826da0]
mov dword [esp + 0x90], ebx
mov ebp, dword [0x826d98]
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.00459440
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.00459440
movsd xmm0, qword [esp + 0xcc]
divsd xmm0, qword [esp + 8]
movsd qword [0x850ea0], xmm0
mov dword [0x8261dc], 0
mov dword [0x8261e0], 0
movzx eax, byte [0x8264ec]
test al, al
je 0x4171c4
inc dword [0x850e9c]
nop
lea eax, [0x82650c]
mov dword [esp], eax
call fcn.00409320
inc dword [0x850e98]
lea eax, [0x826510]
mov dword [esp], eax
call fcn.0043ca30
nop
nop
lea eax, [0x82650c]
mov dword [esp], eax
call fcn.00409520
call fcn.0042b860
lea eax, [0x8261e4]
mov dword [esp], eax
call fcn.00421820
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x417bb6
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x65c484]
mov dword [esp], eax
call fcn.0045d420
call fcn.0042b8d0
call fcn.00423c80
lea eax, [0x65c468]
mov dword [esp], eax
call fcn.0045d420
lea eax, [0x65c48c]
mov dword [esp], eax
call fcn.0045d420
lea eax, [0x8261e4]
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.004218a0
mov eax, dword [0x84c75c]
test eax, eax
jle 0x4172f9
movsd xmm0, qword [0x6a4604]
mulsd xmm0, qword [0x850ea0]
movsd qword [esp + 0xcc], xmm0
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0045ebba
call fcn.00435db0
mov ecx, dword [0x826520]
mov edx, dword [0x84c448]
sub ecx, edx
mov edx, dword [0x826524]
mov ebx, dword [0x84c44c]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00459680
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x417373
lea eax, [0x7ef844]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446350
lea eax, [0x7ef824]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00446350
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 0x417361
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417361
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 0x41739a
cmp eax, 0x14
jl 0x41746f
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 0x417bac
mov byte [esp + eax + 0xe0], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x417368
mov byte [esp + eax + 0xdf], 0x2e
lea edx, [eax - 2]
jmp 0x417368
add ecx, 0x30
cmp eax, 0x18
jae 0x417ba2
mov byte [esp + eax + 0xe0], cl
mov ecx, dword [0x850e98]
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.0044b5e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00435db0
lea eax, [0x63c3ea]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436690
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00436330
lea eax, [0x63bf37]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436690
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436690
lea eax, [0x63c02b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436690
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.00436490
lea eax, [0x63c19b]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436690
call fcn.00435e20
mov eax, dword [0x826520]
mov ecx, dword [0x826524]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xf8]
mov edx, eax
xor eax, eax
call fcn.0045ebba
mov ecx, dword [0x826528]
mov ebx, dword [0x82652c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x826530]
mov ebx, dword [0x826534]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x826538]
mov ebx, dword [0x82653c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x50]
jmp 0x417684
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.00418d60
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.0044b5e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00435db0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436690
call fcn.00435e20
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 0x4176f3
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 0x4175f5
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
call fcn.00435db0
lea eax, [0x63bf1a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436690
call fcn.00435e20
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x4175f5
call fcn.00435db0
lea eax, [0x6413de]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436690
call fcn.00435e20
lea edi, [esp + 0x170]
xor eax, eax
call fcn.0045ebb6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x174], eax
mov eax, dword [0x84cf28]
mov ecx, dword [0x84cf2c]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov eax, dword [0x84cf30]
mov ecx, dword [0x84cf38]
add eax, ecx
mov ecx, dword [0x84cf34]
mov edx, dword [0x84cf3c]
mov dword [esp + 0x180], eax
adc ecx, edx
mov dword [esp + 0x184], ecx
mov eax, dword [0x84cf40]
mov ecx, dword [0x84cf44]
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 0x417834
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.00418d60
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.0044b5e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00435db0
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00436690
call fcn.00435e20
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 5
jge 0x4178c5
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 0x41785f
cmp eax, 3
jne 0x41788c
call fcn.00435db0
lea eax, [0x63bf1e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436690
call fcn.00435e20
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x4177b5
test eax, eax
je 0x4177b5
call fcn.00435db0
lea eax, [0x63bf1a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436690
call fcn.00435e20
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x4177b5
mov eax, dword [0x826554]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x826550]
mov dword [esp + 0xc4], ecx
mov edx, dword [0x82655c]
mov dword [esp + 0xc0], edx
mov ebx, dword [0x826558]
mov dword [esp + 0xb8], ebx
mov ebp, dword [0x826564]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x826560]
mov dword [esp + 0xb0], esi
mov edi, dword [0x82656c]
mov dword [esp + 0xac], edi
mov edi, dword [0x826568]
mov dword [esp + 0xa8], edi
mov edi, dword [0x84ceec]
mov dword [esp + 0xa4], edi
mov edi, dword [0x84cee8]
mov dword [esp + 0xa0], edi
mov edi, dword [0x84cefc]
mov dword [esp + 0x9c], edi
mov edi, dword [0x84cef8]
mov dword [esp + 0x98], edi
mov edi, dword [0x82651c]
mov dword [esp + 0xbc], edi
call fcn.00435db0
lea eax, [0x6401bb]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436690
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.00436330
lea eax, [0x63bf4b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436690
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.00436330
lea eax, [0x63bf4b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436690
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.00436330
lea eax, [0x63ccc6]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00436690
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.00436330
lea eax, [0x640acd]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436690
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.00436330
lea eax, [0x641eca]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436690
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.00436330
lea eax, [0x642ce9]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436690
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436490
lea eax, [0x63bf39]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436690
call fcn.00435e20
movzx eax, byte [0x8264ec]
test al, al
je 0x417b55
call fcn.00435db0
lea eax, [0x640161]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436690
call fcn.00435e20
call fcn.00435db0
call fcn.00435fd0
call fcn.00435e20
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 0x4172f9
nop
lea eax, [0x84c314]
mov dword [esp], eax
call fcn.00409520
jmp 0x4172f9
mov ecx, 0x18
call fcn.0045e9c0
mov ecx, 0x18
call fcn.0045e9c0
lea eax, [0x64c0e9]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00434350
lea eax, [0x64d02d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434350
nop
call fcn.0045d530
jmp fcn.00416a40