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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 8
push 0
mov edi, ecx
call fcn.10042660
mov ebx, dword [ebp + 8]
mov ecx, edi
push 0
push 0x18
push 1
mov esi, dword [ebx]
call fcn.10042660
push 0
push 1
push 0
mov ecx, edi
call fcn.10042660
push 0
push 2
push 3
mov ecx, edi
call fcn.10042660
xor eax, eax
mov ecx, edi
cmp esi, 0x80
push 0
sete al
push 5
lea eax, [eax*8 + 7]
push eax
call fcn.10042660
push 1
push 8
push dword [ebx]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 4]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 8]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0xc]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x10]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x14]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x18]
mov ecx, edi
call fcn.10042660
push 1
push 2
push 0
mov ecx, edi
call fcn.10042660
push 1
push 8
push dword [ebx + 0x1c]
mov ecx, edi
call fcn.10042660
push 1
push dword [ebx + 0x20]
mov ecx, edi
call fcn.10042530
mov eax, dword [ebx]
cmp eax, 0x64
je 0x10043fcb
cmp eax, 0x6e
je 0x10043fcb
cmp eax, 0x7a
je 0x10043fcb
cmp eax, 0x80
je 0x10043fcb
cmp eax, 0x90
je 0x10043fcb
cmp eax, 0xf4
jne 0x10044033
push 1
push dword [ebx + 0x24]
mov ecx, edi
call fcn.10042530
cmp dword [ebx + 0x24], 3
jne 0x10043feb
push 1
push 1
push dword [ebx + 0x2c]
mov ecx, edi
call fcn.10042660
push 1
push dword [ebx + 0x30]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x34]
mov ecx, edi
call fcn.10042530
push 1
push 1
push dword [ebx + 0x38]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x3c]
mov ecx, edi
call fcn.10042660
cmp dword [ebx + 0x3c], 0
je 0x10044033
lea eax, [ebx + 0x860]
mov ecx, edi
push eax
call fcn.100430f0
push 1
push dword [ebx + 0x40]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x44]
mov ecx, edi
call fcn.10042530
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x10044059
push 1
push dword [ebx + 0x48]
jmp 0x100440ac
cmp eax, 1
jne 0x100440b3
push eax
push eax
push dword [ebx + 0x4c]
mov ecx, edi
call fcn.10042660
mov esi, dword [ebx + 0x50]
xor ecx, ecx
mov eax, esi
cdq
xor eax, edx
sub eax, edx
add eax, eax
test esi, esi
push 1
setg cl
sub eax, ecx
mov ecx, edi
push eax
call fcn.10042530
mov esi, dword [ebx + 0x54]
xor ecx, ecx
mov eax, esi
cdq
xor eax, edx
sub eax, edx
add eax, eax
test esi, esi
push 1
setg cl
sub eax, ecx
mov ecx, edi
push eax
call fcn.10042530
push 1
push 0
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x58]
mov ecx, edi
call fcn.10042530
push 1
push 1
push dword [ebx + 0x5c]
mov ecx, edi
call fcn.10042660
push 1
push dword [ebx + 0x60]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x64]
mov ecx, edi
call fcn.10042530
push 1
push 1
push dword [ebx + 0x68]
mov ecx, edi
call fcn.10042660
cmp dword [ebx + 0x68], 0
jne 0x10044107
push 1
push 1
push dword [ebx + 0x6c]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x70]
mov ecx, edi
call fcn.10042660
push 1
push 1
push dword [ebx + 0x74]
mov ecx, edi
call fcn.10042660
cmp dword [ebx + 0x74], 1
jne 0x1004415f
push 1
push dword [ebx + 0x78]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x7c]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x80]
mov ecx, edi
call fcn.10042530
push 1
push dword [ebx + 0x84]
mov ecx, edi
call fcn.10042530
push 1
push 1
push dword [ebx + 0x88]
mov ecx, edi
call fcn.10042660
cmp dword [ebx + 0x88], 1
jne 0x10044187
lea eax, [ebx + 0x8c]
mov ecx, edi
push eax
call fcn.10044320
cmp dword [ebx], 0x80
je 0x10044226
push 1
push 1
push 1
mov ecx, edi
call fcn.10042660
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
inc eax
mov dword [edi + 0x1c], eax
test edx, edx
jle 0x10044226
sub eax, edx
mov dword [edi + 8], 0
add eax, 8
mov cl, 8
sub cl, dl
mov dword [edi + 0x1c], eax
mov dl, byte [edi + 0xc]
xor esi, esi
movzx eax, word [edi + 0x10]
shl dl, cl
test eax, eax
jne 0x100441fc
cmp dl, 4
jae 0x100441fc
mov ecx, dword [edi]
lea eax, [ecx + 1]
cmp eax, dword [edi + 4]
jae 0x100441e8
mov eax, dword [edi + 0x20]
mov byte [ecx + eax], 3
inc dword [edi]
mov eax, dword [edi + 0x10]
mov esi, 1
shl eax, 8
or eax, 3
inc dword [edi + 0x18]
mov dword [edi + 0x10], eax
mov ecx, dword [edi]
lea eax, [ecx + 1]
cmp eax, dword [edi + 4]
jae 0x1004420e
mov eax, dword [edi + 0x20]
mov byte [ecx + eax], dl
inc dword [edi]
mov ecx, dword [edi + 0x10]
shl ecx, 8
movzx eax, dl
or ecx, eax
mov byte [edi + 0xc], 0
lea eax, [esi + 1]
mov dword [edi + 0x10], ecx
add dword [edi + 0x14], eax
pop edi
pop esi
pop ebx
pop ebp
ret 4