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

Disassembly:
push 0x20
mov eax, 0xa01916
call fcn.0098a2ba
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
lea edx, [edi + 0x60]
mov eax, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x7c], ebx
jbe 0x410751
cmp byte [edi + 0x60], 0
lea ecx, [eax]
mov eax, dword [edi + 0x78]
mov edx, dword [eax + ecx*4]
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], edx
je 0x4106f9
mov ebx, dword [eax + ecx*4]
xor esi, esi
inc esi
jmp 0x4106ff
mov esi, dword [eax + ecx*4]
xor ebx, ebx
inc ebx
lea eax, [edx + 0x70]
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.00410321
test esi, esi
je 0x410722
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.0040ab7f
sub esi, 1
jne 0x410713
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea ecx, [esi + 0x7c]
call fcn.00410321
test ebx, ebx
je 0x41073e
lea ecx, [esi + 0x7c]
call fcn.0040ab7f
sub ebx, 1
jne 0x410731
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [edi + 0x7c]
jb 0x4106dd
xor ebx, ebx
lea edx, [edi + 0x60]
jmp 0x410754
mov dword [ebp - 0x18], edx
mov ecx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [edi + 0x18], ebx
jbe 0x4108a7
mov eax, dword [edi + 0x14]
mov dl, byte [edx]
mov esi, dword [eax + ecx*8]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x1c]
mov esi, dword [eax + esi*4]
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x24], esi
sub ecx, dword [eax + esi*4]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x28]
test dl, dl
je 0x410795
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x20], eax
jmp 0x41079f
mov dword [ebp - 0x20], esi
mov esi, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x1c]
mov esi, eax
and dword [ebp - 0x1c], 0
test dl, dl
cmovne esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
xor esi, esi
test dl, dl
mov edx, dword [edi + 0x78]
cmovne esi, eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x1c]
mov eax, dword [eax + 0x7c]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x2c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x70]
push dword [eax + esi*4]
call fcn.0041265f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x78]
mov byte [ebp - 4], 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x410808
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0xa052ac
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x410829
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0xa052ac
push ecx
call dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test eax, eax
je 0x410868
test ecx, ecx
je 0x410868
mov ecx, dword [eax]
push 0x80000
push esi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
push 0x80000
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x410879
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test eax, eax
je 0x41088a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
inc ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
cmp ecx, dword [edi + 0x18]
jb 0x410762
lea edx, [edi + 0x60]
mov dword [ebp - 0x18], edx
cmp byte [edx], 0
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x78]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x4108c6
mov ecx, dword [ecx + 0x70]
push dword [esi]
mov ecx, dword [ecx]
call fcn.0040a7bf
jmp 0x4108d5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040a7bf
cmp dword [edi + 0x24], ebx
jbe 0x41092c
sub dword [ebp + 0xc], esi
mov eax, dword [edi + 0x20]
mov edx, dword [eax + ebx*4]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [edi + 0x78]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x30]
sub edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
cmp byte [eax], 0
je 0x410916
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [esi + eax]
mov ecx, dword [ecx + edx*4]
call fcn.0040a7bf
jmp 0x410923
mov ecx, dword [ecx + 0x70]
push dword [esi]
mov ecx, dword [ecx + edx*4]
call fcn.0040a7bf
inc ebx
add esi, 4
cmp ebx, dword [edi + 0x24]
jb 0x4108dd
xor eax, eax
call fcn.0098a297
ret 8