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

Disassembly:
push 0x4c
mov eax, 0x100445d3
call fcn.10042ab4
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x10], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x28], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x24], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], 0x7f
mov dword [ebp - 0x34], 0x86
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x100266f4
mov edi, 0x80004005
jmp 0x10027179
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1002671a
mov dword [ebx + 0x3c], ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebx + 0x3c]
call fcn.10015300
mov ecx, ebx
call fcn.10022db8
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp + 0x2c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10026746
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x10026746
mov dword [ebx + 0xb0], ecx
mov eax, dword [eax]
mov dword [ebx + 0xb4], eax
push 0x28
call fcn.1000ed2c
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10026762
mov ecx, eax
call fcn.1001bbec
jmp 0x10026764
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x68], eax
test eax, eax
je 0x10026ef3
push 0xc
push eax
call fcn.1000ed2c
test eax, eax
js 0x10026ef3
mov eax, dword [ebp + 0x28]
lea esi, [ebx + 0x98]
mov ecx, esi
mov dword [ebx + 0x74], eax
call fcn.1000ed2c
mov edi, eax
test edi, edi
js 0x10026ef8
push dword [ebp + 0x24]
mov ecx, esi
call fcn.1000ed2c
mov edi, eax
test edi, edi
js 0x10026ef8
cmp dword [ebp + 0x18], 0
je 0x100268ed
and dword [ebp + 8], 0
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x50]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [eax + 0x98]
push 0x11c
call fcn.1000ed2c
test eax, eax
jns 0x100267e7
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x100267ea
mov eax, dword [ebp + 8]
push eax
push 1
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x44]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.1000ed2c
mov edi, eax
test edi, edi
js 0x10026ef8
mov eax, dword [ebx + 0x38]
mov edi, dword [ebp - 0x18]
lea esi, [ebx + 0x6c]
push esi
push dword [ebp - 0x14]
push 0
push 0
push dword [ebp + 0x18]
push dword [eax + 0x14]
push edi
call fcn.1000ed2c
mov dword [ebp - 0x10], eax
cmp eax, 0xfffffc15
jne 0x10026851
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x38]
push esi
or ecx, 0x40
push ecx
push 0
push 0
push dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
push dword [eax + 0x14]
push edi
call fcn.1000ed2c
mov dword [ebp - 0x10], eax
mov ecx, 0xfffff88d
cmp eax, ecx
jg 0x100268a6
je 0x10026899
cmp eax, 0xfffff250
je 0x1002687f
cmp eax, 0xfffff3e4
je 0x1002687f
cmp eax, 0xfffff434
je 0x100268e0
cmp eax, 0xfffff43e
je 0x1002688c
cmp eax, 0xfffff82f
jne 0x100268bf
or dword [esi], 0xffffffff
mov edi, 0x80040e37
jmp 0x10026efb
or dword [esi], 0xffffffff
mov edi, 0x80040e10
jmp 0x10026f03
mov edi, 0x80040e09
or dword [esi], 0xffffffff
jmp 0x10026f03
cmp eax, 0xfffffae7
je 0x100268e0
cmp eax, 0xfffffaea
je 0x100268d9
test eax, eax
je 0x100268ca
cmp eax, 0xbd8
je 0x100268ca
test eax, eax
jg 0x100268ca
mov edi, 0x80004005
jmp 0x100268e5
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x78], eax
mov dword [ebp - 0x2c], 1
jmp 0x10026909
mov edi, 0x80004005
jmp 0x1002689e
mov edi, 0x80040e37
or dword [esi], 0xffffffff
jmp 0x10026efb
push dword [ebp + 0x44]
mov ecx, esi
call fcn.1000ed2c
mov edi, eax
test edi, edi
js 0x10026ef8
mov eax, dword [ebp + 0x20]
lea esi, [ebx + 0x6c]
mov dword [esi], eax
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x1002694b
push edi
push dword [esi]
push dword [ebp - 0x18]
call fcn.1000ed2c
mov dword [ebp - 0x10], eax
cmp eax, 0xfffffa84
je 0x1002696f
cmp eax, 0xfffffae0
je 0x1002696f
test eax, eax
je 0x10026937
mov edi, 0x80004005
jmp 0x10026974
xor eax, eax
xor ecx, ecx
cmp cx, word [edi]
setne al
mov dword [ebx + 0xd0], eax
or dword [ebx + 0x60], 0x20
mov edi, dword [ebp - 0x18]
push 0xa
push 4
lea eax, [ebp - 0x20]
push eax
push dword [esi]
push edi
call fcn.1000ed2c
mov dword [ebp - 0x10], eax
test eax, eax
jns 0x1002698a
mov edi, 0x80004005
jmp 0x10026efb
mov edi, 0x80040e35
test eax, eax
jns 0x10026947
push dword [esi]
push dword [ebp - 0x18]
call fcn.1000ed2c
or dword [esi], 0xffffffff
jmp 0x10026ef8
cmp dword [ebp + 0x38], 0
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xe8], eax
jne 0x100269f2
push 6
push 4
lea eax, [ebp - 0x14]
push eax
push dword [esi]
push edi
call fcn.1000ed2c
mov dword [ebp - 0x10], eax
cmp eax, 0xfffffae0
je 0x100269e6
cmp eax, 0xfffffc15
je 0x100269c5
test eax, eax
jne 0x10026965
cmp dword [ebp - 0x14], eax
jne 0x100269f2
jmp 0x100269ee
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x28], 4
je 0x100269f2
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 0x28], 3
mov dword [ebp - 0x28], 1
jmp 0x100269f2
and dword [ebp - 0x10], 0
and dword [ebp - 0x14], 0
and dword [ebp + 0x28], 0
mov eax, dword [ebx + 0xe8]
cmp eax, 0xf
jb 0x10026a17
cmp eax, 0x11
jbe 0x10026a0a
add eax, 0xffffffc9
cmp eax, 2
ja 0x10026a17
test byte [ebp - 0x14], 0x30
je 0x10026a17
mov dword [ebp + 0x28], 5
cmp dword [ebp + 0x28], 0
je 0x10026a23
cmp dword [ebp + 0x28], 1
jne 0x10026a35
mov ecx, dword [ebx + 0xa0]
push 0
push 0x86
call fcn.1000ed2c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10026a50
mov ecx, eax
call fcn.10022c80
mov edi, eax
test edi, edi
js 0x10026ef8
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x40]
mov ecx, ebx
push dword [ebp + 0x3c]
push eax
lea eax, [ebx + 0x98]
push eax
push dword [ebp + 0x28]
call fcn.1000ed2c
mov edi, eax
mov dword [ebp + 0x18], edi
test edi, edi
js 0x10026ef8
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0xfe
call fcn.1000ed2c
lea ecx, [ebx + 0x98]
call fcn.1001f0a1
test byte [ebp - 0x14], 0x30
mov eax, dword [ebp + 0x28]
jne 0x10026aad
cmp dword [ebp + 0x38], 1
jne 0x10026abe
test eax, eax
je 0x10026abe
cmp eax, 5
je 0x10026abe
mov dword [ebx + 0x84], 1
jmp 0x10026ac5
and dword [ebx + 0x84], 0
cmp dword [ebx + 0x84], 1
jne 0x10026af4
cmp eax, 2
jl 0x10026af4
cmp eax, 4
jg 0x10026af4
mov ecx, ebx
call fcn.10024efc
mov dword [ebp - 0x10], eax
test eax, eax
js 0x10026965
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
jne 0x10026b54
push 0x10
call fcn.1000ed2c
pop ecx
mov ecx, eax
xor edx, edx
test ecx, ecx
je 0x10026b1c
mov dword [ecx], 0x10001ac4
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
jmp 0x10026b1e
mov ecx, edx
mov dword [ebx + 0x94], ecx
test ecx, ecx
je 0x10026ef3
mov eax, dword [ebx + 0x38]
push edx
push edx
lea edx, [ebp - 0x10]
push edx
push dword [esi]
push dword [eax + 0x14]
push dword [ebp - 0x18]
call fcn.1000ed2c
mov edi, eax
mov dword [ebp + 0x18], eax
test edi, edi
js 0x10026ef8
mov eax, dword [ebp + 0x28]
jmp 0x10026b5a
mov dword [ebx + 0x94], ecx
cmp dword [ebx + 0x84], 1
je 0x10026b68
cmp eax, 5
jne 0x10026b9b
push 1
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push SysReAllocStringLen
push ebx
call fcn.1000ed2c
mov edi, eax
mov dword [ebp + 0x18], edi
cmp edi, 0x40ec6
je 0x10026b93
cmp dword [ebp - 0x10], 0xfffff9bd
jne 0x10026b9b
mov edi, esi
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0xe8], 4
je 0x10026d1d
mov ecx, dword [ebx + 0xa0]
push 0x9f
call fcn.1000ed2c
mov ecx, eax
mov dword [ebp + 0x38], eax
call fcn.1001e105
cmp eax, 1
jne 0x10026c72
mov eax, dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov esi, 0x1000b8bc
add ecx, 7
push ecx
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push eax
lea eax, [ebx + 0x98]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x9f
movsd dword es:[edi], dword [esi]
call fcn.1000ed2c
mov edi, eax
mov dword [ebp + 0x18], edi
test edi, edi
jns 0x10026c33
cmp edi, 0x80004005
jne 0x10026ef8
mov esi, 0x1000b47c
mov edi, dword [ebp + 0x44]
push 4
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1002716d
mov edi, 0x80004002
jmp 0x10026ef8
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + 0x28]
mov dword [ebp + 0x38], eax
mov eax, dword [eax]
and eax, 2
cmp al, 2
jne 0x10026c4f
mov edi, 0x80040e21
jmp 0x10026ef8
lea esi, [ecx + 0x20]
or dword [esi], 0x400
push 0
call fcn.1000ed2c
mov eax, dword [ebp + 0x38]
or dword [eax], 2
and dword [esi], 0xfffffbff
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebx + 0xa0]
push 0x117
call fcn.1000ed2c
mov ecx, eax
mov dword [ebp + 0x38], eax
call fcn.1001e105
cmp eax, 1
jne 0x10026d1d
mov eax, dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
setne cl
mov esi, 0x1000b8bc
add ecx, 7
push ecx
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push eax
lea eax, [ebx + 0x98]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x117
movsd dword es:[edi], dword [esi]
call fcn.1000ed2c
mov edi, eax
mov dword [ebp + 0x18], edi
test edi, edi
jns 0x10026ce8
cmp edi, 0x80004005
jne 0x10026ef8
mov esi, 0x1000b6ac
jmp 0x10026c19
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx + 0x28]
and eax, 2
cmp al, 2
je 0x10026c45
lea esi, [ecx + 0x20]
or dword [esi], 0x400
push 0
call fcn.1000ed2c
mov ecx, dword [ebp + 0x38]
or dword [ecx + 0x28], 2
and dword [esi], 0xfffffbff
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebx + 0xa0]
push 0x88
call fcn.1000ed2c
lea esi, [ebx + 0xac]
mov ecx, dword [esi]
xor ecx, eax
and ecx, 1
xor dword [esi], ecx
mov ecx, dword [ebx + 0xa0]
push 0x89
call fcn.1000ed2c
add eax, eax
xor eax, dword [esi]
push 0x14
and eax, 2
xor dword [esi], eax
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026d70
push dword [ebx + 8]
mov ecx, eax
push 1
push ebx
call fcn.1000ed2c
jmp 0x10026d72
xor eax, eax
mov dword [ebx + 0x28], eax
test eax, eax
je 0x10026ef3
mov ecx, dword [ebx + 0xa0]
push 0x7b
call fcn.1000ed2c
test eax, eax
je 0x10026db6
push 0x14
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026da9
push dword [ebx + 8]
mov ecx, eax
push 1
push ebx
call fcn.1000ed2c
jmp 0x10026dab
xor eax, eax
mov dword [ebx + 0x2c], eax
test eax, eax
je 0x10026ef3
push 0x14
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026dd1
push dword [ebx + 8]
mov ecx, eax
push 1
push ebx
call fcn.1000ed2c
jmp 0x10026dd3
xor eax, eax
mov dword [ebx + 0x30], eax
test eax, eax
je 0x10026ef3
push 0xc
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026df9
and dword [eax + 4], 0
mov dword [eax], 0x10003274
mov dword [eax + 8], ebx
jmp 0x10026dfb
xor eax, eax
mov dword [ebx + 0x10], eax
test eax, eax
je 0x10026ef3
mov ecx, dword [ebx + 0xa0]
push 0xe
call fcn.1000ed2c
test eax, eax
je 0x10026e49
mov ecx, dword [ebx + 0xa0]
or dword [ebx + 0x60], 8
push 0x82
call fcn.1000ed2c
test eax, eax
jne 0x10026e43
mov ecx, dword [ebx + 0xa0]
push 0x85
call fcn.1000ed2c
test eax, eax
je 0x10026e49
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x14], eax
push 0xc
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026e64
and dword [eax + 4], 0
mov dword [eax], 0x10003234
mov dword [eax + 8], ebx
jmp 0x10026e66
xor eax, eax
mov dword [ebx + 0x20], eax
test eax, eax
je 0x10026ef3
mov eax, dword [ebx + 0x38]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [eax + 0x50]
call fcn.1000ed2c
mov ecx, dword [ebx + 0xa0]
push 0x7f
call fcn.1000ed2c
test eax, eax
je 0x10026eb5
push 0xc
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026eac
and dword [eax + 4], 0
mov dword [eax], 0x100032b4
mov dword [eax + 8], ebx
jmp 0x10026eae
xor eax, eax
mov dword [ebx + 0x24], eax
test eax, eax
je 0x10026ef3
mov ecx, dword [ebx + 0xa0]
push 0x86
call fcn.1000ed2c
test eax, eax
je 0x10026f17
cmp dword [ebx + 0x24], 0
jne 0x10026f1b
push 0xc
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10026eea
and dword [eax + 4], 0
mov dword [eax], 0x100032b4
mov dword [eax + 8], ebx
jmp 0x10026eec
xor eax, eax
mov dword [ebx + 0x24], eax
test eax, eax
jne 0x10026f1b
mov edi, 0x8007000e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10027175
push 0x1000b3fc
push eax
push edi
push dword [ebx + 0x38]
call fcn.1000ed2c
jmp 0x1002718f
or dword [ebx + 0x60], 0x10
test byte [ebp - 0x24], 1
je 0x10026f9e
xor eax, eax
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + eax*4 - 0x38]
mov ecx, dword [ebx + 0xa0]
push eax
mov dword [ebp + 0x38], eax
call fcn.1000ed2c
cmp eax, 1
jne 0x10026f92
push 8
push dword [ebp + 0x40]
lea eax, [ebx + 0x98]
push dword [ebp + 0x3c]
mov esi, 0x1000b8bc
push dword [ebp + 0x14]
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x38]
push esi
call fcn.1000ed2c
mov edi, eax
test edi, edi
js 0x10026ef8
mov ecx, dword [ebx + 0xa0]
push esi
call fcn.1000ed2c
test byte [eax + 0x28], 2
jne 0x10026c45
mov edi, 0x40eda
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 0x44]
inc eax
mov dword [ebp + 0x44], eax
cmp eax, 2
jb 0x10026f26
mov ecx, dword [ebx + 0xa0]
push 0x7c
call fcn.1000ed2c
test eax, eax
je 0x10026ffe
push 0x2c
call fcn.1000ed2c
pop ecx
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10026fd1
push dword [ebx + 8]
mov ecx, eax
call fcn.1000ed2c
jmp 0x10026fd3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x34], eax
test eax, eax
je 0x10026ef3
mov ecx, eax
call fcn.10021d65
mov edi, eax
mov dword [ebp + 0x18], edi
test edi, edi
js 0x10026ef8
mov ecx, dword [ebx + 0x34]
call fcn.10021bfe
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x50]
mov al, byte [eax + 0x88]
mov ecx, dword [ebx + 0xa0]
push 0x9f
mov byte [ebx + 0xe4], al
call fcn.1000ed2c
test eax, eax
jne 0x10027038
mov ecx, dword [ebx + 0xa0]
push 0x117
call fcn.1000ed2c
test eax, eax
je 0x10027066
cmp dword [ebp - 0x28], 1
jne 0x10027066
push 0xc
call fcn.1000ed2c
pop ecx
test eax, eax
je 0x10027059
and dword [eax + 4], 0
mov dword [eax], 0x10003250
mov dword [eax + 8], ebx
jmp 0x1002705b
xor eax, eax
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x10026ef3
push 0x30
call fcn.1000ed2c
pop ecx
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10027089
push dword [ebx + 8]
mov ecx, eax
push ebx
call fcn.1000ed2c
jmp 0x1002708b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xc], eax
test eax, eax
je 0x10026ef3
push 1
push eax
call fcn.10010918
test eax, eax
js 0x10026ef3
mov ecx, dword [ebx + 0xa4]
push 0xec
call fcn.1000ed2c
or dword [ebx + 0x60], 0x203
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x98]
push 0x120
call fcn.1000ed2c
test eax, eax
je 0x10027118
and dword [ebp - 0x58], 0
push 7
pop ecx
xor eax, eax
push 0
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x14]
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x3b
push 0
push 0
mov dword [ebp - 0x58], 0x20
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call sub.acecore.dll_Ordinal_204
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 0x98]
push 0x122
call fcn.1000ed2c
test eax, eax
je 0x10026ef8
and dword [ebp - 0x58], 0
push 7
pop ecx
xor eax, eax
push 0
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x14]
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
push 0x43
push 0
push 0
mov dword [ebp - 0x58], 0x20
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call sub.acecore.dll_Ordinal_204
mov edi, dword [ebp + 0x18]
jmp 0x10026ef8
test edi, edi
jns 0x10027191
mov eax, dword [ebx + 0x38]
push 0
push 0x1000b3fc
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000ed2c
test edi, edi
jne 0x100271a2
cmp dword [ebp - 0x1c], 1
jne 0x1002735f
mov edi, 0x40eda
test edi, edi
jns 0x1002735f
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x100271be
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x38], 0
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x100271dc
call fcn.1001532c
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x3c], 0
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x100271ec
call fcn.1003e7ca
and dword [ebx + 0x40], 0
cmp dword [ebp - 0x2c], 1
mov esi, dword [ebp - 0x18]
jne 0x10027208
cmp dword [ebx + 0x6c], 0xffffffff
je 0x10027208
push dword [ebx + 0x6c]
push esi
call fcn.1000ed2c
or dword [ebx + 0x6c], 0xffffffff
or dword [ebx + 0x6c], 0xffffffff
cmp dword [ebp - 0x30], 1
jne 0x10027225
cmp dword [ebx + 0x70], 0xffffffff
je 0x10027225
push dword [ebx + 0x70]
push esi
call fcn.1000ed2c
or dword [ebx + 0x70], 0xffffffff
mov esi, dword [ebx + 0xc]
or dword [ebx + 0x70], 0xffffffff
test esi, esi
je 0x1002723e
mov ecx, esi
call fcn.100108a5
push esi
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10027252
push eax
mov dword [eax], 0x1000320c
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x10027266
push eax
mov dword [eax], 0x10003250
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002727a
push eax
mov dword [eax], 0x10003234
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1002728e
push eax
mov dword [eax], 0x10003274
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x100272a2
push eax
mov dword [eax], 0x100032b4
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x100272b6
push eax
mov dword [eax], 0x10001d5c
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100272ca
push eax
mov dword [eax], 0x10001e24
call fcn.1000ed2c
pop ecx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x100272de
push eax
mov dword [eax], 0x10001e3c
call fcn.1000ed2c
pop ecx
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x100272f3
mov ecx, esi
call fcn.1001bc05
push esi
call fcn.1000ed2c
pop ecx
mov edx, dword [ebx + 0x8c]
test edx, edx
je 0x1002730d
mov eax, dword [0x1004a0a0]
test eax, eax
je 0x1002730d
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebx + 0x94]
test ecx, ecx
je 0x1002731e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
xor eax, eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov eax, edi
call fcn.10042b1d
ret 0x40