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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10022e30
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ebx, dword [ebp + 0x14]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 4]
and eax, 0x4a
je 0x10013047
cmp eax, 0x40
je 0x10013050
cmp eax, 8
jne 0x10013059
mov dword [esi + 4], 0x10
jmp 0x10013060
mov dword [esi + 4], 0
jmp 0x10013060
mov dword [esi + 4], 8
jmp 0x10013060
mov dword [esi + 4], 0xa
lea eax, [esi + 0xe]
mov word [eax], 0xffff
xor edi, edi
dec edi
lea edx, [esi + 0x40]
mov dword [edx + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [edx + 0x20], xmm0
movdqa xmmword [edx + 0x10], xmm0
movdqa xmmword [edx], xmm0
mov ecx, ebx
call fcn.10014600
lea ecx, [esi + 0x2c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov edx, ebx
lea eax, [esi + 0xe]
push eax
call fcn.10014540
add esp, 4
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x128], eax
push eax
push 0xa
call fcn.100235f4
cmp byte [esi + 0x1b], 0
lea eax, [esi + 0x10]
jns 0x100130ca
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x24]
mov dword [esi], eax
mov dword [ecx], eax
lea edi, [esi + 0x78]
push 0xa0
push 0xff
push edi
call fcn.10028220
add esp, 0xc
lea eax, [esi + 0x20]
mov dword [eax], edi
lea eax, [esi + 0x28]
mov dword [eax], 0
movzx eax, word [esi + 0xe]
mov dword [esi + 0x3c], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x38]
push eax
call fcn.10002a1a
test al, al
jne 0x100131d1
movzx ecx, byte [esi + 0x1b]
test cl, cl
mov edi, dword [esi]
jns 0x1001311d
mov ecx, dword [esi + 0x14]
lea eax, [edi + ecx]
cmp dword [esi + 0x24], eax
jne 0x1001316a
mov dword [esi], ecx
lea eax, [ecx + ecx]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.100235f4
mov eax, dword [esi + 0x18]
mov ecx, SysReAllocString
and eax, ecx
dec eax
cmp byte [esi + 0x1b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.100235f4
cmp byte [esi + 0x1b], 0
lea edi, [esi + 0x10]
jns 0x10013163
mov edi, dword [esi + 0x10]
mov eax, dword [esi]
add eax, edi
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi], edi
je 0x1001317c
movzx eax, word [eax]
jmp 0x10013183
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi]
movzx ecx, ax
mov edx, dword [esi + 4]
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x3c]
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x24]
push eax
push edi
call fcn.10013e76
add esp, 0x20
test eax, eax
jne 0x100131d3
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100131c7
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x100130fc
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x100130fc
mov edi, dword [esi]
movzx eax, byte [esi + 0x37]
test al, al
jns 0x100131de
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100131ff
mov eax, dword [esi + 0x20]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x100131ff
mov ecx, dword [esi + 0x28]
lea edx, [eax + 4]
mov dword [esi + 0x20], edx
mov dword [eax], ecx
mov edx, dword [esi + 0x24]
mov ecx, edi
push dword [esi + 4]
push dword [ebp + 0x18]
call fcn.10022730
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
lea ecx, [esi + 0x2c]
lea edx, [esi + 0x78]
push dword [ebp + 0x18]
push dword [esi + 0x20]
call fcn.1001b399
add esp, 8
lea ecx, [esi + 8]
lea eax, [esi + 0x38]
push eax
call fcn.10002a1a
test al, al
je 0x10013241
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [esi + 8]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x1b], 0
jns 0x1001325a
push dword [esi + 0x10]
call fcn.10024ac9
add esp, 4
cmp byte [esi + 0x37], 0
jns 0x1001326b
push dword [esi + 0x2c]
call fcn.10024ac9
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18