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

Disassembly:
push 0xffffffffffffffff
push 0x13033230
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1303de70]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1303de70]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], esi
call fcn.13002cc0
xor ebp, ebp
mov dword [esp + 0x60], ebp
push eax
call fcn.130111f0
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x130121cd
call fcn.130029e0
cmp eax, ebp
je 0x130121cd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.130062a0
mov ecx, 1
mov dword [esp + 0x60], ecx
mov al, byte [ebx]
cmp al, 0x2b
je 0x1301220b
cmp al, 0x2d
je 0x1301220b
cmp al, 0x30
jne 0x13012205
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x130121fb
cmp al, 0x58
jne 0x13012205
mov dword [esp + 0x14], 2
jmp 0x1301220f
mov dword [esp + 0x14], ebp
jmp 0x1301220f
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x50]
cmp ecx, 0x10
mov edx, dword [esp + 0x3c]
mov eax, edx
jae 0x13012222
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x130122b6
cmp ecx, 0x10
mov eax, edx
jae 0x13012236
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x130122b6
cmp ecx, 0x10
jae 0x13012244
lea edx, [esp + 0x3c]
mov ebp, dword [esp + 0x88]
mov eax, edx
mov al, byte [eax]
cmp al, 0x7f
mov dword [esp + 0x18], edx
mov esi, ebp
je 0x130122a3
test al, al
jle 0x130122a3
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x130122a3
sub esi, eax
mov edx, ebp
sub edx, esi
lea eax, [edx + 1]
push eax
lea edi, [ebx + esi]
push edi
push eax
lea eax, [ebx + esi + 1]
push eax
call fcn.1301be21
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
add ebp, 1
cmp byte [eax + 1], 0
jle 0x1301229d
add eax, 1
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x13012259
mov esi, dword [esp + 0x1c]
mov edi, dword [esi + 0x18]
test edi, edi
jle 0x130122bf
cmp edi, ebp
jbe 0x130122bf
sub edi, ebp
jmp 0x130122c1
mov ebp, dword [esp + 0x88]
jmp 0x130122a7
xor edi, edi
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0x68]
and eax, 0x1c0
cmp eax, 0x40
je 0x130123ab
cmp eax, 0x100
mov edx, dword [esp + 0x70]
je 0x1301232c
mov ecx, dword [esp + 0x80]
push edi
push ecx
mov ecx, dword [esp + 0x7c]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x40]
push eax
push esi
call fcn.13010500
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jmp 0x130123a6
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x78]
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x40]
push eax
push esi
call fcn.13010480
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
add esp, 0x1c
add ebx, ecx
sub ebp, ecx
mov ecx, dword [esp + 0x80]
push edi
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.13010500
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x8c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x1c
xor edi, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push eax
push ebp
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push esi
mov dword [eax + 8], ecx
call fcn.13010580
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
add esp, 0x20
push edi
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [ecx + 0x18], ebp
mov ecx, dword [esp + 0x84]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
push edi
mov dword [ecx + 4], ebx
push esi
mov dword [ecx + 8], eax
call fcn.13010500
add esp, 0x1c
mov dword [esp + 0x60], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x1301243c
mov edx, dword [esp + 0x3c]
push edx
call fcn.1301bda1
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1301b81a
add esp, 0x50
ret