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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x24]
push edi
push esi
push dword [ebp + 8]
mov edi, ecx
call fcn.1013d3f1
xor ecx, ecx
mov dword [edi], 0x10005f2c
xor edx, edx
mov dword [ebp - 0xc], ecx
inc edx
mov dword [edi + 0x14], ecx
lea ebx, [edi + 0x10]
mov dword [edi + 0x18], ecx
mov dword [ebx], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], edx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], 5
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], 0x80004005
cmp dword [edi + 0xc], ecx
jne 0x1013bb5c
push 0x38
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b018
push esi
push ecx
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.1013e1e0
jmp 0x1013b01a
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
mov eax, dword [ebp + 8]
xor edx, edx
push 8
pop ecx
mov dword [eax + 0x10], edi
lea eax, [edi + 0x80]
mov dword [eax - 8], edx
mov dword [eax + 4], edx
mov dword [eax], edx
lea eax, [eax + 0x1c]
mov dword [eax - 0x20], edx
mov dword [eax - 0x14], edx
mov dword [eax - 0x10], edx
mov dword [eax - 0xc], edx
sub ecx, 1
jne 0x1013b03e
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b073
push esi
push dword [edi + 4]
mov ecx, eax
call fcn.1014a3fc
jmp 0x1013b075
xor eax, eax
mov ecx, ebx
mov dword [ebx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b0a1
push esi
push dword [edi + 4]
mov ecx, eax
call fcn.1014a3fc
xor ebx, ebx
jmp 0x1013b0a5
xor ebx, ebx
mov eax, ebx
lea ecx, [edi + 0x14]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b0d0
push esi
push dword [edi + 4]
mov ecx, eax
call fcn.1014a3fc
jmp 0x1013b0d2
mov eax, ebx
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
mov ebx, dword [ebp - 8]
test eax, eax
je 0x1013b9e7
cmp dword [ebp + 0x10], 0
je 0x1013b0f9
push esi
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.1014a81e
xor eax, eax
cmp dword [ebx + 0xc], eax
jne 0x1013b9e7
mov eax, dword [edi + 0x14]
push 0x6c
or dword [eax + 0x50], 0x204
mov eax, dword [edi + 0x14]
mov dword [edi + 0x18], eax
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b12d
push esi
push dword [edi + 4]
mov ecx, eax
call fcn.1014a3fc
jmp 0x1013b12f
xor eax, eax
lea ecx, [edi + 0x1c]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9e7
mov eax, dword [edi + 0x1c]
or dword [eax + 0x50], 6
push dword [edi + 0x14]
mov ecx, dword [edi + 0x1c]
call fcn.1014a6cb
test eax, eax
je 0x1013b9e7
mov eax, dword [edi + 0x1c]
push 0x6c
mov dword [edi + 0x20], eax
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b191
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0xa
push dword [edi + 0x10]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b193
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9e7
push dword [ebp + 0x18]
mov ecx, edi
push esi
push dword [ebx + 0x34]
call fcn.1013ce77
test eax, eax
je 0x1013b9e7
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1013b9e2
cmp dword [eax + 0x24], 1
jne 0x1013b9e2
push esi
push eax
push ebx
mov ecx, edi
call fcn.10147844
test eax, eax
je 0x1013b9e7
mov ecx, dword [ebp - 8]
push ebx
call fcn.1013d98e
push 0x6c
call fcn.10164ff8
lea ebx, [edi + 0x10]
pop ecx
test eax, eax
je 0x1013b21e
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x14
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b220
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b262
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x16
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b264
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b2a6
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x18
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b2a8
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b2ea
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x19
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b2ec
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b32e
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x1a
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b330
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
push 0x6c
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b372
mov edx, dword [edi + 0x5c]
push esi
lea ecx, [edx + 1]
push ecx
push ecx
push edx
mov dword [edi + 0x5c], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 0x15
push dword [ebx]
mov ecx, eax
push dword [edi + 4]
call fcn.1014a482
jmp 0x1013b374
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.1013cd4d
test eax, eax
je 0x1013b9fd
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.1013e733
push 0x1003156c
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push 1
push ebx
push ecx
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031180
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push 1
push ebx
push ecx
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10030ba0
mov ecx, ebx
call fcn.1013e3fd
xor eax, eax
cmp dword [ebx + 0xc], eax
jne 0x1013ba00
push esi
push ecx
push 1
push ebx
push 1
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031248
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x1003123c
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x1002fe20
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031274
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x1003125c
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031250
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x1003126c
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031264
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031600
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x100315f0
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x10031620
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
mov ecx, ebx
call fcn.1013e733
push 0x1003160c
mov ecx, ebx
call fcn.1013e3fd
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
jne 0x1013ba00
push esi
push ecx
push ecx
push ebx
push 2
mov ecx, edi
call fcn.1014ba8d
cmp eax, 1
jne 0x1013ba00
push 0x18
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b6b5
push esi
push ecx
push 8
push dword [edi + 4]
mov ecx, eax
call fcn.1013ed27
xor ecx, ecx
jmp 0x1013b6b9
xor ecx, ecx
mov eax, ecx
mov dword [edi + 0x2c], eax
test eax, eax
je 0x1013ba00
cmp dword [eax + 0xc], ecx
jne 0x1013ba00
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, eax
call fcn.1013eddb
test eax, eax
je 0x1013ba00
push esi
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.1014acc4
cmp eax, 1
jne 0x1013ba00
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x6c]
test ecx, ecx
je 0x1013b70b
or eax, 2
jmp 0x1013b70e
and eax, 0xfffffffd
cmp dword [ebp + 0x1c], 0
mov dword [edi + 0x6c], eax
je 0x1013b725
test ecx, ecx
jne 0x1013b725
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x1013ba00
cmp dword [ebp + 0x18], 0
je 0x1013b75d
test ecx, ecx
je 0x1013b75d
test esi, esi
je 0x1013b71b
push 2
mov edx, 0x10031328
mov ecx, esi
call fcn.1013d076
mov edx, dword [ebp + 0x10]
mov ecx, esi
push 2
call fcn.1013f617
push 2
mov edx, 0x10031324
mov ecx, esi
call fcn.1013d076
jmp 0x1013b71b
push esi
xor eax, eax
mov ecx, edi
push eax
push eax
call fcn.1013cf44
xor eax, eax
cmp dword [edi + 0x24], eax
je 0x1013ba00
push 0x38
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b78f
push esi
push ecx
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.1013e1e0
jmp 0x1013b791
xor eax, eax
lea ecx, [edi + 0x4c]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013ba00
push 0x38
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b7be
push esi
push ecx
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.1013e1e0
jmp 0x1013b7c0
xor eax, eax
lea ecx, [edi + 0x50]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013ba00
push 0x38
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b7ef
push esi
push ecx
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.1013e1e0
xor esi, esi
jmp 0x1013b7f3
xor esi, esi
mov eax, esi
lea ecx, [edi + 0x54]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013ba00
push 0x18
mov dword [edi + 0x88], esi
call fcn.10164ff8
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x1013b854
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x1013b822
push dword [ebp + 0x24]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov ecx, esi
push eax
push dword [ebp + 0x10]
push dword [edi + 4]
call fcn.1013db71
mov dword [esi], 0x10005f14
xor ecx, ecx
jmp 0x1013b85b
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x78], esi
test esi, esi
je 0x1013ba00
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x1013b88f
test esi, esi
je 0x1013b887
mov eax, dword [esi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0x10]
call esi
xor ecx, ecx
mov dword [edi + 0x78], ecx
jmp 0x1013ba00
cmp eax, 1
je 0x1013b887
test eax, eax
jne 0x1013b86e
mov dword [edi + 0x84], ecx
mov dword [edi + 0x8c], edi
mov eax, dword [edi + 4]
push 0x20
mov dword [edi + 0x90], eax
call fcn.10164ff8
pop ecx
test eax, eax
je 0x1013b8cd
push dword [ebp + 0x24]
xor ecx, ecx
push ecx
push edi
push ecx
push dword [edi + 4]
mov ecx, eax
call fcn.1013f282
jmp 0x1013b8cf
xor eax, eax
lea ecx, [edi + 0x7c]
mov dword [ecx], eax
call fcn.1013cd4d
test eax, eax
je 0x1013ba00
push dword [ebp + 0x24]
mov ecx, edi
mov dword [edi + 0x68], 1
push dword [ebp + 0x20]
push dword [ebp + 0xc]
call fcn.10147f64
cmp eax, 1
jne 0x1013ba00
push dword [ebp + 0x24]
mov ecx, edi
call fcn.10147939
cmp eax, 1
jne 0x1013ba00
mov eax, dword [edi + 0x54]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013b931
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
mov eax, dword [edi + 0x50]
xor esi, esi
mov dword [edi + 0x54], esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013b955
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
xor esi, esi
mov dword [edi + 0x50], esi
jmp 0x1013b961
mov ecx, edi
call fcn.1013ce24
cmp dword [edi + 0x24], esi
jne 0x1013b95a
jmp 0x1013b96f
mov ecx, edi
call fcn.1013cdd8
cmp dword [edi + 0x30], esi
jne 0x1013b968
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
mov esi, dword [ebp + 0x24]
xor eax, eax
mov edx, dword [ebp + 0x14]
mov ebx, eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [edi + 0x60]
mov dword [ebp - 0x10], 1
push eax
xor eax, eax
cmp dword [ebp - 0x18], eax
setne al
push eax
push dword [edi + 8]
call fcn.10147314
test eax, eax
jne 0x1013b9cf
cmp dword [ebp - 0x10], ebx
je 0x1013ba00
test esi, esi
je 0x1013b9cf
push 2
mov edx, 0x10031674
mov ecx, esi
call fcn.1013d076
mov eax, dword [edi + 0x60]
mov dword [edi + 0x84], eax
xor eax, eax
mov dword [edi + 0x74], eax
jmp 0x1013bb5c
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x1013b9fd
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi + 0x54]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013ba1d
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
mov eax, dword [edi + 0x50]
xor esi, esi
mov dword [edi + 0x54], esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013ba41
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
xor esi, esi
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x50], esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013ba63
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
xor esi, esi
mov dword [edi + 0x4c], esi
jmp 0x1013ba6f
mov ecx, edi
call fcn.1013ce24
cmp dword [edi + 0x24], esi
jne 0x1013ba68
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1013ba93
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, dword [ebp - 0xc]
call esi
xor esi, esi
mov dword [edi + 0x2c], esi
jmp 0x1013ba9f
mov ecx, edi
call fcn.1013cdd8
cmp dword [edi + 0x30], esi
jne 0x1013ba98
test ebx, ebx
je 0x1013babc
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
xor esi, esi
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x1013bac8
call fcn.1013f109
mov ecx, dword [edi + 0x44]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
test ecx, ecx
je 0x1013bada
call fcn.1013f109
mov ecx, dword [edi + 0x40]
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
test ecx, ecx
je 0x1013baec
call fcn.10144355
mov ebx, dword [edi + 0x1c]
mov dword [edi + 0x40], esi
test ebx, ebx
je 0x1013bb0a
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
xor esi, esi
mov ebx, dword [edi + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
test ebx, ebx
je 0x1013bb2b
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
xor esi, esi
mov ebx, dword [edi + 0x10]
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
test ebx, ebx
je 0x1013bb4c
mov eax, dword [ebx]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x101a77c4]
mov ecx, ebx
call esi
xor esi, esi
cmp dword [ebp - 0x14], 0
mov dword [edi + 0x10], esi
je 0x1013bb5c
mov ecx, edi
call fcn.1013d5f9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 0x20