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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd5c
mov eax, dword [ebp + 0x44]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x40], ebx
mov dword [eax], 0
call fcn.007c5260
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
je 0x7adc36
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [ebx + 0x9c]
call dword [eax + 0xc]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xc]
cmp esi, eax
jne 0x7ada60
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x7ada60
mov eax, 1
jmp 0x7ada62
xor eax, eax
test al, al
jne 0x7ae109
cmp dword [esp + 0x38], 3
je 0x7ae03a
lea ecx, [esp + 0x548]
call fcn.007df1c0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x13c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.007ded90
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0079ecf0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.007c4ee0
add esp, 0xc
lea ecx, [esp + 0x138]
call fcn.007df1d0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x54c]
call fcn.007ded90
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.007abca0
test eax, eax
jne 0x7ae013
mov esi, dword [ebx + 0x90]
lea ecx, [esp + 0x548]
push eax
push dword [ebp + 0x28]
mov dword [esp + 0x1c], eax
push dword [ebp + 0x1c]
mov edi, dword [esi]
push eax
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call dword [edi + 0x7c]
mov ecx, dword [esp + 0x14]
mov esi, eax
test ecx, ecx
je 0x7adb5b
cmp ecx, 0xffffffff
je 0x7adb5b
push ecx
call fcn.008178f0
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
test esi, esi
je 0x7adf1f
cmp esi, 0xc0000034
je 0x7adbba
cmp esi, 0xc000003a
je 0x7adbba
test ecx, ecx
je 0x7adb91
cmp ecx, 0xffffffff
je 0x7adb91
push ecx
call fcn.008178f0
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x548]
call fcn.007df1d0
mov esi, dword [ebp + 0x14]
push esi
call fcn.007c5260
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x7ada30
mov edi, dword [ebp + 0xc]
jmp 0x7adc36
mov ecx, dword [ebx + 0x90]
lea edx, [esp + 0x18]
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x28]
mov dword [esp + 0x20], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push edi
push edx
call dword [eax + 0x7c]
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0x7adbf6
cmp ecx, 0xffffffff
je 0x7adbf6
push ecx
call fcn.008178f0
cmp dword [esp + 0x38], 1
jne 0x7adc90
test esi, esi
jne 0x7adc73
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7adc27
cmp eax, 0xffffffff
je 0x7adc27
push eax
call fcn.008178f0
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x548]
call fcn.007df1d0
mov esi, dword [ebp + 0x14]
cmp dword [ebx + 0x98], 1
jne 0x7afad3
push edi
mov edi, dword [ebp + 0x30]
push edi
call fcn.007c4e80
add esp, 8
test eax, eax
jne 0x7ae7e5
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
cmp esi, 0xc0000034
je 0x7adedd
cmp esi, 0xc000003a
je 0x7adedd
jmp 0x7adfce
test esi, esi
jne 0x7adec9
push edi
call fcn.007c59c0
add esp, 4
test eax, eax
je 0x7adebb
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x754]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.007ded90
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x58]
push eax
call fcn.0079ecf0
push eax
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.007a8760
lea ecx, [esp + 0x750]
call fcn.007df1d0
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x54c]
push dword [ebp + 0x34]
or eax, 0x20
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0x90]
push eax
push 5
push dword [ebp + 0x28]
mov edi, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push 0x100082
push dword [ebp + 8]
mov ecx, esi
call dword [edi + 0x80]
test eax, eax
je 0x7add69
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.0078d630
jmp 0x7adfdc
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x7add76
cmp eax, 3
jne 0x7adddb
mov esi, dword [ebx + 0x90]
lea eax, [esp + 0xd0]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x64]
push 0x100b56b4
call fcn.007dee30
mov ecx, eax
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0x98]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
mov ecx, esi
call dword [edi + 0xbc]
test eax, eax
jne 0x7adddb
test dword [esp + 0xf0], 0x10
jne 0x7adddb
push eax
push dword [ebp + 0x10]
call fcn.007c5000
add esp, 8
lea ecx, [esp + 0x18]
call fcn.0078d630
push dword [ebp + 0x30]
mov esi, dword [ebx + 0x90]
lea ecx, [esp + 0x54c]
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
mov edi, dword [esi]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x7c]
test eax, eax
je 0x7ade47
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.0078d630
jmp 0x7adfdc
lea ecx, [esp + 0x138]
call fcn.007df1c0
lea eax, [esp + 0x138]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.007ab740
test eax, eax
je 0x7ade8f
lea eax, [esp + 0x138]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
lea ecx, [ebx + 0x64]
call fcn.007798b0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x7ade8f
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x138]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
call fcn.007df1d0
lea ecx, [esp + 0x18]
call fcn.0078d630
jmp 0x7adfdc
lea ecx, [esp + 0x14]
call fcn.0078d630
jmp 0x7adc27
cmp esi, 0xc0000034
je 0x7adedd
cmp esi, 0xc000003a
jne 0x7adfce
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x13c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.007ded90
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x58]
push eax
call fcn.0079ecf0
push eax
lea eax, [esp + 0x48]
mov ecx, ebx
push eax
call fcn.007a8760
lea ecx, [esp + 0x138]
call fcn.007df1d0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x90]
lea ecx, [esp + 0x54c]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
mov esi, eax
test esi, esi
jne 0x7adfce
lea ecx, [esp + 0x138]
call fcn.007df1c0
lea eax, [esp + 0x138]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.007ab740
test eax, eax
je 0x7adfc2
lea eax, [esp + 0x138]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
lea ecx, [ebx + 0x64]
call fcn.007798b0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x7adfc2
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x138]
call fcn.007df1d0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7ae025
cmp eax, 0xffffffff
je 0x7ae025
push eax
call fcn.008178f0
mov ecx, dword [esp + 0x14]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x548]
call fcn.007df1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x548]
call fcn.007df1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
lea ecx, [esp + 0x138]
call fcn.007df1c0
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x754]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.007ded90
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0079ecf0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.007c4ee0
add esp, 0xc
lea ecx, [esp + 0x750]
call fcn.007df1d0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x90]
lea ecx, [esp + 0x13c]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x138]
call fcn.007df1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x138]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esp + 0x750]
call fcn.007df1c0
mov esi, dword [ebp + 0x18]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.0079ecc0
push eax
lea ecx, [esp + 0x95c]
call fcn.007df060
lea ecx, [esp + 0x340]
call fcn.007df1c0
lea ecx, [esp + 0x138]
call fcn.007dee00
push eax
lea ecx, [esp + 0x95c]
call fcn.007df460
test eax, eax
jne 0x7ae1cb
lea eax, [esp + 0x750]
mov ecx, esi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0079ecc0
push eax
mov ecx, ebx
call fcn.007ac540
lea ecx, [esp + 0x750]
call fcn.007dee00
push eax
lea ecx, [esp + 0x13c]
call fcn.007dee00
push eax
lea eax, [esp + 0xb68]
push eax
call fcn.007c4eb0
add esp, 0xc
lea ecx, [esp + 0x340]
push eax
call fcn.007df1f0
lea ecx, [esp + 0xb60]
call fcn.007df1d0
jmp 0x7ae1df
lea eax, [esp + 0x958]
push eax
lea ecx, [esp + 0x344]
call fcn.007df1f0
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.0079ecc0
push eax
call fcn.007c5960
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x7ae219
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.0079ecc0
push eax
call fcn.007c5870
add esp, 4
test eax, eax
jne 0x7ae219
xor edi, edi
jmp 0x7ae21e
mov edi, 1
lea ecx, [esp + 0x340]
call fcn.007dee00
push eax
call fcn.007c5960
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x38]
cmp eax, 3
jne 0x7ae35a
test esi, esi
jne 0x7ae26b
test edi, edi
je 0x7ae26b
lea ecx, [esp + 0x750]
call fcn.007dee00
push eax
lea ecx, [esp + 0x13c]
call fcn.007dee00
push eax
mov ecx, ebx
call fcn.007a8760
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x90]
lea ecx, [esp + 0x344]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
mov ecx, dword [0x100d71e8]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x7ae768
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x344]
call fcn.007ded90
push 0x100be8c0
push esi
push 0x100c205c
lea eax, [esp + 0x50]
push eax
push 0x100c2050
push 0x100c2008
push 0x100c1ff8
push 0x100be500
push 2
lea ecx, [esp + 0x9c]
call fcn.00775df0
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778300
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.007783a0
mov ecx, eax
call fcn.00778410
lea ecx, [esp + 0x78]
call fcn.007781e0
jmp 0x7ae768
cmp eax, 1
jne 0x7ae4d5
cmp dword [esp + 0x18], 0
je 0x7ae37c
test esi, esi
jne 0x7ae37c
mov byte [esp + 0x23], 0
lea ecx, [esp + 0x958]
jmp 0x7ae3b1
mov byte [esp + 0x23], 1
test esi, esi
jne 0x7ae3aa
test edi, edi
je 0x7ae3aa
lea ecx, [esp + 0x750]
call fcn.007dee00
push eax
lea ecx, [esp + 0x13c]
call fcn.007dee00
push eax
mov ecx, ebx
call fcn.007a8760
lea ecx, [esp + 0x340]
call fcn.007dee00
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x90]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
mov ecx, dword [0x100d71e8]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x7ae768
cmp byte [esp + 0x23], 0
lea ecx, [esp + 0x340]
jne 0x7ae42f
lea ecx, [esp + 0x958]
call fcn.007dee00
push 0x100be8c0
push esi
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.00777670
push eax
movzx eax, byte [esp + 0x2b]
lea ecx, [esp + 0x80]
push 0x100c2078
push edi
push 0x100c2050
push eax
push 0x100c2068
push 0x100c2008
push 0x100c1ff8
push 0x100be500
push 2
call fcn.00775df0
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.007783a0
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778300
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778280
mov ecx, eax
call fcn.00778410
lea ecx, [esp + 0x78]
call fcn.007781e0
lea ecx, [esp + 0x84]
call fcn.007792b0
jmp 0x7ae768
cmp eax, 2
jne 0x7ae764
push dword [ebp + 0xc]
call fcn.007c59c0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x7ae5cb
test esi, esi
jne 0x7ae5cb
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x7ae688
test esi, esi
jne 0x7ae67a
test edi, edi
je 0x7ae53c
lea ecx, [esp + 0x750]
call fcn.007dee00
push eax
lea ecx, [esp + 0x13c]
call fcn.007dee00
push eax
mov ecx, ebx
call fcn.007a8760
cmp dword [esp + 0x18], 0
je 0x7ae67a
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x344]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x90]
or eax, 0x20
push eax
push 2
push dword [ebp + 0x28]
mov dword [esp + 0x40], 0
push dword [ebp + 0x24]
mov edi, dword [esi]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push 0x100082
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call dword [edi + 0x80]
test eax, eax
je 0x7ae5f7
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.0078d630
jmp 0x7ae7ac
mov eax, 1
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x7ae4ff
test esi, esi
jne 0x7ae4ff
cmp dword [esp + 0x18], esi
je 0x7ae4ff
mov dword [esp + 0x18], eax
jmp 0x7ae517
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x7ae604
cmp eax, 3
jne 0x7ae671
mov esi, dword [ebx + 0x90]
lea eax, [esp + 0xd0]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x64]
push 0x100b56b4
call fcn.007dee30
mov ecx, eax
call fcn.007dee00
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x98]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
mov ecx, esi
call dword [edi + 0xbc]
test eax, eax
jne 0x7ae671
mov eax, dword [esp + 0xf0]
shr eax, 4
not al
test al, 1
je 0x7ae671
push dword [esp + 0x2c]
push dword [ebp + 0x10]
call fcn.007c5000
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.0078d630
cmp dword [esp + 0x24], 0
lea ecx, [esp + 0x340]
jne 0x7ae68f
lea ecx, [esp + 0x958]
call fcn.007dee00
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x90]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
mov ecx, dword [0x100d71e8]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x7ae768
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x340]
test edi, edi
jne 0x7ae70a
lea ecx, [esp + 0x958]
call fcn.007dee00
push 0x100be8c0
push esi
push 0x100c205c
push eax
push 0x100c2050
push edi
push 0x100c2068
push 0x100c2008
push 0x100c1ff8
push 0x100be500
push 2
lea ecx, [esp + 0xa4]
call fcn.00775df0
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.007783a0
jmp 0x7ae329
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x340]
call fcn.007dee00
push eax
mov ecx, ebx
call fcn.007abca0
test esi, esi
jne 0x7ae79e
test eax, eax
je 0x7ae79e
test byte [ebp + 0x2c], 6
je 0x7ae79e
lea ecx, [esp + 0x340]
call fcn.007dee00
push eax
mov ecx, ebx
call fcn.007bec00
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
lea ecx, [esp + 0x340]
call fcn.007df1d0
lea ecx, [esp + 0x958]
call fcn.007df1d0
lea ecx, [esp + 0x750]
call fcn.007df1d0
lea ecx, [esp + 0x138]
call fcn.007df1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x7ae813
cmp eax, 2
je 0x7ae809
cmp eax, 1
je 0x7ae809
cmp eax, 3
je 0x7ae809
cmp eax, 4
je 0x7ae813
cmp eax, 5
jne 0x7adc58
cmp eax, 4
je 0x7ae813
cmp eax, 5
jne 0x7ae81f
test edi, 1
jne 0x7adc58
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x100]
push eax
call fcn.0079ecf0
mov edi, esi
test esi, esi
je 0x7ae83b
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [esp + 0x44]
push 4
push eax
call fcn.00820440
lea eax, [esp + 0x50]
push 4
push eax
call fcn.00820440
xor eax, eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00820440
lea eax, [esp + 0x58]
push 4
push eax
call fcn.00820440
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00820440
add esp, 0x28
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x340]
call fcn.007df1c0
lea ecx, [esp + 0x548]
call fcn.007df1c0
lea ecx, [esp + 0x60]
call fcn.0079eaf0
mov eax, dword [esp + 0x48]
mov esi, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x60]
push eax
call fcn.0079ebb0
test eax, eax
je 0x7aeedf
cmp dword [esp + 0x60], 0
je 0x7ae930
lea eax, [esp + 0x64]
push eax
call fcn.007c5b00
add esp, 4
test eax, eax
je 0x7ae925
push dword [esp + 0x68]
mov esi, 1
mov dword [esp + 0x58], 0x10
push dword [esp + 0x68]
lea ecx, [esp + 0x550]
mov dword [esp + 0x18], esi
call fcn.007df210
push eax
lea ecx, [esp + 0x344]
call fcn.007df1f0
jmp 0x7aea2a
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x7aea2a
lea eax, [esp + 0x64]
push eax
call fcn.007c5a00
add esp, 4
test eax, eax
je 0x7aefe8
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x7ae9e5
mov esi, dword [ebx + 0x90]
lea eax, [esp + 0xd0]
mov ecx, dword [ebp + 0x18]
push eax
push 0
mov ebx, dword [esi]
lea eax, [esp + 0x6c]
push 0x40
push eax
lea eax, [esp + 0x118]
push eax
call fcn.007d5f90
push eax
push 0
lea ecx, [esp + 0x134]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
mov ecx, esi
call dword [ebx + 0xbc]
test eax, eax
jne 0x7ae9d9
push dword [esp + 0x68]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0x54c]
push dword [esp + 0x68]
mov esi, 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], esi
call fcn.007df210
push eax
lea ecx, [esp + 0x344]
call fcn.007df1f0
mov ebx, dword [esp + 0x3c]
jmp 0x7aea2a
mov ebx, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x7aea2a
test eax, eax
jne 0x7aefd1
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54c]
push eax
lea eax, [esp + 0x348]
push eax
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x78]
lea eax, [esp + 0x12c]
push eax
call fcn.0079eb40
push eax
call fcn.007c52e0
add esp, 0x14
mov dword [esp + 0x10], eax
mov esi, eax
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.00820440
add esp, 8
test esi, esi
je 0x7aebb2
mov eax, dword [esp + 0x6c]
sub eax, 0
je 0x7aeaf7
dec eax
jne 0x7aef39
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x54c]
call fcn.007ded90
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x344]
call fcn.007ded90
mov ecx, dword [ebx + 0x9c]
lea edx, [esp + 0xc0]
push 3
push edx
lea edx, [esp + 0xc0]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 0xac]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x7aeac0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x7aead4
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x7aee9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
jmp 0x7aee9e
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x54c]
call fcn.007ded90
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x344]
call fcn.007ded90
test dword [esp + 0x54], 0x10
mov eax, 0
mov ecx, dword [ebx + 0x9c]
setne al
inc eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xa8]
push eax
call dword [edx + 0xac]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x7aeb75
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x7aeb89
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x7aee9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x1c]
jmp 0x7aee9e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 1
jne 0x7aebc9
cmp dword [esp + 0x6c], 0
je 0x7aef4d
lea ecx, [esp + 0x84]
call fcn.0079eaf0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x84]
push eax
call fcn.0079ebb0
test eax, eax
je 0x7aec2c
mov eax, dword [esp + 0x90]
test eax, eax
je 0x7aef4d
cmp eax, 1
mov eax, dword [ebp + 0x2c]
jne 0x7aec2f
cmp eax, 1
je 0x7aefa0
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xac], 1
mov dword [esp + 0x4c], ecx
jmp 0x7aec2f
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x7aef77
cmp eax, 4
je 0x7aef77
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x7aed14
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x28]
push eax
and esi, 1
push esi
push dword [ebp + 0x24]
call fcn.007c5560
add esp, 8
push eax
push esi
call fcn.0079bd50
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x7aef61
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x9c]
test esi, esi
setne al
inc eax
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x6c]
push eax
push eax
lea eax, [esp + 0xb0]
push eax
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x1c]
mov esi, eax
test ecx, ecx
je 0x7aecb7
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x7aeccb
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x7aeceb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x7aecfd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x7aee9a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x7aee96
cmp eax, 1
jne 0x7aeba9
lea eax, [esp + 0x40]
push eax
call fcn.0079fd90
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x7aef61
push dword [esp + 0x68]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xfc]
push eax
call fcn.0079eb40
lea ecx, [esp + 0x58]
push dword [eax + 4]
push dword [eax]
call fcn.007dee70
mov ebx, dword [ebx + 0x90]
lea ecx, [esp + 0x110]
push 0
mov dword [esp + 0x28], 0
push 3
mov esi, dword [ebx]
call fcn.007dedb0
mov ecx, eax
call fcn.007dee00
push eax
push 0
push 0x40
lea ecx, [esp + 0x6c]
call fcn.007dee00
push eax
push 0
lea ecx, [esp + 0x13c]
call fcn.007dedd0
mov ecx, eax
call fcn.007dee00
push eax
push 0x180
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call dword [esi + 0x7c]
test eax, eax
jne 0x7aee3f
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0xd0]
push 4
push 0x28
push eax
mov esi, dword [esi + 0x90]
lea ecx, [esp + 0xbc]
mov ebx, dword [esi]
call fcn.007dedb0
mov ecx, eax
call fcn.007dee00
push eax
push dword [esp + 0x34]
mov ecx, esi
call dword [ebx + 0x94]
test eax, eax
jne 0x7aee3f
mov eax, dword [esp + 0xf0]
test al, 0x20
jne 0x7aee3f
or eax, 0x20
lea ecx, [esp + 0x78]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x3c]
push 4
push 0x28
mov esi, dword [eax + 0x90]
lea eax, [esp + 0xd8]
push eax
mov ebx, dword [esi]
call fcn.007dedb0
mov ecx, eax
call fcn.007dee00
push eax
push dword [esp + 0x34]
mov ecx, esi
call dword [ebx + 0x90]
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x64]
push dword [esp + 0x40]
push edx
mov ecx, dword [ebx + 0x9c]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x20]
call fcn.007a5a90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7aee7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.007a5a90
lea ecx, [esp + 0x24]
call fcn.0078d630
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
push eax
push edi
lea ecx, [esp + 0x4c]
call fcn.007a7010
test edi, edi
je 0x7aeeb3
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x7aeed7
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x7aeed7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
test esi, esi
jne 0x7ae8c1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0xffffffff
test esi, esi
je 0x7af5e3
mov esi, dword [ebp + 0x2c]
cmp esi, 2
jne 0x7af092
mov ebx, dword [ebp + 0x30]
test ebx, 1
je 0x7af069
mov ecx, dword [ebp + 0x18]
call fcn.0079f000
test eax, eax
je 0x7af069
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x7afa54
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000229
jmp 0x7aefb2
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000003a
jmp 0x7aefb2
mov eax, dword [ebp + 0x40]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x7aefb2
test dword [ebp + 0x30], 1
je 0x7aefa0
mov ecx, dword [ebp + 0x18]
call fcn.0079f000
test eax, eax
je 0x7aefa0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x7aefb2
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x7afa5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 0
jmp 0x7afa5d
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000229
jmp 0x7afa5d
mov ecx, dword [0x100d71e8]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x7af052
push 0x100be8c0
push 0x100c2084
lea eax, [esp + 0x6c]
push eax
push 0x100c1de4
push 0x100c2008
push 0x100be500
push 2
lea ecx, [esp + 0x94]
call fcn.00775df0
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778300
mov ecx, eax
call fcn.00778410
mov ecx, eax
call fcn.00778410
lea ecx, [esp + 0x78]
call fcn.007781e0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000033
jmp 0x7afa5d
test ebx, 0x40
je 0x7af0e0
test dword [esp + 0x54], 0x10
je 0x7af0e0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc00000ba
jmp 0x7afa54
cmp esi, 1
je 0x7af2f7
cmp esi, 3
je 0x7af2f7
test esi, esi
je 0x7af0b6
cmp esi, 4
je 0x7af0b6
cmp esi, 5
jne 0x7af5eb
mov edx, dword [ebp + 0x30]
mov eax, edx
mov ecx, dword [esp + 0x54]
and eax, 0x40
je 0x7af0cc
test ecx, 0x10
jne 0x7af07b
test eax, eax
jne 0x7af0f7
test edx, 1
jne 0x7af0f7
test ecx, 0x10
je 0x7af0f7
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000035
jmp 0x7afa54
test esi, esi
jne 0x7af11a
test ecx, 0x10
je 0x7af11a
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
jmp 0x7afa54
test edx, 1
je 0x7af12e
mov ecx, dword [ebp + 0x18]
call fcn.0079f000
test eax, eax
jne 0x7af103
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0x7af1cf
lea eax, [esp + 0x40]
push eax
call fcn.0079fd90
add esp, 4
test eax, eax
je 0x7af167
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
jmp 0x7afa54
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb64]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.007ded90
mov ecx, dword [ebx + 0x9c]
lea edx, [esp + 0x58]
push dword [esp + 0x40]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x18]
call fcn.007a5a90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af1be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xb60]
call fcn.007df1d0
jmp 0x7af273
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.007c5560
add esp, 8
push eax
push ebx
call fcn.0079bd50
add esp, 0xc
test eax, eax
jne 0x7af14f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54c]
call fcn.007ded90
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x344]
call fcn.007ded90
mov eax, dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x28]
mov esi, dword [eax + 0x9c]
mov eax, dword [edi]
mov ebx, dword [esi]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x40]
push eax
call dword [ebx + 0xa8]
push eax
lea ecx, [esp + 0x18]
call fcn.007a5a90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af270
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x30]
setne bl
test eax, eax
je 0x7af294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x7af2cd
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x38]
push dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af2e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
neg esi
sbb ebx, ebx
and ebx, 3
mov dword [esp + 0x24], ebx
jmp 0x7af5eb
lea ecx, [esp + 0x44]
call fcn.007aada0
push dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.007a7010
neg esi
sbb ebx, ebx
and ebx, 3
mov dword [esp + 0x24], ebx
jmp 0x7af5eb
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x7af316
test al, 0x10
je 0x7af39c
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
jmp 0x7afa54
lea ecx, [esp + 0x138]
call fcn.007df1c0
mov eax, dword [ebx]
lea ecx, [esp + 0x138]
push ecx
push dword [esp + 0x30]
mov ecx, ebx
call dword [eax + 0x14]
test eax, eax
jne 0x7af357
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x13c]
call fcn.007dee00
push eax
call fcn.007c55d0
add esp, 8
test eax, eax
je 0x7af376
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x138]
call fcn.007df1d0
jmp 0x7afa54
test byte [esp + 0x54], 0x10
lea ecx, [esp + 0x138]
mov eax, 1
mov esi, 0
cmovne esi, eax
call fcn.007df1d0
test esi, esi
jne 0x7af308
mov esi, dword [ebp + 0xc]
push esi
call fcn.007c59f0
add esp, 4
test eax, eax
jne 0x7af3bd
push esi
call fcn.007c5950
add esp, 4
test eax, eax
je 0x7af308
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x7c]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x90]
and eax, 0xffffefff
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
mov ebx, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.007dedb0
mov ecx, eax
call fcn.007dee00
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x50]
mov ecx, esi
push 0x100001
push eax
call dword [ebx + 0x80]
mov ecx, eax
test ecx, ecx
jne 0x7af5d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0x7af4a1
lea eax, [esp + 0x40]
push eax
call fcn.0079fd90
add esp, 4
test eax, eax
jne 0x7af14f
lea eax, [esp + 0x58]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb64]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.007ded90
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x58]
push dword [esp + 0x40]
push edx
mov ecx, dword [eax + 0x9c]
lea edx, [esp + 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x18]
call fcn.007a5a90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af490
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xb60]
call fcn.007df1d0
jmp 0x7af542
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.007c5560
add esp, 8
push eax
push ebx
call fcn.0079bd50
add esp, 0xc
test eax, eax
jne 0x7af14f
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54c]
call fcn.007ded90
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x344]
call fcn.007ded90
mov eax, dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x28]
mov esi, dword [eax + 0x9c]
mov eax, dword [edi]
mov ebx, dword [esi]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x40]
push eax
call dword [ebx + 0xa8]
push eax
lea ecx, [esp + 0x18]
call fcn.007a5a90
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af542
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp + 0x30]
test esi, 0x1000
je 0x7af558
mov ecx, dword [esp + 0x14]
push 1
mov eax, dword [ecx]
call dword [eax + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x30]
setne bl
test eax, eax
je 0x7af579
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x7af5ac
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x38]
push dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7af5c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], 1
jmp 0x7af5ee
lea ecx, [esp + 0x44]
call fcn.007aada0
push dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.007a7010
mov dword [esp + 0x24], 1
jmp 0x7af5ee
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x7afa54
mov dword [esp + 0x24], 2
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00820440
add esp, 8
cmp dword [esp + 0x28], 0
je 0x7af82a
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00820440
mov eax, dword [esp + 0xb4]
add esp, 8
test eax, eax
je 0x7af77b
test esi, 1
je 0x7af645
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x7af888
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], eax
add eax, 2
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x4c]
sub eax, 2
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
mov ebx, dword [esi]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x28]
push 0
push dword [ebp + 0x24]
call fcn.007c5560
add esp, 8
mov ecx, esi
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x44]
push eax
call dword [ebx + 0xc]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x7af71c
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.0079f000
test eax, eax
je 0x7af71c
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.0079ee20
mov ecx, esi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.0079eb40
lea ecx, [esp + 0x70]
push dword [eax + 4]
push dword [eax]
call fcn.007dee70
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x74]
mov ebx, dword [esi]
call fcn.007dee00
push eax
mov ecx, esi
call dword [ebx + 0x18]
test eax, eax
jne 0x7af718
mov eax, dword [esp + 0x4c]
test al, 0x20
jne 0x7af718
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x70]
or eax, 0x20
mov dword [esp + 0x4c], eax
push eax
mov ebx, dword [esi]
call fcn.007dee00
push eax
mov ecx, esi
call dword [ebx + 0x1c]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x2c], 0
je 0x7af75e
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00820440
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x30]
call fcn.007c5b90
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x7af75e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x7af7d6
mov eax, dword [ebp + 0x40]
and ebx, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ebx
jmp 0x7af888
push 0x100b56b4
lea ecx, [esp + 0x7c]
call fcn.007dee30
mov ecx, eax
call fcn.007dee00
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xb0]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
mov ebx, dword [esi]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x28]
push dword [ebp + 0xc]
push 0x100b56b4
call fcn.007dee30
mov ecx, eax
call fcn.007dee00
push eax
mov ecx, esi
call dword [ebx + 0x10]
mov ebx, eax
jmp 0x7af71c
push dword [ebp + 0x30]
lea eax, [esp + 0x34]
push dword [ebp + 0xc]
push dword [esp + 0x18]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x84]
push eax
call fcn.007d1800
add esp, 0x18
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x7af809
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call fcn.007a5a90
test esi, esi
je 0x7af821
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x70]
jmp 0x7af926
cmp dword [esp + 0x40], 0
je 0x7af93e
test esi, 1
je 0x7af854
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x7afa3e
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00820440
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x18]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x7af89f
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7afa3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x7afa3e
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x78]
push dword [esp + 0x18]
push dword [esp + 0x20]
push eax
call fcn.007d3090
add esp, 0x14
mov esi, dword [eax]
mov dword [esp + 0x4c], esi
test esi, esi
je 0x7af8c8
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call fcn.007a5a90
test esi, esi
je 0x7af8e0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x7af8ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x2c], 0
je 0x7af930
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00820440
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
push dword [esp + 0x18]
push dword [esp + 0x30]
call fcn.007c5b90
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x7af930
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7af93e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x4c]
push dword [ebx + 0x9c]
call fcn.007c4e20
lea eax, [esp + 0x10]
push 4
push eax
call fcn.00820440
add esp, 8
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.007ab350
test eax, eax
jne 0x7afa16
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0xc]
cmp esi, eax
jne 0x7afa16
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x7af9a5
mov eax, dword [ecx]
push dword [esp + 0x48]
call dword [eax + 0x48]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7af9bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x4c]
call fcn.007c4e50
test dword [ebp + 0xc], 0x100000
je 0x7af9dd
test dword [ebp + 0x30], 0x30
jne 0x7af9dd
mov eax, 1
jmp 0x7af9df
xor eax, eax
mov ecx, dword [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.007aa580
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
jmp 0x7afa3e
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7afa35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x4c]
call fcn.007c4e50
mov eax, dword [esp + 0x38]
test eax, eax
je 0x7afa54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x2c]
call fcn.00778f60
lea ecx, [esp + 0x548]
call fcn.007df1d0
lea ecx, [esp + 0x340]
call fcn.007df1d0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7afa8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x7afaa1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x7afab7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x44]
call fcn.007a54c0
test edi, edi
je 0x7afadc
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40