Function at 0x417620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5caff0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x120]
cmp eax, dword [ecx + 8]
jbe 0x418767
sub esp, 0x1a0
nop
lea eax, [0x5caf14]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402b60
mov eax, dword [0x5caf14]
cmp eax, 1
jne 0x41766a
mov eax, 1
jmp 0x417670
cmp eax, 2
sete al
mov byte [0x5cb0f4], al
mov byte [0x5cb0f0], al
lea eax, [0x5cb788]
mov dword [esp], eax
call fcn.00402b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5a6754], eax
mov dword [0x5a6750], ecx
nop
call fcn.00463f60
mov eax, dword [0x5caff0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x54], edx
mov ebx, dword [esp]
mov dword [esp + 0x38], ebx
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 5
mov ecx, dword [0x5cb0f0]
test ecx, ecx
je 0x4176e3
mov ecx, dword [eax + 0x74]
call fcn.004631c0
mov dword [edi], ecx
mov dword [esp + 0x190], eax
lea ecx, [0x4dedff]
mov dword [eax + 0x74], ecx
mov byte [eax + 0x9d], 2
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x198], ecx
nop
mov byte [ecx + 0x64], 6
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.0043b820
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [0x418780]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xcc]
mov dword [esp], eax
call fcn.00461cd0
lea eax, [0x4eb998]
mov dword [esp], eax
call fcn.00461cd0
mov eax, dword [esp + 0x190]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x198]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.0043b820
movzx eax, byte [0x5af564]
test al, al
je 0x4177e4
nop
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.004548b0
mov eax, dword [esp + 0x190]
mov dword [eax + 0x78], 0
mov ecx, dword [0x5cb0f0]
test ecx, ecx
je 0x417806
mov ecx, dword [eax + 0x74]
call fcn.004631c0
mov dword [edi], ecx
mov dword [eax + 0x74], 0
mov ecx, dword [0x5caf14]
test ecx, ecx
jne 0x418750
lea eax, [0x5cb830]
mov dword [esp], eax
call fcn.00402b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5d06ec], eax
mov dword [0x5d06e8], ecx
lea eax, [0x4eb984]
mov dword [esp], eax
call fcn.00461cd0
nop
call fcn.00463f60
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [esp]
mov dword [esp + 0x34], edx
call fcn.00463fd0
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, eax
mov eax, ecx
mov ebx, 0x3b9aca00
mov ecx, edx
mul ebx
mov ebx, dword [esp + 4]
imul ebx, ebx, 0x3b9aca00
add edx, ebx
mov ebx, ecx
sar ecx, 0x1f
mov ebp, dword [0x5a6738]
mov esi, dword [0x5a673c]
mov dword [esp + 0xc0], esi
mov edi, dword [0x5a6740]
mov esi, dword [0x5a6744]
add ebx, eax
mov dword [esp + 0x60], ebx
adc edx, ecx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
mov ecx, eax
sub eax, edi
mov edi, dword [esp + 0x3c]
sbb edi, esi
add ebp, eax
mov dword [0x5a6738], ebp
mov eax, dword [esp + 0xc0]
adc edi, eax
mov dword [0x5a673c], edi
mov eax, dword [esp + 0x50]
mov dword [0x5a6734], eax
mov dword [0x5a6730], ecx
mov ebp, dword [0x5a6740]
mov esi, dword [0x5a6744]
lea edi, [0x5d06f8]
mov dword [esp], edi
sub ecx, ebp
mov ebp, dword [esp + 0x3c]
sbb ebp, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
call fcn.004082d0
lea eax, [0x5cf6c0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00402bb0
lea eax, [0x5d06e0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00402bb0
mov eax, dword [0x5d06d0]
and eax, 0xff
lea ecx, [0x5cf6d0]
lea edx, [ecx + eax*8]
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [0x5a6738]
mov ebx, dword [0x5a673c]
mov dword [edx], ecx
mov dword [eax], ebx
mov eax, dword [0x5d06d0]
and eax, 0xff
lea ecx, [0x5cfed0]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, dword [0x5cf6c8]
mov ecx, dword [0x5cf6cc]
mov edx, dword [0x5a6738]
mov ebx, dword [0x5a673c]
add eax, edx
mov dword [0x5cf6c8], eax
adc ecx, ebx
mov dword [0x5cf6cc], ecx
mov eax, dword [0x5a6710]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [0x5a6730]
mov ebx, dword [0x5a6734]
mov ebp, dword [0x5a6728]
mov esi, dword [0x5a672c]
mov edi, dword [0x5a6778]
mov dword [esp + 0xbc], edi
mov edi, dword [0x5a677c]
sub edx, ebp
sbb ebx, esi
mov ebp, edx
mov esi, eax
mul edx
mov dword [esp + 0x78], eax
imul ebx, esi
add edx, ebx
imul ecx, ebp
add ecx, edx
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xbc]
add edx, eax
mov dword [0x5a6778], edx
adc edi, ecx
mov dword [0x5a677c], edi
mov edx, dword [0x5a6780]
mov ebx, dword [0x5a6784]
add edx, eax
mov dword [0x5a6780], edx
adc ebx, ecx
mov dword [0x5a6784], ebx
lea edx, [0x5a6760]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov byte [esp + 0xc], 1
call fcn.00430d00
mov eax, dword [0x5a6780]
mov ecx, dword [0x5a6784]
mov edx, dword [0x5a6770]
mov ebx, dword [0x5a6774]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045c120
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xc4], xmm0
mov eax, dword [0x5a67b0]
mov ecx, dword [0x5a67b4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045c120
movsd xmm0, qword [esp + 0xc4]
divsd xmm0, qword [esp + 8]
movsd qword [0x5d06d8], xmm0
nop
lea eax, [0x5cb1d0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029d0
nop
lea eax, [0x5cb1d8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029d0
nop
lea eax, [0x5a6fe0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.004029d0
mov dword [0x5a63bc], 0
mov dword [0x5a63c0], 0
movzx eax, byte [0x5a66ec]
test al, al
je 0x417b5f
inc dword [0x5d06d4]
nop
nop
lea eax, [0x5a6704]
mov dword [esp], eax
call fcn.004099a0
inc dword [0x5d06d0]
lea eax, [0x5a6708]
mov dword [esp], eax
call fcn.004401d0
nop
nop
lea eax, [0x5a6704]
mov dword [esp], eax
call fcn.00409ba0
lea eax, [0x5aaf20]
mov dword [esp], eax
call fcn.004235a0
lea eax, [0x5cb260]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00419da0
nop
lea eax, [0x5caf2c]
mov dword [esp], eax
call fcn.0042e230
lea eax, [0x5a63c4]
mov dword [esp], eax
call fcn.004241b0
movzx eax, byte [esp + 8]
test al, al
je 0x41873a
mov byte [esp + 0x23], al
mov eax, dword [esp + 4]
mov dword [esp + 0xbc], eax
lea ecx, [0x4eb99c]
mov dword [esp], ecx
call fcn.00461cd0
call fcn.0042e7c0
call fcn.00426a30
lea eax, [0x4eb978]
mov dword [esp], eax
call fcn.00461cd0
lea eax, [0x4eb9a0]
mov dword [esp], eax
call fcn.00461cd0
lea eax, [0x5a63c4]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.00424230
mov eax, dword [0x5cb340]
test eax, eax
jle 0x4185d9
movsd xmm0, qword [0x506350]
mulsd xmm0, qword [0x5d06d8]
movsd qword [esp + 0xc4], xmm0
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.0046340a
call fcn.00438a40
mov ecx, dword [0x5a6718]
mov edx, dword [0x5a671c]
mov ebx, dword [0x5cb040]
mov ebp, dword [0x5cb044]
sub ecx, ebx
sbb edx, ebp
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045c360
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x417cd6
adc ebp, 0
mov eax, edx
mov edx, ebp
test edx, edx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp ecx, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x417cff
cmp eax, 0x14
jl 0x417db6
mov dword [esp + 0x58], ecx
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
mov eax, 0xcccccccd
mov esi, edx
mul ebp
shr esi, 3
lea edi, [esi + esi*4]
shr edx, 3
mov dword [esp + 0xbc], edx
lea eax, [edx + edx*4]
shl edi, 1
sub ecx, edi
shl eax, 1
sub ebp, eax
mov eax, ebp
mov edi, 0x19999999
mul edi
mov dword [esp + 0xb4], edx
lea ebp, [ebp + ebp*2]
lea ebp, [ecx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mul ebp
shr edx, 3
add esi, 0
mov ebp, dword [esp + 0xbc]
adc ebp, 0
add esi, ecx
mov edi, dword [esp + 0xb4]
adc ebp, edi
mov edi, edx
add edx, esi
mov eax, 0xa
mov ecx, edx
mul edx
mov edx, dword [esp + 0x58]
sub edx, eax
add edx, 0x30
cmp ebx, 0x18
jae 0x41872e
mov byte [esp + ebx + 0xd8], dl
lea edx, [ebx - 1]
cmp ebx, 0x15
jne 0x417daf
mov byte [esp + ebx + 0xd7], 0x2e
add edi, esi
mov edx, 0x13
jmp 0x417ccf
add edi, esi
jmp 0x417ccf
add ecx, 0x30
cmp eax, 0x18
jae 0x418724
mov byte [esp + eax + 0xd8], cl
movsd xmm0, qword [esp + 0xc4]
cvttsd2si ecx, xmm0
mov dword [esp + 0x5c], ecx
sar ecx, 0x1f
mov dword [esp + 0xc0], ecx
mov ebx, dword [0x5d06d0]
mov dword [esp + 0xbc], ebx
lea ebp, [esp + 0x148]
mov dword [esp], ebp
lea ebp, [eax - 0x18]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
lea eax, [esp + eax + 0xd8]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044e9c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
call fcn.00438a40
lea eax, [0x4debde]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004392c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4deafe]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004392c0
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.004392c0
lea eax, [0x4deb00]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004392c0
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004390e0
lea eax, [0x4debe1]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004392c0
call fcn.00438aa0
mov eax, dword [0x5a6718]
mov ecx, dword [0x5a671c]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0xf0]
mov edx, eax
xor eax, eax
call fcn.0046340a
mov ecx, dword [0x5a6720]
mov ebx, dword [0x5a6724]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ebx
mov ecx, dword [0x5a6728]
mov ebx, dword [0x5a672c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x5a6730]
mov ebx, dword [0x5a6734]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x417ffb
lea eax, [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
inc ecx
mov dword [esp + 0xb0], ecx
sub esi, edx
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00419890
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x128]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044e9c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xac], ecx
call fcn.00438a40
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004392c0
call fcn.00438aa0
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, 3
jge 0x418074
lea ebp, [esp + ecx*8 + 0xf0]
mov esi, dword [ebp]
mov dword [esp + 0x68], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x6c], ebp
test ecx, ecx
je 0x417f5e
mov dword [esp + 0x80], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
call fcn.00438a40
lea eax, [0x4dead5]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004392c0
call fcn.00438aa0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x417f5e
call fcn.00438a40
lea eax, [0x4dfba1]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004392c0
call fcn.00438aa0
nop
lea eax, [0x5cb7e0]
mov dword [esp], eax
call fcn.00402a10
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x5cb7e8]
mov dword [esp], edx
call fcn.00402a10
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x5cb7f0]
mov dword [esp], edx
call fcn.00402a10
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
nop
lea edx, [0x5cb7f8]
mov dword [esp], edx
call fcn.00402a10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x168]
mov edx, eax
xor eax, eax
call fcn.00463406
mov eax, dword [0x5a6710]
mov ecx, eax
sar ecx, 0x1f
mov ebx, dword [0x5a6720]
mov ebp, dword [0x5a6724]
mov esi, dword [0x5a6718]
mov edi, dword [0x5a671c]
sub ebx, esi
sbb ebp, edi
mov esi, edx
mov edi, eax
mul ebx
mov dword [esp + 0x168], eax
imul edi, ebp
lea eax, [edi + edx]
imul ecx, ebx
add eax, ecx
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
adc eax, ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x184], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18c], eax
xor eax, eax
jmp 0x41824f
lea eax, [esp + 0xd8]
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.00419890
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x108]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044e9c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
call fcn.00438a40
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.004392c0
call fcn.00438aa0
mov eax, dword [esp + 0x7c]
inc eax
cmp eax, 5
jge 0x4182e0
mov dword [esp + 0x7c], eax
lea ecx, [esp + eax*8 + 0x168]
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
cmp eax, 2
je 0x41827a
cmp eax, 3
jne 0x4182a7
call fcn.00438a40
lea eax, [0x4dead8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004392c0
call fcn.00438aa0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4181ca
test eax, eax
je 0x4181ca
call fcn.00438a40
lea eax, [0x4dead5]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004392c0
call fcn.00438aa0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4181ca
lea eax, [0x5cb7a0]
mov dword [esp], eax
call fcn.00402b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xbc], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xb8], eax
lea ecx, [0x5cb7b0]
mov dword [esp], ecx
call fcn.00402b90
mov eax, dword [0x5a674c]
mov ecx, dword [0x5a6748]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xb4], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [0x5a6754]
mov ebx, dword [0x5a6750]
mov ebp, ecx
shl ecx, 0xc
shr ebp, 0x14
mov dword [esp + 0xa4], ebp
shr ebx, 0x14
or ecx, ebx
mov dword [esp + 0xa0], ecx
mov ebx, dword [0x5a675c]
mov esi, dword [0x5a6758]
mov edi, ebx
shl ebx, 0xc
shr edi, 0x14
mov dword [esp + 0x9c], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x98], ebx
mov esi, dword [0x5cb784]
mov dword [esp + 0x94], esi
mov ebx, dword [0x5cb780]
shl esi, 0xc
mov edi, dword [esp + 0x94]
shr edi, 0x14
mov dword [esp + 0x94], edi
shr ebx, 0x14
or esi, ebx
mov dword [esp + 0x90], esi
mov ebx, dword [esp + 8]
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 4]
shl ebx, 0xc
mov edi, dword [esp + 0x48]
shr edi, 0x14
mov dword [esp + 0x8c], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x88], ebx
mov esi, dword [0x5a6714]
mov dword [esp + 0xc0], esi
call fcn.00438a40
lea eax, [0x4df4ec]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004392c0
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4deb02]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004392c0
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4deb02]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004392c0
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4dee04]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004392c0
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4df7cb]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004392c0
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4dff82]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.004392c0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00438fa0
lea eax, [0x4e040b]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.004392c0
mov eax, dword [esp + 0xc0]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004390e0
lea eax, [0x4deb04]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004392c0
call fcn.00438aa0
movzx eax, byte [0x5a66ec]
test al, al
je 0x418596
call fcn.00438a40
lea eax, [0x4df4f5]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004392c0
call fcn.00438aa0
call fcn.00438a40
call fcn.00438c50
call fcn.00438aa0
mov eax, dword [0x5caff0]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x4185d9
nop
nop
lea eax, [0x5caf74]
mov dword [esp], eax
call fcn.00409ba0
nop
nop
lea eax, [0x5a6390]
mov dword [esp], eax
call fcn.004099a0
mov eax, dword [0x5a63a4]
mov dword [esp + 0x84], eax
mov ecx, dword [0x5a63a0]
mov dword [esp + 0x194], ecx
mov dword [0x5a63a4], 0
mov dword [0x5a63a8], 0
mov edx, dword [0x5cb0f0]
test edx, edx
je 0x41862e
mov edx, dword [0x5a63a0]
call fcn.004631c0
mov dword [edi], edx
mov dword [0x5a63a0], 0
nop
nop
lea eax, [0x5a6390]
mov dword [esp], eax
call fcn.00409ba0
xor eax, eax
jmp 0x41866f
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x194]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00404010
mov eax, dword [esp + 0xb0]
inc eax
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jl 0x41864c
lea eax, [0x5cb720]
mov dword [esp], eax
call fcn.00420370
mov eax, dword [esp + 8]
test eax, eax
seta al
sete cl
cmp dword [esp + 4], 0x40000000
seta dl
and edx, ecx
or edx, eax
test dl, dl
je 0x4186b5
lea eax, [0x5aaec0]
mov dword [esp], eax
call fcn.0040ae20
nop
lea eax, [0x583284]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448e60
nop
lea eax, [0x583288]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448e60
mov eax, dword [esp + 0x190]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5caff0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x41871d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x41871d
mov dword [ebx + 8], 0xfffffade
add esp, 0x1a0
ret
mov ecx, 0x18
call fcn.00463220
mov eax, ebx
mov ecx, 0x18
call fcn.00463220
lea eax, [0x4e51e3]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00436dd0
lea eax, [0x4e5d53]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00436dd0
nop
call fcn.00461dc0
jmp fcn.00417620