Function at 0x414eb0
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 0x416053
sub esp, 0x1ac
lea eax, [0x582148]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00401e10
mov eax, dword [0x582148]
cmp eax, 1
jne 0x414efb
mov eax, 1
jmp 0x414f01
cmp eax, 2
sete al
mov byte [0x5822c4], al
test al, al
je 0x414f12
mov eax, 1
jmp 0x414f19
movzx eax, byte [0x5822c5]
mov byte [0x5822c0], al
mov eax, dword [0x582950]
mov ecx, dword [0x582954]
mov dword [0x55c898], eax
mov dword [0x55c89c], ecx
nop
call fcn.0045a150
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 [0x5822c0]
test eax, eax
jne 0x414f92
lea eax, [0x4b7884]
mov dword [ecx + 0x74], eax
jmp 0x414f9d
lea eax, [0x4b7884]
call fcn.00459310
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.00436140
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, [0x416060]
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.00457df0
lea eax, [0x4c3330]
mov dword [esp], eax
call fcn.00457df0
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.00436140
movzx eax, byte [0x566768]
test al, al
je 0x4150b0
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.0044d550
mov ecx, dword [esp + 0x198]
mov dword [ecx + 0x78], 0
mov edx, dword [0x5822c0]
test edx, edx
jne 0x4150d1
mov dword [ecx + 0x74], 0
jmp 0x4150df
mov edi, dword [esp + 0x1a8]
xor eax, eax
call fcn.00459310
mov eax, dword [0x582148]
test eax, eax
jne 0x41603c
mov eax, dword [0x583a78]
mov ecx, dword [0x583a7c]
mov dword [0x585068], eax
mov dword [0x58506c], ecx
lea eax, [0x5828e0]
mov dword [esp], eax
movsd xmm0, qword [esp + 0x1b0]
movsd qword [esp + 4], xmm0
call fcn.0041cd20
mov eax, dword [0x5828f8]
mov ecx, dword [0x5828fc]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004215b0
mov eax, dword [0x582940]
mov ecx, dword [0x582944]
mov edx, dword [0x582948]
mov ebx, dword [0x58294c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.0041d5b0
nop
call fcn.0045a150
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.0045a190
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 [0x55c888]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0x55c880]
mov dword [esp + 0xc0], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ebx, dword [0x55c884]
mov edx, dword [0x55c88c]
mov dword [0x55c880], 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 [0x55c884], ebp
mov edx, dword [esp + 0x2c]
mov dword [0x55c87c], edx
mov dword [0x55c878], ecx
mov edx, dword [0x55c888]
sub ecx, edx
mov edx, dword [0x55c88c]
lea ebp, [0x5857b0]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.004078c0
lea eax, [0x583ae8]
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.00401e60
lea eax, [0x585060]
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.00401e60
mov eax, dword [0x584af8]
and eax, 0xff
lea ecx, [0x583af8]
lea edx, [ecx + eax*8]
mov ebx, dword [0x55c880]
mov ebp, dword [0x55c884]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0x584af8]
and eax, 0xff
lea ecx, [0x5842f8]
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 [0x583af0]
mov ecx, dword [0x55c880]
add eax, ecx
mov ecx, dword [0x583af4]
mov edx, dword [0x55c884]
mov dword [0x583af0], eax
adc ecx, edx
mov dword [0x583af4], ecx
mov eax, dword [0x55c868]
mov ecx, dword [0x55c860]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xc8], eax
mov ebx, dword [0x55c858]
mov dword [esp + 0xbc], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], eax
mov edi, dword [0x5829a8]
mov dword [esp + 0xc0], edi
mov esi, dword [0x5829b0]
mov dword [esp + 0xb8], esi
add edi, esi
mov dword [esp + 0xb4], edi
mov edx, dword [0x5829b8]
mov dword [esp + 0xb0], edx
add edx, edi
mov dword [esp + 0x68], edx
mov edi, dword [0x55c878]
mov dword [esp + 0xac], edi
mov esi, dword [0x55c870]
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 [0x55c830]
mov dword [esp + 0x98], edi
add edi, eax
mov dword [esp + 0x94], edi
mov eax, dword [0x55c86c]
mov edx, dword [0x55c864]
mov ebx, dword [0x5829ac]
mov dword [esp + 0x90], ebx
mov esi, dword [0x5829b4]
mov ebx, dword [0x5829bc]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0x55c87c]
mov dword [esp + 0x88], ebx
mov ebx, dword [0x55c874]
mov dword [esp + 0x84], ebx
mov ebx, dword [0x55c834]
mov dword [esp + 0x80], ebx
mov dword [0x55c830], 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 [0x55c834], esi
mov ecx, dword [0x55cbb4]
mov dword [esp + 0xc0], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xb8], edi
mov edx, dword [0x58214c]
mov dword [esp + 0xbc], edx
mov eax, edi
mul edx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov ebp, dword [0x55cbbc]
mov dword [esp + 0xac], ebp
add ebp, eax
mov dword [esp + 0x40], ebp
mov ebx, dword [0x55cbc0]
mov dword [esp + 0x90], ebx
mov ebp, dword [0x55cbb8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x94]
mov dword [esp], esi
call fcn.00454fd0
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.00454fd0
movsd xmm0, qword [esp + 0xcc]
divsd xmm0, qword [esp + 8]
movsd qword [0x584b00], xmm0
mov dword [0x55c5bc], 0
mov dword [0x55c5c0], 0
movzx eax, byte [0x55c82c]
test al, al
je 0x415634
inc dword [0x584afc]
nop
lea eax, [0x55c84c]
mov dword [esp], eax
call fcn.00408c20
inc dword [0x584af8]
lea eax, [0x55c850]
mov dword [esp], eax
call fcn.0043a370
nop
nop
lea eax, [0x55c84c]
mov dword [esp], eax
call fcn.00408e20
call fcn.00429d10
lea eax, [0x55c5c4]
mov dword [esp], eax
call fcn.0041fcb0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x416026
mov byte [esp + 0x23], cl
mov dword [esp + 0xc0], eax
lea eax, [0x4c3334]
mov dword [esp], eax
call fcn.00457df0
call fcn.00429d80
call fcn.004220f0
lea eax, [0x4c3318]
mov dword [esp], eax
call fcn.00457df0
lea eax, [0x4c333c]
mov dword [esp], eax
call fcn.00457df0
lea eax, [0x55c5c4]
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.0041fd30
mov eax, dword [0x58241c]
test eax, eax
jle 0x415769
movsd xmm0, qword [0x4e1ec8]
mulsd xmm0, qword [0x584b00]
movsd qword [esp + 0xcc], xmm0
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.004594da
call fcn.00433720
mov ecx, dword [0x55c860]
mov edx, dword [0x582238]
sub ecx, edx
mov edx, dword [0x55c864]
mov ebx, dword [0x58223c]
sbb edx, ebx
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00455210
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x4157e3
lea eax, [0x5462e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004424e0
lea eax, [0x5462c0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004424e0
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 0x4157d1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4157d1
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 0x41580a
cmp eax, 0x14
jl 0x4158df
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 0x41601c
mov byte [esp + eax + 0xe0], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x4157d8
mov byte [esp + eax + 0xdf], 0x2e
lea edx, [eax - 2]
jmp 0x4157d8
add ecx, 0x30
cmp eax, 0x18
jae 0x416012
mov byte [esp + eax + 0xe0], cl
mov ecx, dword [0x584af8]
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.00447620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00433720
lea eax, [0x4b7613]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434000
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00433ca0
lea eax, [0x4b74a3]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00434000
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00434000
lea eax, [0x4b750b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00434000
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.00433e00
lea eax, [0x4b752f]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434000
call fcn.00433790
mov eax, dword [0x55c860]
mov ecx, dword [0x55c864]
mov dword [esp + 0x50], ecx
lea edi, [esp + 0xf8]
mov edx, eax
xor eax, eax
call fcn.004594da
mov ecx, dword [0x55c868]
mov ebx, dword [0x55c86c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x55c870]
mov ebx, dword [0x55c874]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
mov ecx, dword [0x55c878]
mov ebx, dword [0x55c87c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x50]
jmp 0x415af4
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.004171d0
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.00447620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00433720
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00434000
call fcn.00433790
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 0x415b63
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 0x415a65
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ebx
call fcn.00433720
lea eax, [0x4b7487]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00434000
call fcn.00433790
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xbc]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
jmp 0x415a65
call fcn.00433720
lea eax, [0x4b88b9]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434000
call fcn.00433790
lea edi, [esp + 0x170]
xor eax, eax
call fcn.004594d6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x174], eax
mov eax, dword [0x5829a8]
mov ecx, dword [0x5829ac]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], ecx
mov eax, dword [0x5829b0]
mov ecx, dword [0x5829b8]
add eax, ecx
mov ecx, dword [0x5829b4]
mov edx, dword [0x5829bc]
mov dword [esp + 0x180], eax
adc ecx, edx
mov dword [esp + 0x184], ecx
mov eax, dword [0x5829c0]
mov ecx, dword [0x5829c4]
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 0x415ca4
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.004171d0
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.00447620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ecx
call fcn.00433720
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.00434000
call fcn.00433790
mov eax, dword [esp + 0x70]
inc eax
cmp eax, 5
jge 0x415d35
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 0x415ccf
cmp eax, 3
jne 0x415cfc
call fcn.00433720
lea eax, [0x4b748b]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00434000
call fcn.00433790
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x415c25
test eax, eax
je 0x415c25
call fcn.00433720
lea eax, [0x4b7487]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00434000
call fcn.00433790
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
jmp 0x415c25
mov eax, dword [0x55c894]
mov dword [esp + 0xc8], eax
mov ecx, dword [0x55c890]
mov dword [esp + 0xc4], ecx
mov edx, dword [0x55c89c]
mov dword [esp + 0xc0], edx
mov ebx, dword [0x55c898]
mov dword [esp + 0xb8], ebx
mov ebp, dword [0x55c8a4]
mov dword [esp + 0xb4], ebp
mov esi, dword [0x55c8a0]
mov dword [esp + 0xb0], esi
mov edi, dword [0x55c8ac]
mov dword [esp + 0xac], edi
mov edi, dword [0x55c8a8]
mov dword [esp + 0xa8], edi
mov edi, dword [0x58296c]
mov dword [esp + 0xa4], edi
mov edi, dword [0x582968]
mov dword [esp + 0xa0], edi
mov edi, dword [0x58297c]
mov dword [esp + 0x9c], edi
mov edi, dword [0x582978]
mov dword [esp + 0x98], edi
mov edi, dword [0x55c85c]
mov dword [esp + 0xbc], edi
call fcn.00433720
lea eax, [0x4b8100]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00434000
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.00433ca0
lea eax, [0x4b74b3]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00434000
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.00433ca0
lea eax, [0x4b74b3]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00434000
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.00433ca0
lea eax, [0x4b7794]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00434000
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.00433ca0
lea eax, [0x4b8445]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00434000
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.00433ca0
lea eax, [0x4b8d33]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00434000
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.00433ca0
lea eax, [0x4b9304]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00434000
mov eax, dword [esp + 0xbc]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00433e00
lea eax, [0x4b74a5]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00434000
call fcn.00433790
movzx eax, byte [0x55c82c]
test al, al
je 0x415fc5
call fcn.00433720
lea eax, [0x4b80a6]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00434000
call fcn.00433790
call fcn.00433720
call fcn.00433940
call fcn.00433790
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 0x415769
nop
lea eax, [0x582110]
mov dword [esp], eax
call fcn.00408e20
jmp 0x415769
mov ecx, 0x18
call fcn.00459390
mov ecx, 0x18
call fcn.00459390
lea eax, [0x4be534]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004320d0
lea eax, [0x4bede6]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004320d0
nop
call fcn.00457f00
jmp fcn.00414eb0