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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6496e7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x444
mov eax, dword [0x6a56e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xe0], ecx
push 0x20000
mov ecx, dword [ebp - 0xe0]
call fcn.004918e0
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x495762
mov eax, dword [ebp - 0x1b8]
jmp 0x49751f
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x20], 0
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0xe3], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x120], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x13c], xmm0
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx + 0x110]
test edx, edx
je 0x4957d2
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x78], 1
mov dword [ebp - 0xe8], 1
jmp 0x495eef
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx + 0x85]
test edx, edx
je 0x4957f4
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0x86]
test ecx, ecx
jne 0x495857
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x78], 1
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00494cf0
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jne 0x49583e
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
jmp 0x495852
cmp dword [ebp - 0xe8], 1
je 0x495852
mov eax, dword [ebp - 0xe8]
jmp 0x49751f
jmp 0x495eef
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x48]
add edx, 4
mov eax, dword [ecx + 0x4c]
adc eax, 0
push eax
push edx
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x68]
push edx
mov ecx, dword [ebp - 0xe0]
call fcn.00498b20
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x22], 0
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x24], 0x6064b50
jne 0x495a28
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x79], 1
mov ecx, dword [ebp - 0xe0]
call fcn.00497b00
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x168], 0
ja 0x4958dc
jb 0x4958d2
cmp dword [ebp - 0x16c], 0x2c
jae 0x4958dc
mov eax, 1
jmp 0x49751f
cmp dword [ebp - 0x168], 0x40000000
jb 0x4958fd
ja 0x4958f3
cmp dword [ebp - 0x16c], 0
jb 0x4958fd
mov eax, 1
jmp 0x49751f
mov dword [ebp - 0x310], 0x2c
push 0x2c
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea ecx, [ebp - 0x3dc]
call fcn.00490c50
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x3dc]
call fcn.00494a40
lea ecx, [ebp - 0x3dc]
call fcn.004939b0
movzx edx, al
test edx, edx
jne 0x495954
mov eax, 1
jmp 0x49751f
push 0
mov eax, dword [ebp - 0x16c]
sub eax, 0x2c
mov ecx, dword [ebp - 0x168]
sbb ecx, 0
push ecx
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498cd0
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x49598f
mov eax, dword [ebp - 0x228]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov edx, dword [ebp - 0xe0]
cmp dword [edx + 0x24], 0x7064b50
je 0x4959b3
mov eax, 1
jmp 0x49751f
mov dword [ebp - 0x314], 0x10
push 0x10
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea ecx, [ebp - 0x334]
call fcn.00491070
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x334]
call fcn.004944a0
lea ecx, [ebp - 0x334]
call fcn.00493aa0
movzx edx, al
test edx, edx
jne 0x495a04
mov eax, 1
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x24], 0x6054b50
je 0x495a28
mov eax, 1
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x24], 0x6054b50
jne 0x495af0
mov dword [ebp - 0x318], 0x12
push 0x12
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00494430
lea ecx, [ebp - 0xdc]
call fcn.00493a40
movzx ecx, al
test ecx, ecx
jne 0x495a81
mov eax, 1
jmp 0x49751f
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x38], ecx
mov eax, dword [eax + 0x44]
mov dword [edx + 0x3c], eax
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x78], 1
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [edx + 0x48]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498b20
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x495ae0
mov eax, dword [ebp - 0x224]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
jmp 0x495eef
lea ecx, [ebp - 0x3ac]
call fcn.00490f10
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3ac]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00497540
mov byte [ebp - 0x101], al
movzx edx, byte [ebp - 0x101]
test edx, edx
jne 0x495b54
mov dword [ebp - 0x2d4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ac]
call fcn.004912d0
mov eax, dword [ebp - 0x2d4]
jmp 0x49751f
jmp 0x495b6c
mov dword [ebp - 4], 1
jmp 0x495b92
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x78], 1
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00494cf0
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0xe8], edx
cmp dword [ebp - 0xe8], 0
jne 0x495be6
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
jmp 0x495bf8
mov dword [ebp - 4], 0
jmp 0x495c08
cmp dword [ebp - 0xe8], 1
je 0x495c43
cmp dword [ebp - 0xe8], 0
je 0x495c43
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ac]
call fcn.004912d0
mov eax, dword [ebp - 0x248]
jmp 0x49751f
cmp dword [ebp - 0xe8], 0
jne 0x495c62
mov ecx, dword [ebp + 8]
call fcn.0048d370
test eax, eax
jne 0x495c62
mov dword [ebp - 0xe8], 1
cmp dword [ebp - 0xe8], 0
jne 0x495edd
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx + 0x3c]
jg 0x495cc0
jl 0x495cb1
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [eax + 0x48]
cmp edx, dword [ecx + 0x38]
jae 0x495cc0
mov dword [ebp - 0xe8], 1
jmp 0x495edd
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [eax + 0x48]
sub edx, dword [ecx + 0x38]
mov eax, dword [eax + 0x4c]
sbb eax, dword [ecx + 0x3c]
mov dword [ebp - 0x364], edx
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x184], 0xffffffff
mov dword [ebp - 0x180], 0xffffffff
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx + 0x7b]
test edx, edx
jne 0x495d35
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004929c0
mov dword [ebp - 0x140], eax
jmp 0x495e4b
mov dword [ebp - 0x114], 0
jmp 0x495d50
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
mov ecx, dword [ebp + 8]
call fcn.0048d370
cmp dword [ebp - 0x114], eax
jae 0x495e4b
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
call fcn.00487170
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x20]
cmp edx, dword [ebp - 0x38c]
jne 0x495dc4
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x48]
cmp edx, dword [ebp - 0x364]
jne 0x495dc4
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x4c]
cmp ecx, dword [ebp - 0x360]
jne 0x495dc4
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x140], edx
cmp dword [ebp - 0x114], 0
je 0x495e1f
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x20]
cmp ecx, dword [ebp - 0x160]
jb 0x495e1f
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x20]
cmp eax, dword [ebp - 0x160]
jne 0x495e46
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 0x4c]
cmp eax, dword [ebp - 0x180]
ja 0x495e46
jb 0x495e1f
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0x48]
cmp edx, dword [ebp - 0x184]
jae 0x495e46
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x48]
mov dword [ebp - 0x184], eax
mov ecx, dword [edx + 0x4c]
mov dword [ebp - 0x180], ecx
jmp 0x495d41
cmp dword [ebp - 0x140], 0xffffffff
jne 0x495e60
mov dword [ebp - 0xe8], 1
jmp 0x495edd
mov edx, dword [ebp - 0x140]
push edx
mov ecx, dword [ebp + 8]
call fcn.00487170
push eax
lea eax, [ebp - 0x3ac]
push eax
call fcn.004919e0
movzx ecx, al
test ecx, ecx
jne 0x495e8f
mov dword [ebp - 0xe8], 1
jmp 0x495edd
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x6c], 1
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0x7b]
test ecx, ecx
je 0x495ec1
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x184]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 0x180]
mov dword [edx + 0x64], ecx
jmp 0x495edd
push 0
mov ecx, dword [ebp + 8]
call fcn.00487170
mov edx, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x60], ecx
mov eax, dword [eax + 0x4c]
mov dword [edx + 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ac]
call fcn.004912d0
lea ecx, [ebp - 0x100]
call fcn.00483f40
mov dword [ebp - 4], 5
mov byte [ebp - 0xf2], 0
mov ecx, dword [ebp + 8]
call fcn.0048d370
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0xe8], 0
je 0x4965a0
mov ecx, dword [ebp + 8]
call fcn.00491e70
mov byte [ebp - 0xe3], 1
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 0
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x7d], 0
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7e], 0
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp - 0xe0]
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0x112]
test ecx, ecx
jne 0x4960f1
mov edx, dword [ebp - 0xe0]
movzx eax, byte [edx + 0x85]
test eax, eax
jne 0x49605e
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx + 0x87]
test edx, edx
jne 0x495fd0
mov dword [ebp - 0x24c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x24c]
jmp 0x49751f
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0xac], 0
je 0x496006
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x250]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ecx + 0x48]
push eax
push 0
mov ecx, dword [ebp - 0xe0]
call fcn.00498b20
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x496059
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x254]
jmp 0x49751f
jmp 0x4960f1
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
mov edx, dword [eax + 0x40]
or edx, dword [ecx + 0x44]
je 0x496096
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x48]
mov dword [eax + 0x38], edx
mov ecx, dword [ecx + 0x4c]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [edx + 0x48]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498b20
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4960f1
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x258], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x258]
jmp 0x49751f
mov edx, dword [ebp - 0xe0]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x80], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.004976f0
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x496164
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x25c]
jmp 0x49751f
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x24], 0x2014b50
je 0x496338
mov ecx, dword [ebp + 8]
call fcn.0048abf0
movzx ecx, al
test ecx, ecx
je 0x4961ad
mov dword [ebp - 0x260], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x260]
jmp 0x49751f
mov byte [ebp - 0xf1], 1
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x31c], 0x18
cmp dword [ebp - 0x118], 0x18
jb 0x4962ef
cmp dword [ebp - 0x118], 0x100000
ja 0x4962ef
mov ecx, dword [ebp - 0xe0]
call fcn.00497ae0
test eax, eax
jne 0x4962ef
lea ecx, [ebp - 0x234]
call fcn.00418f20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x234]
call fcn.00491810
mov edx, dword [ebp - 0x118]
push edx
lea ecx, [ebp - 0x234]
call fcn.0040b0c0
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
lea ecx, [ebp - 0x234]
call fcn.0040b0c0
mov ecx, dword [ebp - 0x118]
lea edx, [eax + ecx - 0x18]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x24], 0x2014b50
jne 0x4962e0
mov ecx, dword [ebp - 0x118]
xor edx, edx
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x2b4], ecx
mov dword [ebp - 0x2b0], edx
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx]
cmp edx, dword [ebp - 0x2b4]
jne 0x4962e0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x2b0]
jne 0x4962e0
push 0x10
push str.APK_Sig_Block_42
mov edx, dword [ebp - 0x1f8]
add edx, 8
push edx
call fcn.0061a904
add esp, 0xc
test eax, eax
jne 0x4962e0
mov byte [ebp - 0xf1], 0
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7a], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.00485d80
movzx ecx, byte [ebp - 0xf1]
test ecx, ecx
je 0x496338
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x82], 1
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x264]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x20], 1
mov ecx, dword [ebp - 0xe0]
call fcn.004934a0
sub eax, 4
sbb edx, 0
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], edx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x9c]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x270], edx
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x454]
call fcn.00490f10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x454]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00494ee0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x4963f1
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x268], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x454]
call fcn.004912d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x268]
jmp 0x49751f
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x100]
call fcn.004915f0
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x34], 0
je 0x4964c6
lea ecx, [ebp - 0x100]
call fcn.0048d370
and eax, 0xfff
jne 0x4964c6
mov ecx, dword [ebp + 8]
call fcn.0048d370
xor edx, edx
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2f4], edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x2f0], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x2ec], edx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x4964c6
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x454]
call fcn.004912d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2ac]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x24], 0x2014b50
je 0x4964f1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x454]
call fcn.004912d0
jmp 0x496505
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x454]
call fcn.004912d0
jmp 0x496389
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x18]
sub edx, dword [ebp - 0x270]
mov eax, dword [ecx + 0x1c]
sbb eax, dword [ebp - 0x26c]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], eax
mov byte [ebp - 0xf2], 1
lea ecx, [ebp - 0x100]
call fcn.0048d370
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x13c]
sub edx, dword [ecx + 0x38]
mov eax, dword [ebp - 0x138]
sbb eax, dword [ecx + 0x3c]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x100]
call fcn.0048abf0
movzx ecx, al
test ecx, ecx
jne 0x4965a0
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x6c], 1
push 0
lea ecx, [ebp - 0x100]
call fcn.00487170
mov ecx, dword [ebp - 0xe0]
mov edx, dword [eax + 0x48]
mov dword [ecx + 0x60], edx
mov eax, dword [eax + 0x4c]
mov dword [ecx + 0x64], eax
lea ecx, [ebp - 0x1b4]
call fcn.00490c50
lea ecx, [ebp - 0x2e8]
call fcn.00491070
mov byte [ebp - 0xe1], 0
mov ecx, dword [ebp - 0xe0]
call fcn.004934a0
sub eax, 4
sbb edx, 0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x1c0], 0xffffffff
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x24], 0x6064b50
jne 0x4967a0
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x9c]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 0xe1], 1
mov ecx, dword [ebp - 0xe0]
mov dl, byte [ebp - 0xe1]
mov byte [ecx + 0x79], dl
mov ecx, dword [ebp - 0xe0]
call fcn.00497b00
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 0
ja 0x496648
cmp dword [ebp - 0x17c], 0x2c
jb 0x49665f
cmp dword [ebp - 0x178], 0x40000000
jb 0x496690
ja 0x49665f
cmp dword [ebp - 0x17c], 0
jb 0x496690
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2b8]
jmp 0x49751f
mov dword [ebp - 0x320], 0x2c
push 0x2c
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x1b4]
call fcn.00494a40
mov ecx, dword [ebp + 8]
call fcn.0048d370
push eax
mov eax, dword [ebp - 0x17c]
sub eax, 0x2c
mov ecx, dword [ebp - 0x178]
sbb ecx, 0
push ecx
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.00498cd0
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
je 0x496720
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2bc]
jmp 0x49751f
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x24], 0x7064b50
je 0x49676b
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2c0]
jmp 0x49751f
mov dword [ebp - 0x324], 0x10
push 0x10
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004944a0
mov ecx, dword [ebp - 0xe0]
call fcn.00497ac0
mov ecx, dword [ebp - 0xe0]
cmp dword [ecx + 0x24], 0x6054b50
je 0x4967e0
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x7c], 1
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2c4]
jmp 0x49751f
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x22], 0
mov dword [ebp - 0x30c], 0x12
push 0x12
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00498aa0
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0xc8]
call fcn.00494430
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0x49682e
movzx ecx, word [ebp - 0xc8]
cmp ecx, 0xffff
je 0x49683b
movzx edx, word [ebp - 0xc8]
mov dword [ebp - 0x1ac], edx
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0x496855
movzx ecx, word [ebp - 0xc6]
cmp ecx, 0xffff
je 0x496862
movzx edx, word [ebp - 0xc6]
mov dword [ebp - 0x1a8], edx
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0x49687c
movzx ecx, word [ebp - 0xc4]
cmp ecx, 0xffff
je 0x496890
movzx eax, word [ebp - 0xc4]
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
movzx edx, byte [ebp - 0xe1]
test edx, edx
je 0x4968a9
movzx eax, word [ebp - 0xc2]
cmp eax, 0xffff
je 0x4968bd
movzx eax, word [ebp - 0xc2]
cdq
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
movzx ecx, byte [ebp - 0xe1]
test ecx, ecx
je 0x4968d1
cmp dword [ebp - 0xc0], 0xffffffff
je 0x4968e5
mov edx, dword [ebp - 0xc0]
xor eax, eax
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], eax
movzx ecx, byte [ebp - 0xe1]
test ecx, ecx
je 0x4968f9
cmp dword [ebp - 0xbc], 0xffffffff
je 0x49690d
mov edx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], eax
mov byte [ebp - 0xe2], 1
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [ebp - 0x134]
je 0x496929
mov byte [ebp - 0xe2], 0
movzx edx, byte [ebp - 0xe1]
test edx, edx
je 0x496987
mov eax, dword [ebp - 0x110]
xor ecx, ecx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x19c]
cmp edx, dword [ebp - 0x278]
jne 0x496980
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x274]
jne 0x496980
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [ebp - 0x134]
jne 0x496980
mov edx, dword [ebp - 0x190]
cmp edx, dword [ebp - 0x130]
je 0x496987
mov byte [ebp - 0xe2], 0
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0x87]
test ecx, ecx
je 0x4969b5
mov edx, dword [ebp - 0x120]
cmp edx, dword [ebp - 0x1a8]
je 0x4969b0
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
jmp 0x496cb1
movzx ecx, byte [ebp - 0xf2]
test ecx, ecx
je 0x496cb1
movzx edx, byte [ebp - 0xe2]
test edx, edx
je 0x496cb1
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x280], ecx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x27c], edx
movzx eax, byte [ebp - 0xe1]
test eax, eax
je 0x496ae1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x1c0]
cmp edx, dword [ecx + 0xa8]
jne 0x496adc
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x170]
sbb ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
cmp edx, dword [ebp - 0x170]
jg 0x496adc
jl 0x496a5c
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x174]
ja 0x496adc
movzx ecx, byte [ebp - 0xe3]
test ecx, ecx
je 0x496a97
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0x1c4], edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x158]
cmp ecx, dword [eax + 0x4c]
jg 0x496ad5
jl 0x496a97
mov edx, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x15c]
cmp eax, dword [edx + 0x48]
ja 0x496ad5
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x15c]
mov dword [ecx + 0x38], edx
mov eax, dword [ebp - 0x158]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x138]
sbb edx, dword [ebp - 0x158]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], edx
jmp 0x496adc
mov byte [ebp - 0xe2], 0
jmp 0x496c09
cmp dword [ebp - 0x110], 0
je 0x496c09
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [eax + 0xa8]
jne 0x496c09
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x138]
sbb eax, dword [ebp - 0x188]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [ebp - 0x138]
jg 0x496c02
jl 0x496b50
mov edx, dword [ebp - 0x154]
cmp edx, dword [ebp - 0x13c]
ja 0x496c02
movzx eax, byte [ebp - 0xe3]
test eax, eax
je 0x496b8b
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x150]
cmp eax, dword [edx + 0x4c]
jg 0x496bbd
jl 0x496b8b
mov ecx, dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x154]
cmp edx, dword [ecx + 0x48]
ja 0x496bbd
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0x154]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp - 0x150]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x188]
mov dword [ebp - 0x128], ecx
jmp 0x496c00
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x154]
sub eax, dword [edx + 0x38]
mov ecx, dword [ebp - 0x150]
sbb ecx, dword [edx + 0x3c]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x300], 0
jne 0x496bf9
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x83], 1
jmp 0x496c00
mov byte [ebp - 0xe2], 0
jmp 0x496c09
mov byte [ebp - 0xe2], 0
movzx eax, byte [ebp - 0xe3]
test eax, eax
je 0x496cb1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x280]
sub edx, dword [ecx + 0x38]
mov eax, dword [ebp - 0x27c]
sbb eax, dword [ecx + 0x3c]
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x204]
or ecx, dword [ebp - 0x200]
je 0x496cb1
mov dword [ebp - 0x144], 0
jmp 0x496c65
mov edx, dword [ebp - 0x144]
add edx, 1
mov dword [ebp - 0x144], edx
mov ecx, dword [ebp + 8]
call fcn.0048d370
cmp dword [ebp - 0x144], eax
jae 0x496cb1
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp + 8]
call fcn.00487170
add eax, 0x48
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ecx]
add edx, dword [ebp - 0x204]
mov eax, dword [ecx + 4]
adc eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
jmp 0x496c56
movzx edx, byte [ebp - 0xe2]
test edx, edx
jne 0x496cc6
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ebp - 0x1ac]
mov dword [ecx + 0x8c], edx
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0x87]
test ecx, ecx
jne 0x496dae
mov edx, dword [ebp - 0xe0]
cmp dword [edx + 0x8c], 0
jne 0x496d3c
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [eax + 0xa6]
test ecx, ecx
je 0x496d3c
mov edx, dword [ebp - 0xe0]
movzx eax, byte [edx + 0xa2]
test eax, eax
je 0x496d3c
mov ecx, dword [ebp - 0xe0]
add ecx, 0xc4
call fcn.00492280
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0xa6], 0
movzx edx, byte [ebp - 0xe3]
test edx, edx
je 0x496da1
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x8c], 0
je 0x496da1
mov dword [ebp - 0x148], 0
jmp 0x496d71
mov ecx, dword [ebp - 0x148]
add ecx, 1
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp + 8]
call fcn.0048d370
cmp dword [ebp - 0x148], eax
jae 0x496da1
mov edx, dword [ebp - 0x148]
push edx
mov ecx, dword [ebp + 8]
call fcn.00487170
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x8c]
mov dword [eax + 0x20], edx
jmp 0x496d62
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x88], 1
movzx ecx, byte [ebp - 0xe1]
test ecx, ecx
je 0x496eb2
cmp dword [ebp - 0x1ac], 0
jne 0x496e0a
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x38]
add eax, dword [ebp - 0x2e0]
mov ecx, dword [edx + 0x3c]
adc ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x174]
cmp edx, dword [ebp - 0x288]
jne 0x496e81
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x284]
jne 0x496e81
mov ecx, dword [ebp - 0x110]
xor edx, edx
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x290]
jne 0x496e81
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x28c]
jne 0x496e81
mov edx, dword [ebp - 0x194]
cmp edx, dword [ebp - 0x134]
jne 0x496e81
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x130]
jne 0x496e81
mov ecx, dword [ebp - 0x18c]
cmp ecx, dword [ebp - 0x12c]
jne 0x496e72
mov edx, dword [ebp - 0x188]
cmp edx, dword [ebp - 0x128]
je 0x496eb2
mov ecx, dword [ebp + 8]
call fcn.0048abf0
movzx eax, al
test eax, eax
jne 0x496eb2
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2c8]
jmp 0x49751f
movzx edx, byte [ebp - 0xe2]
test edx, edx
je 0x49736a
lea ecx, [ebp - 0x100]
call fcn.0048abf0
movzx eax, al
test eax, eax
jne 0x49736a
lea ecx, [ebp - 0x240]
call fcn.0040d8f0
mov byte [ebp - 4], 8
mov dword [ebp - 0x10c], 0
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x81], 1
mov dword [ebp - 0x11c], 0
jmp 0x496f18
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
lea ecx, [ebp - 0x100]
call fcn.0048d370
cmp dword [ebp - 0x11c], eax
jae 0x497302
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x34], 0
je 0x496fe8
mov ecx, dword [ebp - 0x11c]
and ecx, 0x3fff
jne 0x496fe8
lea ecx, [ebp - 0x240]
call fcn.00417590
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.0048d370
add eax, esi
xor edx, edx
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0xe0]
add eax, 0x18
push eax
lea ecx, [ebp - 0x308]
push ecx
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx + 0x34]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x496fe8
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.00485d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2cc]
jmp 0x49751f
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x100]
call fcn.00487170
mov dword [ebp - 0xec], eax
mov dword [ebp - 0x124], 0xffffffff
cmp dword [ebp - 0x10c], 0xffffffff
je 0x497115
mov ecx, dword [ebp + 8]
call fcn.0048d370
cmp dword [ebp - 0x10c], eax
jae 0x497115
mov ecx, dword [ebp - 0x10c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00487170
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0xec]
mov ecx, dword [edx + 0x20]
cmp ecx, dword [eax + 0x20]
jne 0x49710b
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ecx + 0x48]
cmp eax, dword [edx + 0x48]
jne 0x497098
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0x1d8]
mov eax, dword [ecx + 0x4c]
cmp eax, dword [edx + 0x4c]
je 0x4970ee
mov ecx, dword [ebp - 0xe0]
movzx edx, byte [ecx + 0x83]
test edx, edx
je 0x49710b
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 0x48]
xor edx, edx
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov edx, dword [ebp - 0x298]
cmp edx, dword [ecx + 0x48]
jne 0x49710b
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax + 0x4c]
jne 0x49710b
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
jmp 0x497115
mov dword [ebp - 0x10c], 0xffffffff
cmp dword [ebp - 0x124], 0xffffffff
jne 0x497134
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004929c0
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0xffffffff
jne 0x49715e
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00491620
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
jmp 0x496f09
mov edx, dword [ebp - 0x124]
push edx
mov ecx, dword [ebp + 8]
call fcn.00487170
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xec]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x24
push ecx
call fcn.004914d0
movzx edx, al
test edx, edx
jne 0x497249
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], ecx
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x10]
jne 0x497249
mov edx, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x497249
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x497249
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1fc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 0xc]
jne 0x497249
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00493130
movzx eax, al
test eax, eax
je 0x497249
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
mov eax, dword [ecx + 0x1c]
cmp eax, dword [edx + 0x1c]
je 0x497258
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
jmp 0x496f09
mov edx, dword [ebp - 0xec]
mov ax, word [edx + 0x40]
mov ecx, dword [ebp - 0xf0]
mov word [ecx + 0x40], ax
mov edx, dword [ebp - 0xec]
add edx, 0x50
push edx
mov ecx, dword [ebp - 0xf0]
add ecx, 0x50
call fcn.00491450
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xec]
mov dx, word [ecx + 0x42]
mov word [eax + 0x42], dx
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 0xec]
add eax, 0x60
push eax
mov ecx, dword [ebp - 0xf0]
add ecx, 0x60
call fcn.00491340
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xec]
mov al, byte [edx + 0x69]
mov byte [ecx + 0x69], al
mov ecx, dword [ebp - 0xec]
movzx edx, word [ecx]
and edx, 0x800
je 0x4972fd
mov eax, dword [ebp - 0xf0]
movzx ecx, word [eax]
or ecx, 0x800
mov edx, dword [ebp - 0xf0]
mov word [edx], cx
jmp 0x496f09
mov dword [ebp - 0x14c], 0
jmp 0x49731d
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x240]
call fcn.00417590
cmp dword [ebp - 0x14c], eax
jae 0x49735b
mov ecx, dword [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.00487190
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x100]
call fcn.00487170
push eax
mov ecx, dword [ebp + 8]
call fcn.004915f0
jmp 0x49730e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.00485d80
movzx eax, word [ebp - 0xc4]
movzx ecx, word [ebp - 0xc2]
cmp ecx, eax
jge 0x497386
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x7c], 1
movzx eax, word [ebp - 0xc8]
test eax, eax
jne 0x4973ad
movzx ecx, word [ebp - 0xc4]
movzx edx, word [ebp - 0xc2]
cmp edx, ecx
je 0x4973ad
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
movzx ecx, byte [ebp - 0xe1]
test ecx, ecx
je 0x497417
mov ecx, dword [ebp + 8]
call fcn.0048d370
xor edx, edx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], edx
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x2a0]
jne 0x49740b
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x29c]
jne 0x49740b
mov ecx, dword [ebp + 8]
call fcn.0048d370
movzx edx, word [ebp - 0xc2]
cmp edx, eax
je 0x497415
movzx eax, word [ebp - 0xc2]
cmp eax, 0xffff
je 0x497415
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
jmp 0x49748f
mov ecx, dword [ebp + 8]
call fcn.0048d370
movzx edx, word [ebp - 0xc2]
cmp edx, eax
jbe 0x497434
mov eax, dword [ebp - 0xe0]
mov byte [eax + 0x7c], 1
mov ecx, dword [ebp - 0x110]
xor edx, edx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], edx
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x2a8]
jne 0x497464
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [ebp - 0x2a4]
je 0x49748f
movzx edx, word [ebp - 0x110]
movzx eax, word [ebp - 0x19c]
cmp eax, edx
je 0x497482
mov ecx, dword [ebp - 0xe0]
mov byte [ecx + 0x7c], 1
jmp 0x49748f
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x84], 1
movzx eax, word [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xe0]
add ecx, 0x70
push ecx
mov ecx, dword [ebp - 0xe0]
call fcn.00494cb0
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x20], 0
movzx eax, word [ebp - 0x110]
movzx ecx, word [ebp - 0x19c]
cmp ecx, eax
jne 0x4974f3
mov edx, dword [ebp - 0x194]
cmp edx, dword [ebp - 0x134]
jne 0x4974f3
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x12c]
je 0x4974fd
mov ecx, dword [ebp + 8]
call fcn.0048abf0
movzx ecx, al
test ecx, ecx
jne 0x4974fd
mov edx, dword [ebp - 0xe0]
mov byte [edx + 0x7c], 1
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004911d0
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006158c5
mov esp, ebp
pop ebp
ret 4