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

Disassembly:
sub esp, 0x12c
mov eax, dword [0x10052500]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x130]
push ebx
mov dword [esp + 0x20], eax
mov ebx, ecx
mov eax, dword [esp + 0x138]
push ebp
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x2c], 3
mov eax, dword [esp + 0x140]
push esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push edi
mov edi, dword [esp + 0x150]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x20
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jne 0x10013b27
mov ecx, dword [ebx + 0xc]
push edi
call fcn.1003f5d0
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x20]
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], eax
jmp 0x10013b2d
mov esi, dword [ebx + 0x34]
add esi, 0x1c
mov edx, dword [esi + 8]
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.1000c520
test byte [edi], 8
mov ebp, eax
jne 0x10013c00
cmp ebp, 0xffffffff
je 0x10013c00
mov eax, dword [ebx + 0xc]
mov ecx, ebx
push edi
mov esi, dword [eax + ebp*4 + 0x674]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
push eax
push esi
call fcn.10012fc0
test byte [edi], 8
jne 0x10013be8
test byte [esi + 0x40], 2
je 0x10013b83
test al, 2
je 0x10013be8
push esi
push ebx
lea ecx, [esp + 0x74]
call fcn.1000c8a0
push edi
push dword [esp + 0x150]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
call fcn.1000d180
test byte [edi], 8
jne 0x10013bdf
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x2c]
test eax, eax
jle 0x10013bdf
push 0xffffffffffffffff
mov ecx, esi
call fcn.10023e70
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
add eax, ecx
add edx, dword [esi + 0x34]
cmp eax, edx
jge 0x10013bdf
sub ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x34]
add ecx, dword [esi + 0x2c]
push ecx
mov ecx, esi
call fcn.10023e90
lea ecx, [esp + 0x6c]
call fcn.1000c930
mov esi, dword [esp + 0x14]
mov edx, ebp
mov ecx, esi
call fcn.1000c4d0
test byte [edi], 8
mov ebp, eax
je 0x10013b46
mov edx, dword [esi + 8]
mov ecx, esi
call fcn.1000c520
test byte [edi], 8
mov dword [esp + 0x18], eax
jne 0x10013c8f
cmp eax, 0xffffffff
je 0x10013c8f
mov ecx, dword [ebx + 0xc]
xor esi, esi
mov ebx, dword [ecx + eax*4 + 0x674]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
cmp dword [ebx + 8], ecx
jbe 0x10013c77
nop
test byte [edi], 8
jne 0x10013c73
mov eax, dword [ebx]
mov ebp, dword [eax + esi*4]
cmp byte [ebp + 0x29], 1
jne 0x10013c6d
test ecx, ecx
jne 0x10013c59
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push edi
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.10012fc0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push edi
push eax
push ebp
call fcn.10013090
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10013c30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.1000c4d0
test byte [edi], 8
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
je 0x10013c13
lea ecx, [esp + 0x3c]
call fcn.10028d20
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100454c0
add esp, 0x12c
ret 0x14