Function at 0x100138d0
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
mov eax, dword [ebp + 0x14]
lea edi, [esi + 0x120]
mov dword [edi - 4], esp
xor ecx, ecx
dec ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], 0x10022be0
mov edx, dword fs:[0]
mov dword [edi], edx
mov dword fs:[0], edi
mov dword [esi + 0x70], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov eax, dword [eax + 0x1c]
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov dword [esi + 0xc], eax
lock inc dword [eax + 4]
mov dword [edi + 8], 2
push 0x1005eda4
call fcn.1001f00e
mov edx, dword [eax]
lea edi, [esi + 0x40]
mov ecx, eax
push edi
push 0x1005562a
push str.0123456789abcdefABCDEFxX_pPiInN
call dword [edx + 0x28]
xor eax, eax
dec eax
mov ecx, dword [esi + 0xc]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1001397a
mov eax, dword [ecx]
call dword [eax + 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], 1
push eax
push 0xa
call fcn.10023364
cmp byte [esi + 0x1b], 0
lea ecx, [esi + 0x10]
jns 0x100139a5
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x1c]
mov dword [esi + 0xc], ecx
mov dword [eax], ecx
push 0xa0
push 0xff
lea edi, [esi + 0x78]
push edi
call fcn.10027f80
add esp, 0xc
lea eax, [esi + 0x30]
mov dword [eax], edi
lea eax, [esi + 0x2c]
mov dword [eax], 0
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.1000290a
test al, al
jne 0x10013aac
movzx ecx, byte [esi + 0x1b]
test cl, cl
mov edi, dword [esi + 0xc]
jns 0x100139f3
mov ecx, dword [esi + 0x14]
lea eax, [edi + ecx]
cmp dword [esi + 0x1c], eax
jne 0x10013a42
mov dword [esi + 0xc], 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 0x10013a3a
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add eax, edi
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi + 0xc], edi
je 0x10013a55
movzx eax, word [eax]
jmp 0x10013a5d
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 0xc]
movzx ecx, ax
mov edx, 0x10
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x20]
push eax
push 0
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x1c]
push eax
push edi
call fcn.10013be6
add esp, 0x20
test eax, eax
jne 0x10013aaf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x10013aa2
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x100139d1
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x100139d1
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
sub eax, edi
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.10023364
lea ecx, [esi + 0x34]
call fcn.10024570
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x1b], 0
lea edx, [esi + 0x10]
jns 0x10013ad6
mov edx, dword [esi + 0x10]
sub esp, 0x10
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.10049b06
add esp, 0x10
mov edi, eax
mov ebx, dword [esi + 0x3c]
test ebx, ebx
je 0x10013b08
mov ecx, ebx
call fcn.100013a0
push ebx
call fcn.10024829
add esp, 4
cmp edi, 1
je 0x10013b16
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.1000290a
test al, al
je 0x10013b2c
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x1b], 0
jns 0x10013b45
push dword [esi + 0x10]
call fcn.10024829
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x10013b56
push dword [esi + 0x20]
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