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

Disassembly:
mov ecx, dword [0x549820]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x124]
cmp eax, dword [ecx + 8]
jbe 0x415ac3
sub esp, 0x1a4
nop
lea eax, [0x549750]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402ae0
mov eax, dword [0x549750]
cmp eax, 1
jne 0x4149ca
mov eax, 1
jmp 0x4149d0
cmp eax, 2
sete al
mov byte [0x5498f4], al
mov byte [0x5498f0], al
lea eax, [0x549f88]
mov dword [esp], eax
call fcn.00402b10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x524f94], eax
mov dword [0x524f90], ecx
nop
call fcn.0045eb30
mov eax, dword [0x549820]
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 [0x5498f0]
test ecx, ecx
je 0x414a43
mov ecx, dword [eax + 0x74]
call fcn.0045de30
mov dword [edi], ecx
mov dword [esp + 0x194], eax
lea ecx, [0x49c78a]
mov dword [eax + 0x74], ecx
mov byte [eax + 0x9d], 2
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x19c], ecx
nop
mov byte [ecx + 0x64], 6
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.00438760
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea eax, [0x415ad0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
call fcn.0045c940
lea eax, [0x4a51c0]
mov dword [esp], eax
call fcn.0045c940
mov eax, dword [esp + 0x194]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x19c]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.00438760
movzx eax, byte [0x52dda4]
test al, al
je 0x414b44
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.00450fa0
mov eax, dword [esp + 0x194]
mov dword [eax + 0x78], 0
mov ecx, dword [0x5498f0]
test ecx, ecx
je 0x414b66
mov ecx, dword [eax + 0x74]
call fcn.0045de30
mov dword [edi], ecx
mov dword [eax + 0x74], 0
mov ecx, dword [0x549750]
test ecx, ecx
jne 0x415aac
lea eax, [0x54a030]
mov dword [esp], eax
call fcn.00402b10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x54eeec], eax
mov dword [0x54eee8], ecx
lea eax, [0x4a51ac]
mov dword [esp], eax
call fcn.0045c940
nop
call fcn.0045eb30
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.0045eba0
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, eax
mov eax, 0x3b9aca00
mov ebx, edx
mul ecx
mov ecx, dword [esp + 4]
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, ebx
sar ebx, 0x1f
mov ebp, dword [0x524f78]
mov esi, dword [0x524f7c]
mov dword [esp + 0xc4], esi
mov edi, dword [0x524f80]
mov esi, dword [0x524f84]
add edx, eax
mov dword [esp + 0x60], edx
adc ecx, ebx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x34]
mov ebx, eax
sub eax, edi
mov edi, dword [esp + 0x3c]
sbb edi, esi
add ebp, eax
mov dword [0x524f78], ebp
mov eax, dword [esp + 0xc4]
adc edi, eax
mov dword [0x524f7c], edi
mov eax, dword [esp + 0x50]
mov dword [0x524f74], eax
mov dword [0x524f70], ebx
mov ebp, dword [0x524f80]
mov esi, dword [0x524f84]
lea edi, [0x54eef8]
mov dword [esp], edi
sub ebx, ebp
mov ebp, dword [esp + 0x3c]
sbb ebp, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
call fcn.00407f10
lea eax, [0x54dec0]
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.00402b30
lea eax, [0x54eee0]
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.00402b30
mov eax, dword [0x54eed0]
and eax, 0xff
lea ecx, [0x54ded0]
lea edx, [ecx + eax*8]
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [0x524f78]
mov ebx, dword [0x524f7c]
mov dword [edx], ecx
mov dword [eax], ebx
mov eax, dword [0x54eed0]
and eax, 0xff
lea ecx, [0x54e6d0]
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 [0x54dec8]
mov ecx, dword [0x54decc]
mov edx, dword [0x524f78]
mov ebx, dword [0x524f7c]
add eax, edx
mov dword [0x54dec8], eax
adc ecx, ebx
mov dword [0x54decc], ecx
mov eax, dword [0x524f50]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [0x524f70]
mov ebx, dword [0x524f74]
mov ebp, dword [0x524f68]
mov esi, dword [0x524f6c]
mov edi, dword [0x524fb8]
mov dword [esp + 0xc0], edi
mov edi, dword [0x524fbc]
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 + 0xbc], ecx
mov edx, dword [esp + 0xc0]
add edx, eax
mov dword [0x524fb8], edx
adc edi, ecx
mov dword [0x524fbc], edi
mov edx, dword [0x524fc0]
mov ebx, dword [0x524fc4]
add edx, eax
mov dword [0x524fc0], edx
adc ebx, ecx
mov dword [0x524fc4], ebx
lea edx, [0x524fa0]
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.0042e010
mov eax, dword [0x524fc0]
mov ecx, dword [0x524fc4]
mov edx, dword [0x524fb0]
mov ebx, dword [0x524fb4]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00458830
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xc8], xmm0
mov eax, dword [0x524ff0]
mov ecx, dword [0x524ff4]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00458830
movsd xmm0, qword [esp + 0xc8]
divsd xmm0, qword [esp + 8]
movsd qword [0x54eed8], xmm0
nop
lea eax, [0x5499d0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402950
nop
lea eax, [0x5499d8]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402950
nop
lea eax, [0x525820]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402950
mov dword [0x524c8c], 0
mov dword [0x524c90], 0
movzx eax, byte [0x524f2c]
test al, al
je 0x414ebd
inc dword [0x54eed4]
nop
nop
lea eax, [0x524f44]
mov dword [esp], eax
call fcn.00409230
inc dword [0x54eed0]
lea eax, [0x524f48]
mov dword [esp], eax
call fcn.0043d110
nop
nop
lea eax, [0x524f44]
mov dword [esp], eax
call fcn.00409430
lea eax, [0x529760]
mov dword [esp], eax
call fcn.004208c0
lea eax, [0x549a60]
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.004170f0
nop
lea eax, [0x549768]
mov dword [esp], eax
call fcn.0042b540
lea eax, [0x524c94]
mov dword [esp], eax
call fcn.004214d0
movzx eax, byte [esp + 8]
test al, al
je 0x415a96
mov byte [esp + 0x23], al
mov eax, dword [esp + 4]
mov dword [esp + 0xc0], eax
lea ecx, [0x4a51c4]
mov dword [esp], ecx
call fcn.0045c940
call fcn.0042bad0
call fcn.00423d40
lea eax, [0x4a51a0]
mov dword [esp], eax
call fcn.0045c940
lea eax, [0x4a51c8]
mov dword [esp], eax
call fcn.0045c940
lea eax, [0x524c94]
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.00421550
mov eax, dword [0x549b40]
test eax, eax
jle 0x415937
movsd xmm0, qword [0x4bb0ac]
mulsd xmm0, qword [0x54eed8]
movsd qword [esp + 0xc8], xmm0
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0045dfda
call fcn.00435990
mov ecx, dword [0x524f58]
mov edx, dword [0x524f5c]
mov ebx, dword [0x549870]
mov ebp, dword [0x549874]
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.00458a70
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x41503b
adc ebx, 0
mov ecx, dword [esp + 0xc0]
mov eax, edx
mov edx, ebx
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 esi, ebp
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x415064
cmp eax, 0x14
jl 0x41510b
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], eax
mov eax, ecx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
mov eax, esi
mov edi, edx
mul ebp
shr edi, 3
lea eax, [edi + edi*4]
shr edx, 3
lea ebx, [edx + edx*4]
shl eax, 1
sub ecx, eax
shl ebx, 1
sub esi, ebx
mov eax, 0x19999999
mov ebx, edx
mul esi
lea esi, [esi + esi*2]
lea esi, [ecx + esi*2]
mov ecx, eax
mov eax, esi
mov esi, edx
mul ebp
shr edx, 3
add edi, 0
adc ebx, 0
add edi, ecx
adc ebx, esi
mov eax, edx
add edx, edi
mov dword [esp + 0xc0], edx
mov ecx, eax
mov eax, edx
mov esi, 0xa
mul esi
mov edx, dword [esp + 0x58]
sub edx, eax
add edx, 0x30
mov eax, dword [esp + 0x7c]
cmp eax, 0x18
jae 0x415a8c
mov byte [esp + eax + 0xdc], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x415104
mov byte [esp + eax + 0xdb], 0x2e
add ecx, edi
mov edx, 0x13
jmp 0x41502d
add ecx, edi
jmp 0x41502d
add ecx, 0x30
cmp eax, 0x18
jae 0x415a82
mov byte [esp + eax + 0xdc], cl
movsd xmm0, qword [esp + 0xc8]
cvttsd2si ecx, xmm0
mov dword [esp + 0x5c], ecx
sar ecx, 0x1f
mov dword [esp + 0xc4], ecx
mov ebx, dword [0x54eed0]
mov dword [esp + 0xc0], ebx
lea ebp, [esp + 0x14c]
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 + 0xdc]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044b450
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
call fcn.00435990
lea eax, [0x49c5fd]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436210
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49c5ba]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436210
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00436210
lea eax, [0x49c5bc]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436210
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00436030
lea eax, [0x49c600]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00436210
call fcn.004359f0
mov eax, dword [0x524f58]
mov ecx, dword [0x524f5c]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0xf4]
mov edx, eax
xor eax, eax
call fcn.0045dfda
mov ecx, dword [0x524f60]
mov ebx, dword [0x524f64]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ebx
mov ecx, dword [0x524f68]
mov ebx, dword [0x524f6c]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
mov ecx, dword [0x524f70]
mov ebx, dword [0x524f74]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x415350
lea eax, [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
inc ecx
mov dword [esp + 0xb8], ecx
sub esi, edx
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00416be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x12c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044b450
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
call fcn.00435990
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.00436210
call fcn.004359f0
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, 3
jge 0x4153c9
lea ebp, [esp + ecx*8 + 0xf4]
mov esi, dword [ebp]
mov dword [esp + 0x68], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x6c], ebp
test ecx, ecx
je 0x4152b3
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x84], ecx
call fcn.00435990
lea eax, [0x49c595]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436210
call fcn.004359f0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x4152b3
call fcn.00435990
lea eax, [0x49d1a5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00436210
call fcn.004359f0
nop
lea eax, [0x549fe0]
mov dword [esp], eax
call fcn.00402990
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x549fe8]
mov dword [esp], edx
call fcn.00402990
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x549ff0]
mov dword [esp], edx
call fcn.00402990
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
nop
lea edx, [0x549ff8]
mov dword [esp], edx
call fcn.00402990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x16c]
mov edx, eax
xor eax, eax
call fcn.0045dfd6
mov eax, dword [0x524f50]
mov ecx, eax
sar ecx, 0x1f
mov ebx, dword [0x524f60]
mov ebp, dword [0x524f64]
mov esi, dword [0x524f58]
mov edi, dword [0x524f5c]
sub ebx, esi
sbb ebp, edi
mov esi, edx
mov edi, eax
mul ebx
mov dword [esp + 0x16c], eax
imul edi, ebp
lea eax, [edi + edx]
imul ecx, ebx
add eax, ecx
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
adc eax, ecx
mov dword [esp + 0x180], eax
mov dword [esp + 0x188], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x190], eax
xor eax, eax
jmp 0x4155a7
lea eax, [esp + 0xdc]
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.00416be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044b450
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], ecx
call fcn.00435990
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00436210
call fcn.004359f0
mov eax, dword [esp + 0x80]
inc eax
cmp eax, 5
jge 0x41563e
mov dword [esp + 0x80], eax
lea ecx, [esp + eax*8 + 0x16c]
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
cmp eax, 2
je 0x4155d5
cmp eax, 3
jne 0x415602
call fcn.00435990
lea eax, [0x49c59e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436210
call fcn.004359f0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x41551f
test eax, eax
je 0x41551f
call fcn.00435990
lea eax, [0x49c595]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00436210
call fcn.004359f0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x41551f
lea eax, [0x549fa0]
mov dword [esp], eax
call fcn.00402b10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xc0], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xbc], eax
lea ecx, [0x549fb0]
mov dword [esp], ecx
call fcn.00402b10
mov eax, dword [0x524f8c]
mov ecx, dword [0x524f88]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xb0], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xac], eax
mov ecx, dword [0x524f94]
mov ebx, dword [0x524f90]
mov ebp, ecx
shl ecx, 0xc
shr ebp, 0x14
mov dword [esp + 0xa8], ebp
shr ebx, 0x14
or ecx, ebx
mov dword [esp + 0xa4], ecx
mov ebx, dword [0x524f9c]
mov esi, dword [0x524f98]
mov edi, ebx
shl ebx, 0xc
shr edi, 0x14
mov dword [esp + 0xa0], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x9c], ebx
mov esi, dword [0x549f84]
mov dword [esp + 0x98], esi
mov ebx, dword [0x549f80]
shl esi, 0xc
mov edi, dword [esp + 0x98]
shr edi, 0x14
mov dword [esp + 0x98], edi
shr ebx, 0x14
or esi, ebx
mov dword [esp + 0x94], 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 + 0x90], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x8c], ebx
mov esi, dword [0x524f54]
mov dword [esp + 0xc4], esi
call fcn.00435990
lea eax, [0x49ccbd]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436210
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49c5be]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436210
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49c5be]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436210
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49c78f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00436210
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49cec7]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00436210
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49d4d9]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00436210
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00435ef0
lea eax, [0x49d822]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00436210
mov eax, dword [esp + 0xc4]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00436030
lea eax, [0x49c5c0]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00436210
call fcn.004359f0
movzx eax, byte [0x524f2c]
test al, al
je 0x4158f4
call fcn.00435990
lea eax, [0x49ccc6]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00436210
call fcn.004359f0
call fcn.00435990
call fcn.00435ba0
call fcn.004359f0
mov eax, dword [0x549820]
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 0x415937
nop
nop
lea eax, [0x5497b0]
mov dword [esp], eax
call fcn.00409430
nop
nop
lea eax, [0x524c60]
mov dword [esp], eax
call fcn.00409230
mov eax, dword [0x524c74]
mov dword [esp + 0x88], eax
mov ecx, dword [0x524c70]
mov dword [esp + 0x198], ecx
mov dword [0x524c74], 0
mov dword [0x524c78], 0
mov edx, dword [0x5498f0]
test edx, edx
je 0x41598c
mov edx, dword [0x524c70]
call fcn.0045de30
mov dword [edi], edx
mov dword [0x524c70], 0
nop
nop
lea eax, [0x524c60]
mov dword [esp], eax
call fcn.00409430
xor eax, eax
jmp 0x4159cd
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x198]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.00403cd0
mov eax, dword [esp + 0xb8]
inc eax
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jl 0x4159aa
lea eax, [0x549f20]
mov dword [esp], eax
call fcn.0041d690
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 0x415a13
lea eax, [0x4a51d0]
mov dword [esp], eax
call fcn.0045c940
nop
lea eax, [0x51c258]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445a30
nop
lea eax, [0x51c25c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445a30
mov eax, dword [esp + 0x194]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x549820]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x415a7b
movzx eax, byte [ebx + 0x65]
test al, al
je 0x415a7b
mov dword [ebx + 8], 0xfffffade
add esp, 0x1a4
ret
mov ecx, 0x18
call fcn.0045de90
mov ecx, 0x18
call fcn.0045de90
lea eax, [0x4a07d6]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004340e0
lea eax, [0x4a0e9b]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004340e0
nop
call fcn.0045ca30
jmp fcn.00414980