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

Disassembly:
push 0xffffffffffffffff
push 0x1005a7ab
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x10081140]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10081140]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb0]
xor ebx, ebx
mov dword [esp + 0x14], ebx
xor eax, eax
xor ebp, ebp
mov esi, 0xf
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], al
mov dword [esp + 0xa8], ebx
cmp ecx, ebx
je 0x10012a41
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov edi, eax
mov dword [esp + 0x20], edi
push 0xd
push 0x10062e60
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], 0
call fcn.10001d42
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov byte [esp + 0xac], 2
call edx
mov esi, eax
mov dword [esp + 0x40], esi
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0xa8], 4
jb 0x10012847
mov eax, dword [esp + 0x28]
push eax
call fcn.100411cc
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0xb8]
mov ecx, esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call eax
test al, al
je 0x100129ff
jmp 0x10012876
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
push 2
mov ecx, esi
call eax
push 0x44
mov edi, eax
call fcn.10041302
add esp, 4
cmp ebp, ebx
mov ebx, eax
jne 0x10012939
mov dword [esp + 0x18], ebx
mov byte [esp + 0xa8], 5
test ebx, ebx
je 0x100128e6
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
push 3
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
mov ebp, eax
or dword [esp + 0x14], 1
push edi
lea eax, [esp + 0x84]
push eax
push edi
mov byte [esp + 0xb4], 6
call fcn.10012570
add esp, 8
push eax
push ebp
mov ecx, ebx
call fcn.100121d0
jmp 0x100128e8
xor eax, eax
test byte [esp + 0x14], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xa8], 4
je 0x100129e7
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x7c], 0x10
jb 0x1001291f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.100411cc
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
jmp 0x100129e7
mov dword [esp + 0x44], ebx
mov byte [esp + 0xa8], 8
test ebx, ebx
je 0x1001298e
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
push 3
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
mov ebp, eax
or dword [esp + 0x14], 2
push edi
lea eax, [esp + 0x84]
push eax
push edi
mov byte [esp + 0xb4], 9
call fcn.10012570
add esp, 8
push eax
push ebp
mov ecx, ebx
call fcn.100121d0
mov ebp, dword [esp + 0x1c]
mov edi, eax
jmp 0x10012990
xor edi, edi
test byte [esp + 0x14], 2
mov dword [esp + 0xa8], 4
je 0x100129d0
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x60], 0x10
jb 0x100129bb
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.100411cc
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x40], edi
test ecx, ecx
je 0x100129e3
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 1
call eax
mov dword [esp + 0x1c], edi
mov edx, dword [esi]
mov eax, dword [edx + 0xb8]
mov ecx, esi
call eax
test al, al
jne 0x10012870
mov edi, dword [esp + 0x20]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
mov byte [esp + 0xac], 1
call eax
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
mov byte [esp + 0xac], 0
call eax
cmp dword [esp + 0x98], 0x10
jb 0x10012a3d
mov ecx, dword [esp + 0x84]
push ecx
call fcn.100411cc
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.1004102e
add esp, 0x98
ret