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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xac]
lea eax, [esp + 0x80]
push esi
push eax
push dword [ebx + 0x14]
call fcn.1000d1d0
lea eax, [esp + 0x9c]
push eax
push dword [ebx + 0x14]
call fcn.1000d1d0
lea eax, [esp + 0x50]
mov dword [esp + 0x48], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x54], 0
call fcn.1000d1d0
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x2c], 0
call fcn.1000d1d0
lea eax, [esp + 0x94]
mov dword [esp + 0x8c], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x98], 0
call fcn.1000d1d0
lea eax, [esp + 0x80]
mov dword [esp + 0x78], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x84], 0
call fcn.1000d1d0
lea eax, [esp + 0x58]
mov dword [esp + 0x50], 0
push eax
push dword [ebx + 0x14]
mov dword [esp + 0x5c], 0
call fcn.1000d1d0
lea eax, [esp + 0x90]
mov dword [esp + 0x88], 0
push eax
push 1
mov dword [esp + 0x94], 0
call fcn.1000d530
mov esi, eax
add esp, 0x40
test esi, esi
jne 0x10012c0d
mov edx, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xb0]
mov ebx, ebp
push edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0xc]
mov dword [esp + 0x40], eax
sub edi, ecx
lea eax, [esp + 0x48]
mov dword [esp + 0x44], ecx
push eax
lea eax, [edx + 8]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
lea eax, [esp + 0x8c]
push eax
test edi, edi
jle 0x100129dd
mov eax, edi
shl eax, 5
push eax
call fcn.1000d640
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
add dword [esp + 0x44], edi
lea ebx, [edi + ebp]
jmp 0x100129e9
push 0
call fcn.1000d640
add esp, 8
mov esi, eax
test esi, esi
jne 0x10012c0b
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
lea eax, [esp + 0x9c]
push eax
push 2
call fcn.1000d530
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
lea esp, [esp]
cmp dword [esp + 0x34], 1
jne 0x10012a54
mov eax, dword [esp + 0x38]
cmp dword [eax], 0
je 0x10012be8
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x58]
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x34]
push eax
jne 0x10012a86
call fcn.10010c40
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10012c0b
mov eax, dword [esp + 0x28]
jmp 0x10012aab
call fcn.10010e30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10012a9a
mov eax, dword [esp + 0x28]
jmp 0x10012aab
cmp esi, 0x109
jne 0x10012aaf
mov eax, dword [esp + 0x28]
xor eax, 1
xor esi, esi
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10012c0b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1000fd40
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10012b69
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x44]
mov edi, eax
sub edi, ebx
test edi, edi
jle 0x10012b65
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, edi
shl eax, 5
dec eax
push eax
call fcn.1000d740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10012b69
lea eax, [esp + 0x18]
push eax
push edi
call fcn.10009e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012b69
cmp dword [esp + 0x70], 1
jne 0x10012b5f
lea eax, [esp + 0x18]
push eax
push 1
call fcn.1000d8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012b69
mov dword [esp + 0x14], ebx
jmp 0x10012b69
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
test esi, esi
jne 0x10012c0b
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.1000d9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10012c0b
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x28]
push eax
push ebx
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10010d30
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x74]
xor eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
test esi, esi
jne 0x10012c0b
lea eax, [esp + 0x9c]
push eax
push 1
call fcn.1000d8e0
mov esi, eax
add esp, 8
test esi, esi
je 0x10012a40
jmp 0x10012c0b
test esi, esi
jne 0x10012c0b
push dword [esp + 0xb8]
lea eax, [esp + 0x90]
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10012cc0
add esp, 0x10
mov esi, eax
pop edi
pop ebp
lea eax, [esp + 0x84]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x98]
push eax
call fcn.1000d1f0
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 0
push eax
mov dword [esp + 0x44], 0
call fcn.1000d1f0
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x18], 0
call fcn.1000d1f0
lea eax, [esp + 0x84]
mov dword [esp + 0x80], 0
push eax
mov dword [esp + 0x80], 0
call fcn.1000d1f0
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], 0
push eax
mov dword [esp + 0x68], 0
call fcn.1000d1f0
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x3c], 0
call fcn.1000d1f0
add esp, 0x1c
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret