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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x128]
cmp eax, dword [ecx + 8]
jbe 0x419f82
sub esp, 0x1a8
lea eax, [0xa9fd78]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004028b0
mov eax, dword [0xa9fd78]
cmp eax, 1
jne 0x418dcb
mov eax, 1
jmp 0x418dd1
cmp eax, 2
sete al
mov byte [0xaa0034], al
test al, al
je 0x418de2
mov eax, 1
jmp 0x418de9
movzx eax, byte [0xaa0035]
mov byte [0xaa0030], al
mov eax, dword [0xaa0970]
mov ecx, dword [0xaa0974]
mov dword [0xa796b8], eax
mov dword [0xa796bc], ecx
nop
call fcn.00465790
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
mov ebx, dword [esp]
mov dword [esp + 0x28], ebx
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x194], ecx
test byte [eax], al
mov dword [ecx + 0x74], 5
lea edi, [ecx + 0x70]
mov dword [esp + 0x1a4], edi
mov eax, dword [0xaa0030]
test eax, eax
jne 0x418e62
lea eax, [0x836010]
mov dword [ecx + 0x70], eax
jmp 0x418e6d
lea eax, [0x836010]
call fcn.004648d0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x19c], eax
mov ecx, dword [eax + 0x18]
mov byte [ecx + 0x99], 2
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x4c]
mov dword [esp + 0x198], ecx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.0043bb40
mov eax, dword [esp + 0x198]
mov byte [eax + 0x64], 6
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
lea ecx, [0x419f90]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0xd0]
mov dword [esp], ecx
call fcn.004633d0
lea eax, [0x852760]
mov dword [esp], eax
call fcn.004633d0
mov eax, dword [esp + 0x19c]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x99], 0
mov eax, dword [esp + 0x198]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.0043bb40
movzx eax, byte [0xa842a8]
test al, al
je 0x418f80
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.00457420
mov ecx, dword [esp + 0x194]
mov dword [ecx + 0x74], 0
mov edx, dword [0xaa0030]
test edx, edx
jne 0x418fa1
mov dword [ecx + 0x70], 0
jmp 0x418faf
mov edi, dword [esp + 0x1a4]
xor eax, eax
call fcn.004648d0
mov eax, dword [0xa9fd78]
test eax, eax
jne 0x419f6b
mov eax, dword [0xaa40b8]
mov ecx, dword [0xaa40bc]
mov dword [0xaa56a8], eax
mov dword [0xaa56ac], ecx
lea eax, [0xaa0900]
mov dword [esp], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1b0]
mov dword [esp + 8], eax
call fcn.004210b0
mov eax, dword [0xaa0918]
mov ecx, dword [0xaa091c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00425f20
mov eax, dword [0xaa0960]
mov ecx, dword [0xaa0964]
mov edx, dword [0xaa0968]
mov ebx, dword [0xaa096c]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
call fcn.00421d40
nop
call fcn.00465790
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x2c], edx
call fcn.004657d0
mov eax, dword [esp]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov dword [esp + 0xcc], edx
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ebp, dword [0xa796a8]
mov esi, dword [esp + 0x24]
mov edi, esi
sub esi, ebp
mov ecx, dword [0xa796a0]
mov dword [esp + 0xc4], ecx
add ecx, esi
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ebx, dword [0xa796a4]
mov edx, dword [0xa796ac]
mov dword [0xa796a0], ecx
mov ecx, edi
sub edi, ebp
mov ebp, dword [esp + 0x2c]
mov edi, ebp
sbb ebp, edx
mov edx, dword [esp + 0xc4]
add edx, esi
adc ebp, ebx
mov dword [0xa796a4], ebp
mov edx, dword [esp + 0x30]
mov dword [0xa7969c], edx
mov dword [0xa79698], ecx
mov edx, dword [0xa796a8]
sub ecx, edx
mov edx, dword [0xa796ac]
lea ebp, [0xaa5df0]
mov dword [esp], ebp
sbb edi, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.004096b0
lea eax, [0xaa4128]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
imul eax, eax, 0x3b9aca00
mov ecx, dword [esp + 0xcc]
add eax, ecx
mov ecx, dword [esp + 0x58]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xc8]
add edx, ebx
adc eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00402900
lea eax, [0xaa56a0]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00402900
mov eax, dword [0xaa5138]
and eax, 0xff
lea ecx, [0xaa4138]
lea edx, [ecx + eax*8]
mov ebx, dword [0xa796a0]
mov ebp, dword [0xa796a4]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov dword [eax], ebp
mov eax, dword [0xaa5138]
and eax, 0xff
lea ecx, [0xaa4938]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x3c]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov eax, dword [0xaa4130]
mov ecx, dword [0xa796a0]
add eax, ecx
mov ecx, dword [0xaa4134]
mov edx, dword [0xa796a4]
mov dword [0xaa4130], eax
adc ecx, edx
mov dword [0xaa4134], ecx
mov eax, dword [0xa79688]
mov ecx, dword [0xa79680]
mov edx, eax
sub eax, ecx
mov dword [esp + 0xcc], eax
mov ebx, dword [0xa79678]
mov dword [esp + 0xc0], ebx
mov ebp, edx
mul ebx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x48], eax
mov edi, dword [0xaa09c8]
mov dword [esp + 0xc4], edi
mov esi, dword [0xaa09d0]
mov dword [esp + 0xbc], esi
add edi, esi
mov dword [esp + 0xb8], edi
mov edx, dword [0xaa09d8]
mov dword [esp + 0xb4], edx
add edx, edi
mov dword [esp + 0x6c], edx
mov edi, dword [0xa79698]
mov dword [esp + 0xb0], edi
mov esi, dword [0xa79690]
mov dword [esp + 0xac], esi
sub edi, esi
mov dword [esp + 0xa8], edi
mov eax, edi
mul ebx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x68], eax
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
add edi, edx
mov dword [esp + 0xa0], edi
add eax, edi
mov dword [esp + 0x7c], eax
mov edi, dword [0xa79650]
mov dword [esp + 0x9c], edi
add edi, eax
mov dword [esp + 0x98], edi
mov eax, dword [0xa7968c]
mov edx, dword [0xa79684]
mov ebx, dword [0xaa09cc]
mov dword [esp + 0x94], ebx
mov esi, dword [0xaa09d4]
mov ebx, dword [0xaa09dc]
mov dword [esp + 0x90], ebx
mov ebx, dword [0xa7969c]
mov dword [esp + 0x8c], ebx
mov ebx, dword [0xa79694]
mov dword [esp + 0x88], ebx
mov ebx, dword [0xa79654]
mov dword [esp + 0x84], ebx
mov dword [0xa79650], edi
sub ebp, ecx
sbb eax, edx
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
add ecx, edx
mov ecx, dword [esp + 0x94]
adc ecx, esi
mov edx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb8]
add edx, ebp
mov edx, dword [esp + 0x90]
adc ecx, edx
mov edx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xac]
sub edx, ebp
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
sbb edx, ebp
mov ebp, dword [esp + 0xc0]
mov esi, ebp
sar ebp, 0x1f
imul eax, esi
mov edi, dword [esp + 0xc8]
add eax, edi
mov edi, dword [esp + 0xcc]
imul edi, ebp
add eax, edi
mov dword [esp + 0xcc], eax
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x48]
add edi, ebx
adc ecx, eax
imul esi, edx
mov edx, dword [esp + 0xa4]
add edx, esi
mov esi, dword [esp + 0xa8]
imul esi, ebp
add edx, esi
mov dword [esp + 0xc8], edx
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0xa0]
add esi, ebp
adc ecx, edx
mov esi, dword [esp + 0x9c]
mov edi, dword [esp + 0x7c]
add esi, edi
mov esi, dword [esp + 0x84]
adc esi, ecx
mov dword [0xa79654], esi
mov ecx, dword [0xa7a6f4]
mov dword [esp + 0xc4], ecx
mov edi, dword [esp + 0x24]
sub edi, ecx
mov dword [esp + 0xbc], edi
mov edx, dword [0xa9fd7c]
mov dword [esp + 0xc0], edx
mov eax, edi
mul edx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb4], eax
mov ebp, dword [0xa7a6fc]
mov dword [esp + 0xb0], ebp
add ebp, eax
mov dword [esp + 0x44], ebp
mov ebx, dword [0xa7a700]
mov dword [esp + 0x94], ebx
mov ebp, dword [0xa7a6f8]
mov dword [esp + 0x90], ebp
mov dword [esp + 4], esi
mov esi, dword [esp + 0x98]
mov dword [esp], esi
call fcn.0044dc90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc4]
sub eax, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x90]
sbb eax, ecx
mov ecx, dword [esp + 0xc0]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0xbc]
imul ebx, ecx
mov ecx, dword [esp + 0xb8]
add ecx, ebx
imul eax, edx
add eax, ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
add ecx, edx
mov ecx, dword [esp + 0x94]
adc ecx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov edx, dword [esp + 8]
mov dword [esp + 0xbc], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.0044dc90
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.0044c660
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xaa5140], eax
mov dword [0xaa5144], ecx
mov dword [0xa7928c], 0
mov dword [0xa79290], 0
movzx eax, byte [0xa7964c]
test al, al
je 0x419529
inc dword [0xaa513c]
nop
lea eax, [0xa7966c]
mov dword [esp], eax
call fcn.0040ac10
inc dword [0xaa5138]
lea eax, [0xa79670]
mov dword [esp], eax
call fcn.0043fd70
nop
nop
lea eax, [0xa7966c]
mov dword [esp], eax
call fcn.0040ae10
call fcn.0042e6b0
lea eax, [0xa79294]
mov dword [esp], eax
call fcn.004245c0
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 8]
test cl, cl
je 0x419f55
mov byte [esp + 0x23], cl
mov dword [esp + 0xc4], eax
lea eax, [0x852764]
mov dword [esp], eax
call fcn.004633d0
call fcn.0042e720
call fcn.00426a90
lea eax, [0x852748]
mov dword [esp], eax
call fcn.004633d0
lea eax, [0x85276c]
mov dword [esp], eax
call fcn.004633d0
lea eax, [0xa79294]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.00424640
mov eax, dword [0xaa01fc]
test eax, eax
jle 0x419690
mov eax, dword [0xaa5140]
mov ecx, dword [0xaa5144]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0x40590000
mov dword [esp + 8], 0
call fcn.0044c1e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044dce0
mov eax, dword [esp + 8]
mov dword [esp + 0xc0], eax
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00464b6a
call fcn.00438dd0
mov eax, dword [0xa79680]
mov ecx, dword [0xa9fe80]
sub eax, ecx
mov ecx, dword [0xa79684]
mov edx, dword [0xa9fe84]
sbb ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045ee00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, 0x17
jmp 0x419708
lea eax, [0x79a264]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004497a0
lea eax, [0x79a244]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004497a0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4196f8
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4196f8
mov dword [eax + 8], 0xfffffade
add esp, 0x1a8
ret
mov eax, dword [esp + 0xb4]
mov ecx, esi
test ecx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp eax, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and ebp, esi
or ebx, ebp
test bl, bl
jne 0x41972f
cmp edx, 0x14
jl 0x419803
mov dword [esp + 0x38], eax
mov dword [esp + 0x70], edx
mov ebx, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ecx
shr edx, 3
mov dword [esp + 0xc4], edx
lea ebp, [edx + edx*4]
shl ebp, 1
sub ecx, ebp
mov eax, 0x19999999
mul ecx
mov dword [esp + 0xbc], eax
add eax, edi
lea ebp, [esi + esi*4]
shl ebp, 1
sub ebx, ebp
lea ebp, [ecx + ecx*2]
lea ebx, [ebx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ebx
shr edx, 3
mov dword [esp + 0xb8], edx
add edx, ecx
mov dword [esp + 0xb4], edx
mov eax, edx
mov ebx, 0xa
mul ebx
mov edx, dword [esp + 0x38]
sub edx, eax
add edx, 0x30
add esi, 0
mov esi, dword [esp + 0xc4]
adc esi, 0
mov ebx, dword [esp + 0xbc]
add ebx, edi
adc esi, ebp
mov ebx, dword [esp + 0xb8]
add ebx, ecx
adc esi, 0
mov eax, dword [esp + 0x70]
cmp eax, 0x18
jae 0x419f4b
mov byte [esp + eax + 0xdc], dl
lea edx, [eax - 1]
cmp eax, 0x15
jne 0x4196ff
mov byte [esp + eax + 0xdb], 0x2e
lea edx, [eax - 2]
jmp 0x4196ff
add eax, 0x30
cmp edx, 0x18
jae 0x419f3f
mov byte [esp + edx + 0xdc], al
mov eax, dword [0xaa5138]
mov dword [esp + 0xc4], eax
lea ecx, [esp + 0x14c]
mov dword [esp], ecx
lea ecx, [edx - 0x18]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [esp + edx + 0xdc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004510f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
call fcn.00438dd0
lea eax, [0x835bc3]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439a00
mov dword [esp + 4], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.004396a0
lea eax, [0x835955]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439a00
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00439a00
lea eax, [0x835a07]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439a00
mov eax, dword [esp + 0xc0]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439800
lea eax, [0x835a3a]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439a00
call fcn.00438e40
mov eax, dword [0xa79680]
mov ecx, dword [0xa79684]
mov dword [esp + 0x54], ecx
lea edi, [esp + 0xf4]
mov edx, eax
xor eax, eax
call fcn.00464b6a
mov ecx, dword [0xa79688]
mov ebx, dword [0xa7968c]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ebx
mov ecx, dword [0xa79690]
mov ebx, dword [0xa79694]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
mov ecx, dword [0xa79698]
mov ebx, dword [0xa7969c]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x54]
jmp 0x419a1e
sub esi, edx
lea ecx, [esp + 0xdc]
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.0041b110
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.004510f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
call fcn.00438dd0
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00439a00
call fcn.00438e40
mov eax, dword [esp + 0x78]
lea ecx, [eax + 1]
xor eax, eax
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
cmp ecx, 3
jge 0x419a87
mov dword [esp + 0x78], ecx
lea ebp, [esp + ecx*8 + 0xf4]
mov esi, dword [ebp]
mov dword [esp + 0x50], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x64], ebp
test ecx, ecx
je 0x419989
mov dword [esp + 0xc4], edx
mov dword [esp + 0x54], ebx
call fcn.00438dd0
lea eax, [0x83590a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439a00
call fcn.00438e40
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x50]
jmp 0x419989
call fcn.00438dd0
lea eax, [0x837630]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439a00
call fcn.00438e40
lea edi, [esp + 0x16c]
xor eax, eax
call fcn.00464b66
mov eax, dword [esp + 0x48]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x170], eax
mov eax, dword [0xaa09c8]
mov ecx, dword [0xaa09cc]
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], ecx
mov eax, dword [0xaa09d0]
mov ecx, dword [0xaa09d8]
add eax, ecx
mov ecx, dword [0xaa09d4]
mov edx, dword [0xaa09dc]
mov dword [esp + 0x17c], eax
adc ecx, edx
mov dword [esp + 0x180], ecx
mov eax, dword [0xaa09e0]
mov ecx, dword [0xaa09e4]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x190], eax
xor eax, eax
jmp 0x419bd1
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.0041b110
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.004510f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
call fcn.00438dd0
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00439a00
call fcn.00438e40
mov eax, dword [esp + 0x74]
inc eax
cmp eax, 5
jge 0x419c62
mov dword [esp + 0x74], eax
lea ecx, [esp + eax*8 + 0x16c]
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x60], ecx
cmp eax, 2
je 0x419bfc
cmp eax, 3
jne 0x419c29
call fcn.00438dd0
lea eax, [0x83590e]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439a00
call fcn.00438e40
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
jmp 0x419b4c
test eax, eax
je 0x419b4c
call fcn.00438dd0
lea eax, [0x83590a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439a00
call fcn.00438e40
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
jmp 0x419b4c
mov eax, dword [0xa796b4]
mov dword [esp + 0xcc], eax
mov ecx, dword [0xa796b0]
mov dword [esp + 0xc8], ecx
mov edx, dword [0xa796bc]
mov dword [esp + 0xc4], edx
mov ebx, dword [0xa796b8]
mov dword [esp + 0xbc], ebx
mov ebp, dword [0xa796c4]
mov dword [esp + 0xb8], ebp
mov esi, dword [0xa796c0]
mov dword [esp + 0xb4], esi
mov edi, dword [0xa796cc]
mov dword [esp + 0xb0], edi
mov edi, dword [0xa796c8]
mov dword [esp + 0xac], edi
mov edi, dword [0xaa098c]
mov dword [esp + 0xa8], edi
mov edi, dword [0xaa0988]
mov dword [esp + 0xa4], edi
mov edi, dword [0xaa099c]
mov dword [esp + 0xa0], edi
mov edi, dword [0xaa0998]
mov dword [esp + 0x9c], edi
mov edi, dword [0xa7967c]
mov dword [esp + 0xc0], edi
call fcn.00438dd0
lea eax, [0x836c8c]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439a00
mov eax, dword [esp + 0xcc]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xc8]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x83596d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439a00
mov eax, dword [esp + 0xc4]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xbc]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x83596d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439a00
mov eax, dword [esp + 0xb8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xb4]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x835e58]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00439a00
mov eax, dword [esp + 0xb0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xac]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x837085]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00439a00
mov eax, dword [esp + 0xa8]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0xa4]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x837b7c]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00439a00
mov eax, dword [esp + 0xa0]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x9c]
shr eax, 0x14
or ecx, eax
mov dword [esp], ecx
call fcn.004396a0
lea eax, [0x8381d1]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00439a00
mov eax, dword [esp + 0xc0]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439800
lea eax, [0x835957]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439a00
call fcn.00438e40
movzx eax, byte [0xa7964c]
test al, al
je 0x419ef2
call fcn.00438dd0
lea eax, [0x836c29]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439a00
call fcn.00438e40
call fcn.00438dd0
call fcn.00438ff0
call fcn.00438e40
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x87]
lea edx, [ecx - 1]
mov byte [eax + 0x87], dl
cmp cl, 1
jne 0x419690
nop
lea eax, [0xa9fd40]
mov dword [esp], eax
call fcn.0040ae10
jmp 0x419690
mov eax, edx
mov ecx, 0x18
call fcn.00464950
mov ecx, 0x18
call fcn.00464950
lea eax, [0x83ebeb]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.004372c0
lea eax, [0x83fc90]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004372c0
nop
call fcn.004634e0
jmp fcn.00418d80