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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x4c], ecx
test eax, eax
mov dword [ebp - 0x84], eax
je 0x49686c
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00472920
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call fcn.004701c0
mov eax, dword [ebp - 0x2c]
cmp eax, 1
je 0x494d90
cmp eax, 2
mov eax, dword [ebp - 0x30]
je 0x495081
test eax, eax
je 0x494d41
mov dword [esp], eax
call fcn.006eb310
mov dword [esp], 0xc
call fcn.006eb4a0
mov ebx, eax
mov eax, dword [ebp - 0x4c]
mov ecx, ebx
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], 0x732d25
mov dword [esp + 4], eax
call fcn.00492360
sub esp, 8
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], ebx
call fcn.006ebc00
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
cmp ecx, 0x7f
jg 0x494d39
movsx edx, cl
mov dword [esp], 0x732d1a
mov dword [esp + 4], edx
call fcn.00470100
test eax, eax
js 0x496440
mov edi, dword [ebp + 8]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4950a0
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
cmp byte [ebx + 0x244], 0
jne 0x4950ba
cmp byte [ebx + 0x320], 0
je 0x494df9
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov byte [eax + 0x79], 1
movzx eax, byte [ebx + 0x321]
xor eax, 1
mov byte [edi + 0x78], al
cmp byte [ebx + 0x334], 0
je 0x4955d0
mov eax, dword [ebx + 0x33c]
mov dword [ebp - 0x8c], 2
mov esi, dword [eax]
mov eax, dword [esi + 4]
test eax, eax
jne 0x495930
cmp byte [ebx + 0x3c0], 0
je 0x494e3b
movzx eax, byte [ebx + 0x3c1]
xor eax, 1
mov byte [0x70ec8c], al
cmp byte [ebx + 0x1f4], 0
mov dword [ebp - 0x54], 2
je 0x494e6a
mov eax, dword [ebx + 0x1f8]
mov dword [ebp - 0x54], 1
test eax, eax
je 0x494e6a
cmp eax, 1
sete al
movzx eax, al
add eax, eax
mov dword [ebp - 0x54], eax
movzx eax, byte [ebx + 0x30c]
mov esi, 0xffffffff
xor eax, 1
cmp byte [ebx + 0x2a8], 0
mov byte [ebp - 0x59], al
jne 0x495670
cmp byte [ebx + 0x294], 0
mov dword [0x70ec88], esi
jne 0x495704
movzx esi, byte [ebx + 0x168]
mov dword [ebp - 0x80], 0xfde9
mov eax, esi
test al, al
jne 0x495795
cmp byte [ebx + 0x17c], 0
jne 0x4957d2
cmp byte [ebx + 0x1b8], 0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x24]
jne 0x495383
lea eax, [edi - 7]
mov byte [ebp - 0x5a], 1
cmp eax, 2
jbe 0x495383
lea eax, [edi - 3]
cmp eax, 2
jbe 0x495393
cmp edi, 6
je 0x495960
cmp edi, 0xa
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 0
je 0x49539b
cmp byte [ebx + 0x2f8], 0
je 0x494f36
mov edx, dword [ebx + 0x2fc]
mov eax, 1
cmp edx, 1
je 0x494f2d
xor eax, eax
cmp edx, 2
sete al
add eax, eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x148], eax
cmp byte [ebp - 0x5a], 0
je 0x4955e0
cmp dword [ebp - 0x84], 1
jbe 0x496af5
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x28]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00472a90
mov eax, dword [ebp + 8]
sub esp, 4
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x496bc2
mov dword [ebp - 0x70], 2
movzx eax, byte [ebp - 0x59]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
add eax, 0xc
cmp edi, 0xa
mov dword [ebp - 0x6c], eax
je 0x4951e0
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov eax, dword [eax + 8]
cmp dword [ebp - 0x70], eax
je 0x4951e9
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x70]
test edx, edx
cmovs edx, eax
cmp esi, eax
mov dword [ebp - 0x58], edx
jae 0x4959ba
mov edx, dword [ebp - 0x4c]
lea ecx, [esi*4]
mov edx, dword [edx + 4]
mov esi, dword [edx + esi*4]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x495043
lea ebx, [ecx + 4]
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x58], ebx
jbe 0x495003
mov ebx, dword [esi]
cmp word [ebx], 0x40
je 0x4953c3
test edi, edi
je 0x495970
cmp dword [ebp - 0x64], 0xffffffff
jne 0x495262
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x64], edx
add dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
jae 0x4959b0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [edx + 4]
mov esi, dword [edx + ecx]
add ecx, 4
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x494fef
mov dword [esp], 0xc
call fcn.006eb4a0
mov ecx, eax
mov ebx, eax
call fcn.00472730
mov dword [esp], 0x732d9b
mov ecx, ebx
call fcn.00473090
sub esp, 4
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], ebx
call fcn.006ebc00
cmp word [eax], 0x72
jne 0x494d39
cmp word [eax + 2], 0x6e
jne 0x494d39
mov edi, dword [ebp + 8]
mov dword [edi + 0x24], 0xa
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
cmp byte [ebx + 0x244], 0
je 0x494dd9
mov eax, dword [ebp + 8]
lea edx, [ebx + 0x24c]
add eax, 0x38
cmp edx, eax
je 0x494dd9
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x49511d
lea edi, [esi*4 - 4]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 8]
sub esi, 1
mov eax, dword [eax + 0x38]
mov ebx, dword [eax + edi]
test ebx, ebx
je 0x495110
mov edx, dword [ebx]
test edx, edx
je 0x495100
mov dword [esp], edx
call fcn.006eb310
mov dword [esp + 4], 0xc
mov dword [esp], ebx
call fcn.006eb350
sub edi, 4
test esi, esi
jne 0x4950e2
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [eax + 0x3c], 0
mov eax, dword [ebx + 0x250]
cmp eax, dword [edi + 0x40]
mov dword [ebp - 0x54], eax
jbe 0x495178
cmp eax, 0x1fffffff
ja 0x496beb
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x496168
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x38]
test esi, esi
je 0x49516f
mov dword [esp], esi
call fcn.006eb310
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], edi
mov edi, dword [ebp - 0x54]
mov dword [eax + 0x40], edi
mov eax, dword [ebp - 0x54]
xor esi, esi
test eax, eax
je 0x4951ce
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax + esi*4]
mov dword [esp], 0xc
mov dword [ebp - 0x50], edx
call fcn.006eb380
mov edx, dword [ebp - 0x50]
mov ecx, eax
mov edi, eax
mov dword [esp], edx
call fcn.00472920
mov eax, dword [ebp + 8]
sub esp, 4
add esi, 1
cmp dword [ebp - 0x54], esi
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x50]
mov dword [edx + eax*4], edi
jne 0x495181
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
jmp 0x494dd9
mov eax, dword [ebp + 8]
lea edi, [eax + 0x1a4]
mov eax, esi
test al, al
jne 0x495257
lea ecx, [ebp - 0x30]
mov dword [esp], 0x732f26
call fcn.00472880
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
je 0x495920
cmp eax, 1
jne 0x495910
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.004b0130
movzx eax, al
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 1
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.004b0dd0
mov eax, dword [ebp - 0x30]
sub esp, 0x10
test eax, eax
je 0x495257
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
jmp 0x494faf
mov eax, dword [ebp - 0x64]
mov eax, dword [edx + eax*4]
mov dword [esp], 0x20
mov dword [ebp - 0x64], eax
call fcn.006eb380
mov ecx, eax
mov ebx, eax
call fcn.00472730
lea eax, [ebx + 0xc]
mov ecx, eax
mov dword [ebp - 0x60], eax
call fcn.00472730
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov byte [ebx + 0x18], 1
mov dword [ebx + 0x1c], 2
je 0x495804
mov edx, dword [edi]
mov dword [edx + eax*4], ebx
add eax, 1
mov ecx, ebx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call fcn.00472a90
mov ecx, dword [ebp - 0x60]
sub esp, 4
mov dword [esp], esi
call fcn.00472a90
movzx eax, byte [ebp - 0x59]
sub esp, 4
mov dword [ebx + 0x1c], 2
test al, al
mov byte [ebx + 0x18], al
je 0x4958f5
mov dword [esp], ebx
call fcn.004b0130
test al, al
je 0x4958f5
lea ecx, [ebp - 0x30]
call fcn.00472730
lea ecx, [ebp - 0x30]
mov dword [esp], ebx
call fcn.00472fc0
lea ecx, [ebp - 0x30]
sub esp, 4
call fcn.00472e20
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
mov dword [esp], eax
call fcn.00472fc0
lea ecx, [ebp - 0x30]
sub esp, 4
call fcn.00472e20
mov dword [esp], 0xc
call fcn.006eb4a0
mov ecx, eax
mov ebx, eax
mov esi, dword [ebp - 0x30]
call fcn.00472730
mov dword [esp], 0x732db2
mov ecx, ebx
call fcn.00473090
sub esp, 4
test esi, esi
je 0x49536b
mov ecx, ebx
call fcn.00472e20
mov dword [esp], esi
mov ecx, ebx
call fcn.00472ec0
sub esp, 4
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], ebx
call fcn.006ebc00
lea eax, [edi - 3]
mov byte [ebp - 0x5a], 0
cmp eax, 2
ja 0x494ef0
mov byte [ebp - 0x5c], 1
mov byte [ebp - 0x5b], 1
mov eax, dword [ebp + 8]
cmp byte [eax + 7], 0
je 0x494f0a
movzx eax, byte [ebx + 0x2f8]
test al, al
mov byte [ebp - 0x5a], al
je 0x4955e0
mov byte [ebp - 0x5a], 0
jmp 0x494f13
add ebx, 2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [esp], ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x88], eax
call fcn.004b6cc0
test al, al
je 0x4968e0
mov eax, dword [ebp - 0x80]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [ebp - 0x88], eax
call fcn.004af1b0
test al, al
je 0x496895
test edi, edi
je 0x495e40
mov eax, dword [ebp - 0x38]
mov edx, eax
and edx, 1
mov dword [ebp - 0x60], edx
jne 0x496943
test eax, eax
je 0x4961a9
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
lea edx, [esi + 1]
mov esi, dword [eax + edx*4]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp], 0x20
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], eax
call fcn.006eb380
mov ecx, eax
mov ebx, eax
call fcn.00472730
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.00472730
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov byte [ebx + 0x18], 1
mov dword [ebx + 0x1c], 2
je 0x495570
mov edx, dword [edi]
mov dword [edx + eax*4], ebx
add eax, 1
mov ecx, ebx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call fcn.00472a90
mov eax, dword [ebp - 0x78]
sub esp, 4
mov ecx, esi
mov dword [esp], eax
call fcn.00472a90
mov edx, dword [ebp - 0x54]
movzx eax, byte [ebp - 0x59]
sub esp, 4
cmp edx, 2
mov dword [ebx + 0x1c], edx
mov byte [ebx + 0x18], al
je 0x4955f0
lea ecx, [ebp - 0x30]
call fcn.00472730
lea ecx, [ebp - 0x30]
mov dword [esp], ebx
call fcn.00472fc0
lea ecx, [ebp - 0x30]
sub esp, 4
call fcn.00472e20
lea ecx, [ebp - 0x30]
mov dword [esp], esi
call fcn.00472fc0
lea ecx, [ebp - 0x30]
sub esp, 4
call fcn.00472e20
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x496ae1
cmp dword [ebp - 0x54], 1
je 0x495e25
mov dword [esp], 0xc
call fcn.006eb4a0
mov ecx, eax
mov ebx, eax
mov esi, dword [ebp - 0x30]
call fcn.00472730
mov dword [esp], 0x732db2
mov ecx, ebx
call fcn.00473090
sub esp, 4
test esi, esi
je 0x495550
mov ecx, ebx
call fcn.00472e20
mov dword [esp], esi
mov ecx, ebx
call fcn.00472ec0
sub esp, 4
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], ebx
call fcn.006ebc00
nop
lea esi, [esi]
mov edx, eax
shr edx, 2
lea eax, [eax + edx + 1]
cmp eax, 0x1fffffff
mov dword [ebp - 0x90], eax
ja 0x496ab9
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
test eax, eax
jne 0x4958c5
test ecx, ecx
je 0x4955bf
mov dword [esp], ecx
mov dword [ebp - 0x94], edx
call fcn.006eb310
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov dword [edi], edx
mov dword [edi + 8], ecx
jmp 0x495487
mov dword [ebp - 0x8c], 0
jmp 0x494e23
mov dword [ebp - 0x70], 1
jmp 0x494f7c
cmp byte [ebp - 0x59], 0
jne 0x495e10
add dword [ebp - 0x60], 2
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x60]
cmp esi, eax
ja 0x495439
test esi, esi
mov eax, dword [ebp - 0x3c]
je 0x495655
lea ebx, [esi*4 - 4]
mov dword [ebp - 0x60], edi
lea esi, [esi]
mov edi, dword [eax + ebx]
sub esi, 1
test edi, edi
je 0x49564b
mov eax, dword [edi]
test eax, eax
je 0x495638
mov dword [esp], eax
call fcn.006eb310
mov dword [esp + 4], 0xc
mov dword [esp], edi
call fcn.006eb350
mov eax, dword [ebp - 0x3c]
sub ebx, 4
test esi, esi
jne 0x495620
mov edi, dword [ebp - 0x60]
test eax, eax
je 0x495661
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
jmp 0x49501b
mov edx, dword [ebx + 0x2b4]
mov eax, dword [ebx + 0x2b0]
lea ecx, [ebp - 0x30]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp], eax
call fcn.00472920
mov eax, dword [ebp - 0x30]
sub esp, 4
cmp word [eax], 0
jne 0x495860
mov dword [esp], eax
xor ebx, ebx
call fcn.004701c0
jmp 0x4956bc
add ebx, 1
cmp ebx, 3
je 0x4967b0
mov eax, dword [ebx*8 + 0x732f80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004703d0
test al, al
je 0x4956b0
mov esi, dword [ebx*8 + 0x732f84]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4956ec
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
mov dword [0x70ec88], esi
cmp byte [ebx + 0x294], 0
je 0x494e9c
mov edx, dword [ebx + 0x2a0]
mov eax, dword [ebx + 0x29c]
lea ecx, [ebp - 0x30]
mov eax, dword [eax + edx*4 - 4]
mov dword [esp], eax
call fcn.00472920
mov eax, dword [ebp - 0x30]
sub esp, 4
cmp word [eax], 0
jne 0x495892
mov dword [esp], eax
xor ebx, ebx
call fcn.004701c0
jmp 0x49574c
add ebx, 1
cmp ebx, 5
je 0x496758
mov eax, dword [ebx*8 + 0x732f80]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004703d0
test al, al
je 0x495740
mov eax, dword [ebx*8 + 0x732f84]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49577f
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
movzx esi, byte [ebx + 0x168]
mov eax, esi
test al, al
je 0x494eb4
mov edi, dword [ebp - 0x80]
movzx ecx, byte [ebp - 0x59]
lea edx, [ebx + 0x170]
mov eax, dword [ebp + 8]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x54]
add eax, 0xc
mov dword [esp + 4], ecx
mov ecx, 1
mov dword [esp], edi
call fcn.00494430
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
cmp byte [ebx + 0x17c], 0
je 0x494ec1
mov edi, dword [ebp - 0x80]
movzx ecx, byte [ebp - 0x59]
lea edx, [ebx + 0x184]
mov eax, dword [ebp + 8]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x54]
add eax, 0xc
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp], edi
call fcn.00494430
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
jmp 0x494ec1
mov edx, eax
shr edx, 2
lea eax, [eax + edx + 1]
cmp eax, 0x1fffffff
mov dword [ebp - 0x78], eax
ja 0x496beb
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
test eax, eax
jne 0x495eb0
test ecx, ecx
je 0x49584a
mov dword [esp], ecx
mov dword [ebp - 0x7c], edx
call fcn.006eb310
mov eax, dword [edi + 4]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [edi], edx
mov dword [edi + 8], ecx
jmp 0x4952a6
lea edi, [ebp - 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004af6c0
mov edx, dword [ebp - 0x3c]
cmp word [edx], 0
sete dl
cmp eax, 0xffff
ja 0x49588a
test dl, dl
mov esi, eax
jne 0x4956dd
mov eax, dword [ebp - 0x30]
jmp 0x49569b
lea edi, [ebp - 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004af6c0
mov edx, dword [ebp - 0x3c]
cmp word [edx], 0
sete dl
cmp eax, 0xffff
ja 0x4958bd
test dl, dl
mov dword [ebp - 0x80], eax
jne 0x495770
mov eax, dword [ebp - 0x30]
jmp 0x49572f
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], edx
call fcn.005e73f8
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
jmp 0x4955a8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], 0xffffffff
mov eax, dword [eax + 8]
jmp 0x49501b
xor eax, eax
jmp 0x495223
mov eax, 1
jmp 0x495223
mov dword [esp + 4], 0x732d3a
mov eax, dword [esi]
mov dword [esp], eax
call fcn.005e72c8
test eax, eax
jne 0x496bff
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], 1
mov ebx, dword [eax]
jmp 0x494e23
mov byte [ebp - 0x5c], 0
mov byte [ebp - 0x5b], 1
jmp 0x49539b
mov edx, dword [ebp - 0x54]
mov eax, 1
test edx, edx
je 0x495987
xor eax, eax
cmp edx, 1
je 0x495fd0
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 1
mov dword [esp + 0xc], edx
call fcn.004b0dd0
sub esp, 0x10
jmp 0x495661
cmp dword [ebp - 0x64], 0xffffffff
jne 0x496b51
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp + 8]
mov esi, dword [eax]
movzx eax, byte [esi + 0xc8]
cmp byte [esi + 0x104], 0
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0xdc]
mov byte [edi + 0xb], al
jne 0x496186
mov eax, dword [ebp + 8]
lea edx, [esi + 0x120]
add eax, 0x1e0
cmp edx, eax
je 0x495b1f
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1e4]
test ebx, ebx
je 0x495a4e
lea edi, [ebx*4 - 4]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 8]
sub ebx, 1
mov eax, dword [eax + 0x1e0]
mov esi, dword [eax + edi]
test esi, esi
je 0x495a41
mov edx, dword [esi]
test edx, edx
je 0x495a31
mov dword [esp], edx
call fcn.006eb310
mov dword [esp + 4], 0xc
mov dword [esp], esi
call fcn.006eb350
sub edi, 4
test ebx, ebx
jne 0x495a10
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [eax + 0x1e4], 0
mov eax, dword [esi + 0x124]
cmp eax, dword [edi + 0x1e8]
mov dword [ebp - 0x54], eax
jbe 0x495abb
cmp eax, 0x1fffffff
ja 0x496beb
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1e4]
test eax, eax
jne 0x496147
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x1e0]
test ebx, ebx
je 0x495aac
mov dword [esp], ebx
call fcn.006eb310
mov eax, dword [ebp + 8]
mov dword [eax + 0x1e0], edi
mov edi, dword [ebp - 0x54]
mov dword [eax + 0x1e8], edi
mov edi, dword [ebp - 0x54]
xor ebx, ebx
test edi, edi
je 0x495b1a
mov eax, dword [esi + 0x120]
mov edx, dword [eax + ebx*4]
mov dword [esp], 0xc
mov dword [ebp - 0x50], edx
call fcn.006eb380
mov edx, dword [ebp - 0x50]
mov ecx, eax
mov edi, eax
mov dword [esp], edx
call fcn.00472920
mov eax, dword [ebp + 8]
sub esp, 4
add ebx, 1
cmp dword [ebp - 0x54], ebx
mov edx, dword [eax + 0x1e0]
mov eax, dword [eax + 0x1e4]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp + 8]
lea ecx, [eax + 1]
mov dword [edx + 0x1e4], ecx
mov edx, dword [ebp - 0x50]
mov dword [edx + eax*4], edi
jne 0x495ac4
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax]
cmp byte [esi + 0x12c], 0
je 0x495cb1
mov ecx, dword [esi + 0x138]
xor ebx, ebx
test ecx, ecx
jne 0x495b7e
jmp 0x495cb1
mov edx, dword [edi + 0x6c]
mov dword [edx + eax*4], esi
add eax, 1
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x495b5b
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x495b6a
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [ebp - 0x4c]
add ebx, 1
mov esi, dword [eax]
cmp dword [esi + 0x138], ebx
jbe 0x495cb1
lea ecx, [ebp - 0x30]
call fcn.00472730
lea ecx, [ebp - 0x24]
call fcn.00472730
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov eax, dword [eax + 0x134]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.00472a90
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp + 4], 0x3d
mov dword [esp], eax
call fcn.00470140
test eax, eax
mov esi, eax
js 0x495bec
lea edi, [eax + eax + 2]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
add eax, edi
mov dword [esp], eax
call fcn.004729e0
sub esp, 4
cmp esi, dword [ebp - 0x2c]
jae 0x495bec
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x2c], esi
mov word [eax + edi - 2], dx
mov dword [esp], 0x18
call fcn.006eb380
mov esi, eax
lea eax, [ebp - 0x30]
mov ecx, esi
mov dword [esp], eax
call fcn.00472920
lea eax, [ebp - 0x24]
sub esp, 4
lea ecx, [esi + 0xc]
mov dword [esp], eax
call fcn.00472920
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
sub esp, 4
mov eax, dword [eax + 0x70]
cmp eax, dword [edi + 0x74]
jne 0x495b40
mov edx, eax
shr edx, 2
lea edi, [eax + edx + 1]
cmp edi, 0x1fffffff
ja 0x496924
lea eax, [edi*4]
mov dword [esp], eax
call fcn.006eb360
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x70]
mov ecx, dword [ecx + 0x6c]
test eax, eax
jne 0x495c90
test ecx, ecx
je 0x495c7b
mov dword [esp], ecx
mov dword [ebp - 0x50], edx
call fcn.006eb310
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x50]
mov eax, dword [eax + 0x70]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], edi
mov dword [ecx + 0x6c], edx
mov edi, ecx
jmp 0x495b43
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
call fcn.005e73f8
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
jmp 0x495c67
cmp byte [esi + 0x370], 0
je 0x495ccb
mov eax, dword [ebp + 8]
mov byte [eax + 0x9c], 1
mov byte [eax + 0x9d], 1
movzx ebx, byte [esi + 0x384]
mov eax, dword [ebp + 8]
test bl, bl
mov byte [eax + 0x9f], bl
je 0x495cf3
mov edi, eax
movzx eax, byte [esi + 0x385]
xor eax, 1
mov byte [edi + 0x9e], al
mov eax, edi
movzx edx, byte [esi + 0x348]
test dl, dl
mov byte [eax + 0xa1], dl
je 0x495d16
mov edi, eax
movzx eax, byte [esi + 0x349]
xor eax, 1
mov byte [edi + 0xa0], al
movzx eax, byte [esi + 0x35c]
mov edi, dword [ebp + 8]
test al, al
mov byte [edi + 0xa3], al
je 0x495d3a
movzx ecx, byte [esi + 0x35d]
xor ecx, 1
mov byte [edi + 0xa2], cl
cmp byte [ebp - 0x5b], 0
je 0x495ee0
mov edi, dword [ebp + 8]
test bl, bl
movzx ecx, word [edi + 0x9c]
mov word [edi + 0x90], cx
movzx ecx, word [edi + 0x9e]
mov word [edi + 0x96], cx
jne 0x495d6e
mov byte [edi + 0x96], 1
movzx ecx, word [edi + 0xa0]
test dl, dl
mov word [edi + 0x94], cx
jne 0x495d87
mov byte [edi + 0x94], 1
movzx edx, word [edi + 0xa2]
test al, al
mov word [edi + 0x92], dx
jne 0x495da0
mov byte [edi + 0x92], 1
movzx eax, byte [esi + 0x398]
mov byte [edi + 0x98], al
movzx eax, byte [esi + 0x3ac]
mov byte [edi + 0x99], al
mov edi, dword [ebp - 0x6c]
mov dword [esp], 2
mov ecx, edi
call fcn.004b47b0
mov ecx, edi
sub esp, 4
call fcn.004b1820
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 1
je 0x495ffc
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732f28
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], ebx
call fcn.004b0130
test al, al
je 0x4955fa
jmp 0x4954c6
lea ecx, [ebp - 0x30]
mov dword [esp], 0x732dae
call fcn.00473090
sub esp, 4
jmp 0x49550f
mov eax, dword [ebp - 0x38]
xor ebx, ebx
test eax, eax
jne 0x495e86
jmp 0x4961a9
cmp eax, 1
je 0x495ea0
xor eax, eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 1
mov dword [esp + 0xc], edx
call fcn.004b0dd0
mov esi, dword [ebp - 0x38]
add ebx, 1
sub esp, 0x10
cmp esi, ebx
jbe 0x49560c
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + ebx*4]
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x495e50
mov eax, 1
jmp 0x495e57
mov dword [esp], esi
call fcn.004b0130
movzx eax, al
jmp 0x495e57
shl eax, 2
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], edx
call fcn.005e73f8
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x7c]
jmp 0x495839
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
cmp ecx, 0xa
ja 0x495fe0
mov eax, 1
shl eax, cl
test eax, 0x407
jne 0x4961b8
cmp ecx, 7
jne 0x495fe0
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x84]
mov dword [eax + 0x1fc], 1
mov eax, dword [ebp - 0x70]
cmp eax, edi
jae 0x495ff2
mov edi, eax
lea ebx, [eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
cmp word [eax], 0
jne 0x4967f0
mov dword [esp], 0xc
call fcn.006eb4a0
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov ecx, esi
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx]
mov eax, dword [eax]
mov dword [esp], 0x732efc
mov dword [esp + 4], eax
call fcn.00492360
sub esp, 8
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
call fcn.006ebc00
mov ebx, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x495f9d
mov dword [esp], eax
call fcn.006eb310
mov ecx, dword [ebp - 0x88]
call fcn.00604ff0
mov dword [esp], ebx
call fcn.005d7530
mov esi, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x495fc1
mov dword [esp], eax
call fcn.006eb310
mov dword [esp], esi
call fcn.005d7530
lea esi, [esi]
mov dword [esp], esi
call fcn.004b0130
movzx eax, al
jmp 0x495987
cmp ecx, 9
je 0x4965f3
cmp ecx, 8
jne 0x496cba
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jne 0x495de2
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp byte [eax + 0x190], 0
jne 0x4964c8
cmp byte [eax + 0x1a4], 0
jne 0x49649f
cmp byte [ebp - 0x5a], 0
jne 0x496470
mov dword [esp], 0
mov ecx, ebx
xor esi, esi
call fcn.004b47b0
mov eax, dword [ebp + 8]
sub esp, 4
mov edi, dword [eax + 0x4c]
test edi, edi
je 0x496079
nop
lea esi, [esi]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + esi*4]
add esi, 1
lea edx, [eax + 0xc]
call fcn.00491bb0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4c], esi
ja 0x496060
mov ecx, ebx
call fcn.004b1820
mov eax, dword [ebp + 8]
cmp byte [eax + 7], 0
jne 0x496450
cmp byte [ebp - 0x5c], 0
je 0x496105
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
je 0x4960c2
mov eax, dword [eax + 0x1f4]
cmp eax, 1
je 0x496b1e
mov edi, dword [ebp + 8]
cmp byte [edi + 5], 0
je 0x4960c2
test eax, eax
je 0x4960c2
cmp byte [edi + 6], 0
jne 0x496b1e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp byte [eax + 0x140], 0
jne 0x4965a2
cmp byte [eax + 0xf0], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x80], 0
je 0x4964f9
mov eax, dword [eax + 0xf4]
mov byte [edi + 0x7b], 1
mov eax, dword [eax*4 + 0x7332e4]
mov dword [edi + 0x80], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cmp eax, 3
je 0x4961b1
cmp eax, 5
je 0x4961b1
mov eax, 2
cmp dword [ebp - 0x8c], 2
je 0x496529
cmp dword [ebp - 0x8c], 1
je 0x496516
mov edi, dword [ebp + 8]
mov dword [edi + 0x7c], eax
jmp 0x495ff2
mov edx, dword [ebp + 8]
shl eax, 2
mov ebx, dword [edx + 0x1e0]
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.005e73f8
jmp 0x495aa1
mov esi, dword [ebp + 8]
shl eax, 2
mov esi, dword [esi + 0x38]
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.005e73f8
jmp 0x495164
mov eax, dword [esi + 0x10c]
lea ecx, [edi + 0x1d4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00472a90
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov esi, dword [eax]
jmp 0x4959e3
mov eax, dword [ebp - 0x3c]
jmp 0x495655
xor eax, eax
jmp 0x496122
cmp byte [esi + 0x190], 0
jne 0x496c91
mov eax, dword [ebp + 8]
lea edx, [eax + 0xa8]
mov eax, dword [ebp - 0x4c]
call fcn.004923c0
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0xd4]
test ebx, ebx
lea esi, [ebx*4 - 4]
je 0x49623a
lea esi, [esi]
mov eax, dword [ebp + 8]
sub ebx, 1
mov eax, dword [eax + 0xd0]
mov edi, dword [eax + esi]
test edi, edi
je 0x496230
mov eax, dword [edi + 0xc]
test eax, eax
je 0x496212
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [edi]
test eax, eax
je 0x496220
mov dword [esp], eax
call fcn.006eb310
mov dword [esp + 4], 0x18
mov dword [esp], edi
call fcn.006eb350
sub esi, 4
test ebx, ebx
jne 0x4961f0
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [eax + 0xd4], 0
mov eax, dword [eax + 0x70]
cmp eax, dword [edi + 0xd8]
mov dword [ebp - 0x50], eax
jbe 0x4962a4
cmp eax, 0x1fffffff
ja 0x496beb
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd4]
test eax, eax
jne 0x4965d2
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xd0]
test esi, esi
je 0x496295
mov dword [esp], esi
call fcn.006eb310
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x50]
mov dword [eax + 0xd0], ebx
mov dword [eax + 0xd8], edi
mov ecx, dword [ebp - 0x50]
xor esi, esi
test ecx, ecx
je 0x49630b
lea esi, [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
mov ebx, dword [eax + esi*4]
mov dword [esp], 0x18
call fcn.006eb380
mov ecx, eax
mov edi, eax
mov dword [esp], ebx
call fcn.00472920
sub esp, 4
add ebx, 0xc
lea ecx, [edi + 0xc]
mov dword [esp], ebx
call fcn.00472920
mov eax, dword [ebp + 8]
sub esp, 4
add esi, 1
cmp dword [ebp - 0x50], esi
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 0xd0]
mov eax, dword [eax + 0xd4]
lea ecx, [eax + 1]
mov dword [ebx + 0xd4], ecx
mov dword [edx + eax*4], edi
jne 0x4962b0
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
cmp byte [eax + 0x2d0], 0
je 0x496323
mov byte [edi + 0x15c], 1
movzx edx, word [edi + 0x9e]
mov esi, dword [ebp - 0x8c]
mov dword [edi + 0x188], esi
mov word [edi + 0x19a], dx
movzx edx, word [edi + 0x9c]
mov word [edi + 0x198], dx
movzx edx, word [edi + 0xa0]
mov word [edi + 0x19c], dx
movzx edx, word [edi + 0xa2]
mov word [edi + 0x19e], dx
movzx edx, byte [eax + 0x230]
test dl, dl
mov byte [edi + 0x16d], dl
jne 0x49653c
movzx ecx, byte [eax + 0x3d4]
movzx edx, byte [edi + 8]
movzx ebx, byte [edi + 7]
mov byte [edi + 0x1a0], cl
movzx ecx, byte [eax + 0x3e8]
test dl, dl
mov byte [edi + 0x16c], dl
mov byte [edi + 0x15d], bl
mov byte [edi + 0x1a1], cl
je 0x4963ec
cmp byte [edi + 0x16d], 0
jne 0x4969e0
cmp byte [edi + 5], 0
jne 0x4969b7
cmp dword [edi + 0x1f4], 1
je 0x496a13
cmp dword [edi + 0x1ec], 1
je 0x496a13
cmp dword [edi + 0x1f0], 1
je 0x496a13
test bl, bl
jne 0x496581
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0xa
jne 0x495ff2
cmp dword [eax + 0xe4], 1
je 0x495ff2
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732ec8
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x494d39
jmp 0x494d41
lea ecx, [eax + 0x60]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x260]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00472a90
sub esp, 4
jmp 0x49608d
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], 0
mov ecx, ebx
mov dword [esp], 1
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [esp + 4], eax
call fcn.004b0dd0
sub esp, 0x10
jmp 0x49603b
lea edx, [eax + 0x1ac]
mov eax, dword [ebp - 0x80]
mov dword [esp], 2
xor ecx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], eax
mov eax, ebx
call fcn.00494430
jmp 0x496031
lea edx, [eax + 0x198]
mov eax, dword [ebp - 0x80]
mov dword [esp], 2
mov ecx, 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], eax
mov eax, ebx
call fcn.00494430
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
jmp 0x496024
cmp byte [edi + 0xa], 0
je 0x496105
mov dword [edi + 0x80], 1
mov byte [edi + 0x7b], 1
jmp 0x496105
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov byte [eax + 0x7a], 1
jmp 0x495ff2
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 3
mov byte [eax + 0x7a], 1
jmp 0x495ff2
mov eax, dword [eax + 0x238]
lea ebx, [edi + 0x170]
mov ecx, ebx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00472a90
mov eax, dword [ebp + 8]
sub esp, 4
mov edx, dword [eax + 0x174]
test edx, edx
je 0x496574
mov eax, dword [eax + 0x170]
cmp word [eax], 0x2e
je 0x49684c
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
jmp 0x49637c
mov eax, dword [eax + 0x260]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [edi + 0x160]
mov dword [esp], eax
call fcn.00472a90
sub esp, 4
jmp 0x4963f4
mov eax, dword [eax + 0x148]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
lea ebx, [edi + 0x84]
mov ecx, ebx
mov dword [esp], eax
call fcn.00472a90
sub esp, 4
mov dword [esp], ebx
call fcn.004b8d20
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
jmp 0x4960d4
mov edi, dword [ebp + 8]
shl eax, 2
mov esi, dword [edi + 0xd0]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.005e73f8
jmp 0x49628a
mov edi, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x6c]
mov dword [esp], edi
mov ecx, esi
call fcn.004b47b0
mov ecx, esi
sub esp, 4
call fcn.004b1820
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x1c4]
mov dword [esi + 0x1d0], edi
mov eax, esi
mov edi, esi
test ebx, ebx
je 0x49666b
lea edi, [ebx*4 - 4]
mov eax, dword [ebp + 8]
sub ebx, 1
mov eax, dword [eax + 0x1c0]
mov esi, dword [eax + edi]
test esi, esi
je 0x49665f
mov eax, dword [esi]
test eax, eax
je 0x49664f
mov dword [esp], eax
call fcn.006eb310
mov dword [esp + 4], 0xc
mov dword [esp], esi
call fcn.006eb350
sub edi, 4
test ebx, ebx
jne 0x49662e
mov eax, dword [ebp + 8]
mov edi, eax
mov dword [eax + 0x1c4], 0
mov eax, dword [eax + 0x3c]
cmp eax, dword [edi + 0x1c8]
mov dword [ebp - 0x50], eax
jbe 0x4966cc
cmp eax, 0x1fffffff
ja 0x496beb
shl eax, 2
mov dword [esp], eax
call fcn.006eb360
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c4]
test eax, eax
jne 0x496820
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x1c0]
test esi, esi
jne 0x49683c
mov edi, dword [ebp - 0x50]
mov dword [eax + 0x1c0], ebx
mov dword [eax + 0x1c8], edi
mov eax, dword [ebp - 0x50]
xor ebx, ebx
test eax, eax
je 0x49671f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ebx*4]
mov dword [esp], 0xc
call fcn.006eb380
mov ecx, eax
mov esi, eax
mov dword [esp], edi
call fcn.00472920
mov eax, dword [ebp + 8]
sub esp, 4
add ebx, 1
cmp dword [ebp - 0x50], ebx
mov edi, dword [ebp + 8]
mov edx, dword [eax + 0x1c0]
mov eax, dword [eax + 0x1c4]
lea ecx, [eax + 1]
mov dword [edi + 0x1c4], ecx
mov dword [edx + eax*4], esi
jne 0x4966d5
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp + 8]
mov eax, dword [eax]
cmp byte [eax + 0x2d0], 0
mov eax, dword [ebp + 8]
je 0x49673c
mov byte [eax + 0x1cc], 1
mov edi, eax
movzx eax, byte [eax + 7]
mov byte [edi + 0x1cd], al
movzx eax, byte [edi + 0x9e]
mov byte [edi + 0x1ce], al
jmp 0x495ff2
mov dword [esp], 0xc
call fcn.006eb4a0
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], 0x732d50
mov ecx, esi
mov dword [esp + 4], eax
call fcn.00492360
sub esp, 8
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
call fcn.006ebc00
mov ebx, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4967a7
mov dword [esp], eax
call fcn.006eb310
mov dword [esp], ebx
call fcn.005d7530
nop
mov dword [esp], 0xc
call fcn.006eb4a0
mov esi, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], 0x732d50
mov ecx, esi
mov dword [esp + 4], eax
call fcn.00492360
sub esp, 8
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
call fcn.006ebc00
jmp 0x496796
lea edi, [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004af6c0
mov edi, dword [ebp + 8]
mov dword [edi + 0x1fc], eax
mov eax, dword [ebp - 0x30]
cmp word [eax], 0
je 0x495ff2
jmp 0x495f46
mov edi, dword [ebp + 8]
shl eax, 2
mov esi, dword [edi + 0x1c0]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.005e73f8
mov dword [esp], esi
call fcn.006eb310
mov eax, dword [ebp + 8]
jmp 0x4966bd
mov eax, dword [ebp + 8]
mov ecx, ebx
mov byte [eax + 0x16e], 1
mov dword [esp], 0
call fcn.00473a20
sub esp, 4
jmp 0x496574
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732cfc
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], ebx
mov dword [esp], 0x732cb8
mov ecx, eax
mov esi, eax
call fcn.00492360
sub esp, 8
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
call fcn.006ebc00
mov ebx, eax
jmp 0x495f9d
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], ebx
mov dword [esp], 0x732ca3
mov ecx, eax
mov esi, eax
call fcn.00492360
sub esp, 8
lea eax, [ebp - 0x3c]
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
mov dword [ebp - 0x88], eax
call fcn.006ebc00
call fcn.006ebc70
mov ebx, eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x496798
mov dword [esp], eax
call fcn.006eb310
jmp 0x496798
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], ebx
mov dword [esp], 0x732cb8
mov ecx, eax
mov esi, eax
call fcn.00492360
push eax
push eax
mov dword [esp + 8], 0x609670
mov dword [esp + 4], 0x74fb3c
mov dword [esp], esi
call fcn.006ebc00
mov esi, eax
mov dword [esp], ebx
call fcn.006eb830
jmp 0x495fc1
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732e9c
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732e6c
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732e00
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
call fcn.006ebc70
mov esi, eax
mov eax, dword [ebx]
test eax, eax
je 0x496ace
mov dword [esp], eax
call fcn.006eb310
mov dword [esp], ebx
mov ebx, esi
call fcn.006eb830
jmp 0x495f8e
lea ecx, [ebp - 0x30]
mov dword [esp], 0x732dab
call fcn.00473090
jmp 0x495e34
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732d65
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732e00
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov ebx, eax
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x64]
mov ecx, ebx
mov eax, dword [eax + 4]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
mov dword [esp], 0x732dd0
mov dword [esp + 4], eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732d7e
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
call fcn.006ebc70
jmp 0x49697d
mov dword [esp], 0xc
call fcn.006eb4a0
mov ebx, eax
mov eax, dword [esi]
mov dword [esp], 0x732d3e
mov ecx, ebx
mov dword [esp + 4], eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 0xc
call fcn.006eb4a0
mov dword [esp + 4], 0
mov dword [esp], 0x732e3c
mov ecx, eax
mov ebx, eax
call fcn.00492360
jmp 0x494d6b
mov dword [esp], 4
call fcn.006eb4a0
mov dword [eax], 0x1337a87
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7522c0
mov dword [esp], eax
call fcn.006ebc00
jmp 0x49697d