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

Disassembly:
push 0xffffffffffffffff
push 0x1003df47
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x10050294]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10050294]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4cc]
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
mov eax, dword [esp + 0x4c8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jbe 0x10012b8e
call fcn.10026b40
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x10012b9b
call fcn.10026b40
push esi
push ebp
push edi
push ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
call fcn.10002ea0
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x10012bbf
mov eax, 0x64
jmp 0x10012df7
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.10013290
push 2
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x4d4], ebx
call fcn.100140d0
add esp, 0x14
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
mov byte [esp + 0x4c0], 1
mov dword [esp + 0x1c], 0x400
jae 0x10012c0e
lea eax, [esp + 0x48]
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi]
push eax
call fcn.100204c0
mov esi, eax
cmp esi, 0x3e9
jne 0x10012d70
mov eax, dword [esp + 0x4d0]
and eax, 2
mov dword [esp + 0x14], eax
mov esi, 0xf
lea eax, [esp + 0xb4]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
jmp 0x10012c60
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10012c60
sub eax, edx
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x28]
call fcn.10002380
push 2
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xa0]
push eax
mov byte [esp + 0x4cc], 2
call fcn.10013930
add esp, 0xc
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x4c0], 4
jb 0x10012cb8
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002693b
add esp, 4
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.100133c0
add esp, 8
cmp dword [esp + 0x14], ebx
mov byte [esp + 0x4c0], 5
je 0x10012cf9
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.10013b40
add esp, 8
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call fcn.10005e40
mov eax, dword [edi]
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push eax
call fcn.100204c0
cmp dword [esp + 0x78], 8
mov esi, eax
jb 0x10012d31
mov ecx, dword [esp + 0x64]
push ecx
call fcn.1002693b
add esp, 4
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov byte [esp + 0x4c0], 1
jb 0x10012d64
mov edx, dword [esp + 0x9c]
push edx
call fcn.1002693b
add esp, 4
cmp esi, 0x3e9
je 0x10012c40
cmp esi, 5
jne 0x10012db7
cmp dword [esp + 0x5c], 0x10
jb 0x10012d89
mov eax, dword [esp + 0x48]
push eax
call fcn.1002693b
add esp, 4
cmp dword [esp + 0x94], 8
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x10012db3
mov ecx, dword [esp + 0x80]
push ecx
call fcn.1002693b
add esp, 4
xor eax, eax
jmp 0x10012df7
cmp dword [esp + 0x5c], 0x10
jb 0x10012dcb
mov edx, dword [esp + 0x48]
push edx
call fcn.1002693b
add esp, 4
cmp dword [esp + 0x94], 8
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x10012df5
mov eax, dword [esp + 0x80]
push eax
call fcn.1002693b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.10026fe4
add esp, 0x4b0
ret 0xc