Function at 0x100124b0
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], 0x10022b70
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 0x10012517
cmp eax, 0x40
je 0x10012520
cmp eax, 8
jne 0x10012529
mov dword [esi + 4], 0x10
jmp 0x10012530
mov dword [esi + 4], 0
jmp 0x10012530
mov dword [esi + 4], 8
jmp 0x10012530
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.10014370
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.100142b0
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.10023364
cmp byte [esi + 0x1b], 0
lea eax, [esi + 0x10]
jns 0x1001259a
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.10027f80
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.1000290a
test al, al
jne 0x100126a1
movzx ecx, byte [esi + 0x1b]
test cl, cl
mov edi, dword [esi]
jns 0x100125ed
mov ecx, dword [esi + 0x14]
lea eax, [edi + ecx]
cmp dword [esi + 0x24], eax
jne 0x1001263a
mov dword [esi], ecx
lea eax, [ecx + ecx]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.10023364
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.10023364
cmp byte [esi + 0x1b], 0
lea edi, [esi + 0x10]
jns 0x10012633
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 0x1001264c
movzx eax, word [eax]
jmp 0x10012653
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.10013be6
add esp, 0x20
test eax, eax
jne 0x100126a3
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10012697
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x100125cc
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x100125cc
mov edi, dword [esi]
movzx eax, byte [esi + 0x37]
test al, al
jns 0x100126ae
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100126cf
mov eax, dword [esi + 0x20]
mov ecx, eax
lea edx, [esi + 0x78]
sub ecx, edx
cmp ecx, 0x9f
jg 0x100126cf
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.100221b0
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.1001b119
add esp, 8
lea ecx, [esi + 8]
lea eax, [esi + 0x38]
push eax
call fcn.1000290a
test al, al
je 0x10012711
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 0x1001272a
push dword [esi + 0x10]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x37], 0
jns 0x1001273b
push dword [esi + 0x2c]
call fcn.10024829
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