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

Disassembly:
mov ecx, dword [0xe11d80]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x144]
cmp eax, dword [ecx + 8]
jbe 0x519b06
sub esp, 0x1c4
lea edi, [esp]
lea esi, [esp + 0x1c8]
call fcn.00469e0e
call fcn.0051e8e0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1a4], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x8c], ebp
mov esi, dword [esp + 0x1ec]
mov edi, dword [esp + 0x1e8]
mov esi, 0xffffffff
mov dword [esp + 0x34], esi
mov edi, 0xffffffff
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor esi, esi
mov dword [esp + 0x84], esi
xor esi, esi
mov dword [esp + 0x38], esi
xor esi, esi
mov dword [esp + 0x7c], esi
xor esi, esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x1e4]
mov dword [esp + 0xa8], esi
mov edi, dword [esp + 0x1e0]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x1ac], eax
mov esi, dword [esp + 0x1ec]
mov edi, dword [esp + 0x1e8]
mov eax, dword [esp + 0xb4]
jmp 0x517faf
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1ac], edi
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x198]
test esi, esi
je 0x519292
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00515d90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x198], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 8]
test eax, eax
jne 0x518004
mov eax, dword [esp + 0xa8]
mov ebp, dword [esp + 0x1ac]
mov esi, dword [esp + 0xa4]
jmp 0x5180b6
mov esi, dword [esp + 0xa4]
lea edi, [eax + esi]
mov ecx, dword [esp + 0xa8]
cmp ecx, edi
jae 0x51806a
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1a0], ebp
mov eax, dword [esp + 0x1ac]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1a0]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x1ac]
lea ebx, [edx + esi]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0046a020
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0xa4]
mov ebp, dword [esp + 0x1ac]
mov esi, dword [esp + 0xa8]
test ebx, ebx
je 0x5192a7
mov dword [esp + 0x1a8], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], eax
mov edi, ebp
mov ebp, dword [esp + 0x34]
test ebp, ebp
jge 0x51814a
test ebx, 0x100
je 0x51814a
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov byte [esp + 8], 1
call fcn.0051fd20
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc eax
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x1a8]
mov ebp, ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x80]
test ebp, ebp
jge 0x518201
test ebx, 0x200
je 0x518201
nop
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x15180
call fcn.00460c00
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x91a2b3c5
imul ecx
lea eax, [edx + ecx]
sar eax, 0xb
mov edx, ecx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0xe10
sub edx, ecx
mov ecx, eax
mov eax, 0x88888889
mov ebx, edx
imul edx
lea eax, [ebx + edx]
sar eax, 5
mov edx, ebx
sar ebx, 0x1f
sub eax, ebx
imul ebx, eax, 0x3c
sub edx, ebx
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x1a8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], edx
mov ebp, ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x80], ebp
and ebx, 0xffff
cmp ebx, 0x109
jg 0x518c7b
cmp ebx, 0x103
jg 0x51894a
cmp ebx, 0x23
jg 0x518808
cmp ebx, 0x17
je 0x5185d1
lea ecx, [ebx - 0x18]
cmp ecx, 9
ja 0x518556
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x5182b9
mov ebx, dword [esp + 0x60]
cmp ebx, 0x18
je 0x518269
cmp ebx, 0x1b
je 0x518269
cmp ebx, 0x19
je 0x518269
cmp ebx, 0x1a
je 0x518269
cmp ebx, 0x1c
jne 0x5182bd
lea ebx, [esi + 1]
cmp eax, ebx
jae 0x5182af
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [ebx + edi - 1], 0x5a
jmp 0x517f72
mov ebx, dword [esp + 0x60]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov dword [esp + 0xa8], edx
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
test edx, edx
jge 0x518362
lea edx, [esi + 1]
mov esi, dword [esp + 0x9c]
cmp esi, edx
jae 0x51833c
mov dword [esp + 0xa4], ecx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x60]
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov byte [edx + edi - 1], 0x2d
mov ebp, dword [esp + 0xa8]
sub ecx, ebp
neg eax
mov dword [esp + 0xac], eax
mov eax, ecx
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0xac]
jmp 0x5183be
lea ecx, [esi + 1]
mov esi, dword [esp + 0x9c]
cmp esi, ecx
jae 0x5183b9
mov dword [esp + 0x30], edx
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov byte [ecx + edi - 1], 0x2b
mov dword [esp + 0xa8], edx
mov dword [esp + 0x88], eax
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov eax, 0x88888889
mov ebx, edx
imul edx
add edx, ebx
sar edx, 5
sar ebx, 0x1f
sub edx, ebx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x1b
je 0x518426
cmp ebp, 0x20
je 0x518426
cmp ebp, 0x1c
je 0x518426
cmp ebp, 0x21
jne 0x518462
inc ebx
cmp ecx, ebx
jae 0x51845d
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
mov byte [ebx + edx - 1], 0x3a
cmp ebp, 0x1f
je 0x5184ab
cmp ebp, 0x1a
je 0x5184ab
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xa4]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0xa8]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x19
je 0x5184f7
cmp ebp, 0x1e
je 0x5184f7
cmp ebp, 0x21
je 0x5184bf
cmp ebp, 0x1c
jne 0x51853e
inc ebx
cmp ecx, ebx
jae 0x5184f2
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [ebx + edx - 1], 0x3a
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov eax, 0x88888889
mov ecx, dword [esp + 0x88]
imul ecx
add edx, ecx
sar edx, 5
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3c
sub ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x80]
mov eax, ecx
mov edi, edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
jmp 0x517f72
cmp ebx, 0x22
jge 0x518567
mov ecx, dword [esp + 0x198]
jmp 0x5190f9
lea edi, [esp + 0x1b0]
mov edx, esi
lea esi, [esp + 0x1c8]
call fcn.00469e0e
mov ecx, dword [esp + 0x1b0]
and ecx, 0x3fffffff
nop
mov ebx, dword [esp + 0x1a8]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00516fe0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x518673
lea ecx, [ebx + esi]
cmp eax, ecx
jae 0x51861b
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x1ac], edi
lea edx, [edi + esi]
mov dword [esp], edx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0046a020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0x1ac]
jmp 0x517f72
mov eax, 0x88888889
mov ebx, dword [esp + 0x70]
imul ebx
add edx, ebx
sar edx, 5
mov dword [esp + 0xa8], edx
mov eax, ebx
sar ebx, 0x1f
sub edx, ebx
test edx, edx
jge 0x51870b
lea edx, [esi + 1]
mov esi, dword [esp + 0x9c]
cmp esi, edx
jae 0x5186f5
mov dword [esp + 0xa4], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov ebx, dword [esp + 0xa4]
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov byte [edx + edi - 1], 0x2d
mov ecx, dword [esp + 0xa8]
sub ebx, ecx
mov ecx, ebx
mov ebx, edx
mov edx, ecx
jmp 0x51876a
lea ebx, [esi + 1]
mov esi, dword [esp + 0x9c]
cmp esi, ebx
jae 0x518765
mov dword [esp + 0x2c], edx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x2c]
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov byte [ebx + edi - 1], 0x2b
mov dword [esp + 0xa8], edx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov eax, 0x88888889
mov ecx, edx
imul edx
mov ebx, ecx
sar ecx, 0x1f
add edx, ebx
sar edx, 5
sub edx, ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0xa4]
imul ecx, ecx, 0x3c
mov edx, dword [esp + 0xa8]
sub edx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x101
jne 0x518881
mov ebx, dword [esp + 0x78]
lea ecx, [ebx - 1]
cmp ecx, 0xb
jbe 0x51885f
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.0046992b
mov ecx, ebx
sar ebx, 0x1f
test ecx, ecx
sete al
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
and eax, edi
test al, al
jne 0x51884d
mov edi, 0x14
jmp 0x519a2f
mov byte [esp + 0xf7], 0x30
mov eax, 0x13
jmp 0x51997a
mov edx, dword [0xdc4ddc]
cmp edx, ecx
jbe 0x519971
mov ecx, dword [0xdc4dd8]
lea ecx, [ecx + ebx*8 - 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x5198d0
cmp ebx, 0x102
jne 0x5188fa
mov ebx, dword [esp + 0x78]
lea ecx, [ebx - 1]
cmp ecx, 0xb
ja 0x5188b7
mov edx, dword [0xdc4ddc]
cmp edx, ecx
jbe 0x5198c7
mov ecx, dword [0xdc4dd8]
lea ecx, [ecx + ebx*8 - 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x519738
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0046992b
mov ecx, ebx
sar ebx, 0x1f
test ecx, ecx
sete al
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
and eax, edi
test al, al
jne 0x5188e8
mov edi, 0x14
jmp 0x5197f1
mov byte [esp + 0x10b], 0x30
mov eax, 0x13
jmp 0x5196b7
cmp ebx, 0x103
jne 0x5190f9
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x106
jg 0x518b36
cmp ebx, 0x104
je 0x518af2
cmp ebx, 0x105
jne 0x518a31
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00460c00
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [ecx + edx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
jbe 0x518a10
mov dword [esp + 0xa8], eax
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0046992b
mov ecx, dword [esp + 0xa8]
mov edx, ecx
sar ecx, 0x1f
test edx, edx
sete bl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5189fe
mov eax, 0x14
jmp 0x519608
mov byte [esp + 0xcf], 0x30
mov eax, 0x13
jmp 0x519581
mov ecx, dword [0xdc4dac]
cmp ecx, eax
jbe 0x51957c
mov ecx, dword [0xdc4da8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5194bc
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00460c00
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [ecx + edx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
ja 0x518aa1
mov ecx, dword [0xdc4dac]
cmp ecx, eax
jbe 0x5194b7
mov ebx, dword [0xdc4da8]
lea eax, [ebx + eax*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x519324
mov dword [esp + 0xa8], eax
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0046992b
mov ecx, dword [esp + 0xa8]
mov edx, ecx
sar ecx, 0x1f
test ecx, ecx
sete bl
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebx, ebp
test bl, bl
jne 0x518ae0
mov eax, 0x14
jmp 0x5193f0
mov byte [esp + 0xe3], 0x30
mov eax, 0x13
jmp 0x5192c3
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x107
je 0x518c34
cmp ebx, 0x108
jne 0x518bed
mov ebx, dword [esp + 0x84]
cmp ebx, 0xa
jge 0x518bad
inc esi
cmp eax, esi
jae 0x518ba8
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x84]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + edi - 1], 0x20
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x20d
jg 0x518f51
cmp ebx, 0x113
jg 0x518e2b
cmp ebx, 0x10a
je 0x518d3b
cmp ebx, 0x10b
je 0x518cf7
cmp ebx, 0x113
jne 0x5190f9
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov ebx, dword [esp + 0x38]
cmp ebx, 0x64
jge 0x518deb
inc esi
cmp eax, esi
jae 0x518d93
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + edi - 1], 0x20
cmp ebx, 0xa
jge 0x518deb
inc esi
cmp eax, esi
jae 0x518de6
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x80]
mov byte [esi + edi - 1], 0x20
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x114
je 0x518ef1
cmp ebx, 0x20c
je 0x518eb1
cmp ebx, 0x20d
jne 0x5190f9
mov ebx, eax
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x518e71
mov eax, 0xc
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov ebx, dword [esp + 0x34]
test ebx, ebx
jge 0x518efb
neg ebx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov ecx, ebx
sar ebx, 0x1f
sub edx, ebx
imul edx, edx, 0x64
sub ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x210
jle 0x519194
cmp ebx, 0x212
jle 0x519104
cmp ebx, 0x215
jne 0x519031
cmp ebp, 0xc
jl 0x518fd2
lea ebx, [esi + 2]
cmp eax, ebx
jae 0x518fca
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [edi + esi], 0x4d50
jmp 0x519028
lea ebx, [esi + 2]
cmp eax, ebx
jae 0x519022
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [edi + esi], 0x4d41
mov ecx, dword [esp + 0x70]
jmp 0x517f72
cmp ebx, 0x216
jne 0x5190f9
cmp ebp, 0xc
jl 0x51909a
lea ebx, [esi + 2]
cmp eax, ebx
jae 0x519092
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [edi + esi], 0x6d70
jmp 0x5190f0
lea ebx, [esi + 2]
cmp eax, ebx
jae 0x5190ea
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [edi + esi], 0x6d61
mov ecx, dword [esp + 0x70]
jmp 0x517f72
mov ecx, dword [esp + 0x70]
mov ebx, esi
jmp 0x517f72
cmp ebx, 0x211
jne 0x519150
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x20e
jne 0x519202
mov ebx, eax
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x5191c2
mov eax, 0xc
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
cmp ebx, 0x20f
jne 0x51924e
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00516c40
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebx, esi
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0x1ac]
mov dword [esp + 0x1f0], ebp
mov dword [esp + 0x1f4], esi
mov dword [esp + 0x1f8], eax
add esp, 0x1c4
ret
cmp eax, 0x14
ja 0x5193cd
lea ecx, [eax - 0x14]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0xd0]
lea ecx, [esp + 0x12c]
mov dword [esp], ecx
lea ecx, [0x96878b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [0xa2a3f8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00452370
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, 3
jb 0x5193c1
mov eax, dword [esp + 0xa0]
lea ecx, [eax + 3]
mov edx, dword [esp + 0x9c]
cmp edx, ecx
jb 0x51934b
mov ebp, dword [esp + 0x1a8]
jmp 0x519397
mov dword [esp + 0x18c], ebx
mov eax, dword [esp + 0x1a8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18c]
mov edx, eax
mov eax, dword [esp + 0xa0]
movzx esi, word [ebx]
movzx ebx, byte [ebx + 2]
mov word [ebp + eax], si
mov byte [ebp + eax + 2], bl
mov eax, edx
mov ebx, ecx
mov edi, ebp
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
jmp 0x517f72
mov ecx, 3
mov edx, eax
call fcn.00469710
mov ecx, 0x14
call fcn.00469750
add ebp, esi
adc ebx, 0
lea ebp, [edx + 0x30]
mov esi, dword [esp + 0x40]
xchg ebp, eax
mov byte [esp + esi + 0xcf], al
xchg ebp, eax
mov edx, ecx
mov ecx, ebx
test ecx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5192c3
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], eax
lea ebx, [eax - 1]
mov dword [esp + 0xa8], ebx
mov eax, 0xcccccccd
mov esi, edx
mul edx
mov dword [esp + 0x98], edx
mov eax, ecx
mov edi, 0xcccccccd
mul edi
shr edx, 3
mov dword [esp + 0x94], edx
lea eax, [edx + edx*4]
mov ebp, dword [esp + 0x98]
shr ebp, 3
lea ebx, [ebp + ebp*4]
shl eax, 1
sub ecx, eax
mov eax, 0x19999999
mul ecx
lea ecx, [ecx + ecx*2]
shl ebx, 1
sub esi, ebx
lea ebx, [esi + ecx*2]
mov ecx, eax
mov eax, edi
mov esi, edx
mul ebx
shr edx, 3
add ebp, 0
mov ebx, dword [esp + 0x94]
adc ebx, 0
add ecx, ebp
adc ebx, esi
mov ebp, ecx
add ecx, edx
mov eax, 0xa
mov esi, edx
mul ecx
mov edx, dword [esp + 0x50]
sub edx, eax
mov eax, dword [esp + 0xa8]
cmp eax, 0x14
jb 0x5193d7
mov ecx, 0x14
call fcn.004696f0
call fcn.004696f0
mov edx, dword [esp + 0xa0]
lea ebx, [eax + edx]
mov ebp, dword [esp + 0x9c]
cmp ebp, ebx
jb 0x5194da
mov esi, dword [esp + 0x1a8]
jmp 0x51952c
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x1a8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x8d9fa0]
mov dword [esp + 0x10], ecx
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x19c]
mov edx, dword [esp + 0xa0]
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1ac], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046a020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x1ac]
jmp 0x517f72
call fcn.004696f0
cmp eax, 0x14
ja 0x5195e3
lea ecx, [eax - 0x14]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0xbc]
lea ecx, [esp + 0x10c]
mov dword [esp], ecx
lea ecx, [0x96878b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [0xa2a3f8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00452370
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x5194bc
mov ecx, 0x14
call fcn.00469750
add esi, edi
adc ebp, 0
lea esi, [edx + 0x30]
mov edi, dword [esp + 0x3c]
xchg esi, eax
mov byte [esp + edi + 0xbb], al
xchg esi, eax
mov edx, ecx
mov ecx, ebp
mov eax, ebx
test ecx, ecx
seta bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x519581
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], eax
lea ebx, [eax - 1]
mov eax, 0xcccccccd
mov esi, edx
mul edx
mov eax, 0xcccccccd
mov edi, edx
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
shr edi, 3
lea ebp, [edi + edi*4]
shl ebp, 1
sub esi, ebp
shl eax, 1
sub ecx, eax
mov eax, 0x19999999
mov ebp, edx
mul ecx
mov dword [esp + 0x98], edx
lea ecx, [ecx + ecx*2]
lea esi, [esi + ecx*2]
mov ecx, eax
mov eax, 0xcccccccd
mul esi
shr edx, 3
add edi, 0
adc ebp, 0
add ecx, edi
mov esi, dword [esp + 0x98]
adc ebp, esi
mov esi, ecx
add ecx, edx
mov eax, 0xa
mov edi, edx
mul ecx
mov edx, dword [esp + 0x4c]
sub edx, eax
cmp ebx, 0x14
jb 0x5195ed
mov eax, ebx
mov ecx, 0x14
call fcn.004696f0
cmp eax, 0x14
ja 0x5197be
lea ecx, [eax - 0x14]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0xf8]
lea ecx, [esp + 0x16c]
mov dword [esp], ecx
lea ecx, [0x966368]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [0xa2a3f8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00452370
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x1a8]
cmp ecx, 3
jb 0x5197b2
lea ecx, [esi + 3]
cmp eax, ecx
jae 0x519794
mov dword [esp + 0x194], edx
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x194]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
movzx ebx, word [edx]
movzx edx, byte [edx + 2]
mov word [edi + esi], bx
mov byte [edi + esi + 2], dl
mov edx, dword [esp + 0x5c]
mov ebx, ecx
mov ecx, dword [esp + 0x70]
jmp 0x517f72
mov edx, ecx
mov ecx, 3
call fcn.00469710
mov ecx, 0x14
call fcn.00469750
add ebx, edi
adc ebp, 0
add edx, 0x30
mov ebx, dword [esp + 0x48]
mov byte [esp + ebx + 0xf7], dl
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov ebx, ebp
mov edi, eax
mov ebp, dword [esp + 0x80]
test ebx, ebx
sete al
seta dl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and eax, ebp
or eax, edx
test al, al
je 0x5198a7
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], edi
lea edx, [edi - 1]
mov dword [esp + 0xa8], edx
mov eax, 0xcccccccd
mul ecx
mov dword [esp + 0x98], edx
mov eax, ebx
mov esi, 0xcccccccd
mul esi
mov edi, dword [esp + 0x98]
shr edi, 3
lea eax, [edi + edi*4]
shr edx, 3
lea ebp, [edx + edx*4]
shl eax, 1
sub ecx, eax
shl ebp, 1
sub ebx, ebp
mov eax, 0x19999999
mov ebp, edx
mul ebx
mov dword [esp + 0x98], edx
lea ebx, [ebx + ebx*2]
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, esi
mul ebx
shr edx, 3
add edi, 0
adc ebp, 0
add ecx, edi
mov ebx, dword [esp + 0x98]
adc ebp, ebx
mov ebx, ecx
add ecx, edx
mov eax, 0xa
mov edi, edx
mul ecx
mov edx, dword [esp + 0x58]
sub edx, eax
mov eax, dword [esp + 0xa8]
cmp eax, 0x14
jb 0x5197c8
jmp 0x5198bd
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov eax, edi
jmp 0x5196b7
mov ecx, 0x14
call fcn.004696f0
mov eax, ecx
mov ecx, edx
call fcn.004696f0
lea ebx, [ecx + esi]
cmp eax, ebx
jae 0x519920
mov dword [esp + 0x190], edx
mov dword [esp + 0x28], ecx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea eax, [0x8d9fa0]
mov dword [esp + 0x10], eax
call fcn.0044e860
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x190]
mov esi, dword [esp + 0xa0]
mov edi, ebp
mov dword [esp + 0x1ac], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], eax
lea ebp, [edi + esi]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0046a020
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0x1ac]
jmp 0x517f72
mov eax, ecx
mov ecx, edx
call fcn.004696f0
cmp eax, 0x14
ja 0x5199fc
lea ecx, [eax - 0x14]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0xe4]
lea ecx, [esp + 0x14c]
mov dword [esp], ecx
lea ecx, [0x966368]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
lea eax, [0xa2a3f8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00452370
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x1a8]
jmp 0x5198d0
mov ecx, 0x14
call fcn.00469750
add ebx, edi
adc ebp, 0
add edx, 0x30
mov ebx, dword [esp + 0x44]
mov byte [esp + ebx + 0xe3], dl
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0xa0]
mov ebx, ebp
mov edi, eax
mov ebp, dword [esp + 0x80]
test ebx, ebx
sete al
seta dl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and eax, ebp
or eax, edx
test al, al
je 0x519ae5
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], edi
lea edx, [edi - 1]
mov dword [esp + 0xa8], edx
mov eax, 0xcccccccd
mul ecx
mov dword [esp + 0x98], edx
mov eax, ebx
mov esi, 0xcccccccd
mul esi
shr edx, 3
mov dword [esp + 0x94], edx
lea eax, [edx + edx*4]
mov edi, dword [esp + 0x98]
shr edi, 3
lea ebp, [edi + edi*4]
shl eax, 1
sub ebx, eax
mov eax, 0x19999999
mul ebx
lea ebx, [ebx + ebx*2]
shl ebp, 1
sub ecx, ebp
lea ebx, [ecx + ebx*2]
mov ecx, eax
mov eax, esi
mov ebp, edx
mul ebx
shr edx, 3
add edi, 0
mov ebx, dword [esp + 0x94]
adc ebx, 0
add ecx, edi
adc ebp, ebx
mov ebx, ecx
add ecx, edx
mov eax, 0xa
mov edi, edx
mul ecx
mov edx, dword [esp + 0x54]
sub edx, eax
mov eax, dword [esp + 0xa8]
cmp eax, 0x14
jb 0x519a06
jmp 0x519afb
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x80]
mov eax, edi
jmp 0x51997a
mov ecx, 0x14
call fcn.004696f0
nop
call fcn.00468280
jmp fcn.00517e80