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

Disassembly:
push 0xffffffffffffffff
push 0x130fbac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov ecx, dword [esp + 0x7c]
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.13002c50
xor ebx, ebx
mov dword [esp + 0x70], ebx
push eax
call fcn.13010220
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x70], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x130105d2
call fcn.130029c0
cmp eax, ebx
je 0x130105d2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.13006320
mov ebp, 1
mov dword [esp + 0x70], ebp
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov byte [esp + 0x18], al
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
mov byte [esp + 0x70], 2
mov edi, dword [esp + 0x94]
mov al, byte [edi]
cmp al, 0x2b
je 0x1301061f
cmp al, 0x2d
mov dword [esp + 0x14], ebx
jne 0x13010623
mov dword [esp + 0x14], ebp
call fcn.130202dc
mov ecx, dword [eax]
mov ebp, dword [esp + 0xa4]
mov dl, byte [ecx]
push ebp
push 0x65
push edi
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0
call fcn.13020310
mov esi, eax
movsx eax, byte [esp + 0x1c]
push ebp
push eax
push edi
call fcn.13020310
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x13010669
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x64]
cmp ecx, 0x10
mov edx, dword [esp + 0x50]
mov eax, edx
jae 0x1301067c
lea eax, [esp + 0x50]
cmp byte [eax], 0x7f
je 0x130107d7
cmp ecx, 0x10
mov eax, edx
jae 0x13010690
lea eax, [esp + 0x50]
cmp byte [eax], 0
jle 0x130107d7
push ebp
push edi
lea ecx, [esp + 0x38]
call fcn.13006570
test esi, esi
jne 0x130106c4
mov ecx, dword [esp + 0xa0]
push 0x30
push ecx
lea ecx, [esp + 0x38]
call fcn.13006270
mov ebp, dword [esp + 0x98]
jmp 0x130106fc
test ebx, ebx
jne 0x130106df
mov edx, dword [esp + 0x98]
push 0x30
push edx
lea ecx, [esp + 0x38]
call fcn.13006270
xor ebp, ebp
jmp 0x130106e6
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x3c]
call fcn.13006470
test ebx, ebx
push 0x30
jne 0x1301070e
push ebp
lea ecx, [esp + 0x38]
call fcn.13006270
jmp 0x1301073f
mov ecx, dword [esp + 0xa0]
mov esi, ebx
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x3c]
call fcn.13006470
push 0x30
push ebp
push esi
lea ecx, [esp + 0x3c]
call fcn.13006470
mov dword [esp + 0x9c], 0
mov edi, dword [esp + 0x50]
mov ebx, 0x10
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x98], 0
jae 0x1301075d
lea edi, [esp + 0x50]
cmp dword [esp + 0x48], ebx
mov eax, dword [esp + 0x34]
jae 0x1301076b
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.130203c0
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x130107b1
test al, al
jle 0x130107b1
mov edx, esi
sub edx, dword [esp + 0x14]
movsx eax, al
cmp eax, edx
jae 0x130107b1
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x3c]
call fcn.13006470
cmp byte [edi + 1], 0
jle 0x130107ab
add edi, 1
mov al, byte [edi]
cmp al, 0x7f
jne 0x13010781
cmp dword [esp + 0x48], ebx
mov edi, dword [esp + 0x34]
jae 0x130107bf
lea edi, [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], eax
mov ebp, eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
lea eax, [ecx + edx]
add eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx + 0x18]
add eax, ebp
test ecx, ecx
jle 0x1301080e
cmp ecx, eax
jbe 0x1301080e
sub ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x13010819
mov dword [esp + 0x94], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x78]
and eax, 0x1c0
cmp eax, 0x40
je 0x13010941
cmp eax, 0x100
je 0x13010894
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x80]
push eax
push ecx
mov ecx, dword [esp + 0x8c]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1300fc20
mov ecx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0
jmp 0x1301094f
cmp dword [esp + 0x14], 0
jbe 0x130108e5
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
push 1
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x38]
push eax
push esi
call fcn.1300fba0
mov ebx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
add esp, 0x1c
add edi, 1
sub ebp, 1
mov dword [esp + 0xa4], ebp
jmp 0x130108fa
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.1300fc20
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
add esp, 0x1c
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], 0
jmp 0x1301094f
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0xa4]
movsx ecx, byte [esp + 0x10]
push eax
push ecx
push edi
call fcn.13020310
add esp, 0xc
test eax, eax
je 0x13010a66
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
sub eax, edi
add eax, 1
push edx
mov dword [esp + 0x18], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x3c]
mov dword [eax], ebp
push edx
mov dword [eax + 4], ebx
push esi
mov dword [eax + 8], ecx
call fcn.1300fca0
mov ecx, dword [esp + 0xb8]
mov edx, dword [eax]
add esp, 0x20
push ecx
push 0x30
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 + 0x38]
push ecx
push esi
call fcn.1300fc20
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 4]
add esp, 0x1c
call edx
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x98], al
mov eax, dword [esp + 0x98]
push 1
push eax
sub esp, 0xc
mov eax, esp
lea edx, [esp + 0x38]
mov dword [eax], ebx
push edx
mov dword [eax + 4], ebp
push esi
mov dword [eax + 8], ecx
call fcn.1300fc20
mov ecx, dword [esp + 0xb8]
mov edx, dword [eax]
add esp, 0x1c
push ecx
push 0x30
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 + 0x38]
push ecx
push esi
call fcn.1300fc20
mov edx, dword [eax + 8]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x30]
add esp, 0x1c
add edi, eax
sub dword [esp + 0xa4], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0xa4]
push eax
push 0x65
push edi
call fcn.13020310
add esp, 0xc
test eax, eax
je 0x13010b48
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
sub eax, edi
add eax, 1
push ecx
mov dword [esp + 0x9c], eax
add eax, 0xffffffff
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.1300fca0
mov ecx, dword [esp + 0xc0]
mov edx, dword [eax]
add esp, 0x20
push ecx
push 0x30
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 + 0x38]
push ecx
push esi
call fcn.1300fc20
mov edx, dword [esp + 0xa8]
add esp, 0x1c
test byte [edx + 0x10], 4
mov dword [esp + 0xa0], 0
mov ecx, 0x130fe6c0
jne 0x13010b08
mov ecx, 0x130fe6bc
mov edx, dword [eax]
push 1
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 + 0x38]
push ecx
push esi
call fcn.1300fba0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0xb4]
add esp, 0x1c
add edi, eax
sub dword [esp + 0xa4], eax
jmp 0x13010b4f
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xa4]
push edx
push eax
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.1300fca0
mov edx, dword [esp + 0xc0]
add esp, 0x20
push edx
mov edx, dword [eax]
push 0x30
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 + 0x38]
push ecx
push esi
call fcn.1300fc20
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xa8]
add esp, 0x1c
xor ebx, ebx
mov dword [ecx + 0x18], ebx
mov ecx, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x90]
push edi
push esi
mov dword [ecx + 8], eax
call fcn.1300fc20
add esp, 0x1c
mov byte [esp + 0x70], 1
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x13010c04
mov edx, dword [esp + 0x34]
push edx
call fcn.1301ff6c
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x13010c31
mov eax, dword [esp + 0x50]
push eax
call fcn.1301ff6c
add esp, 4
mov ecx, dword [esp + 0x68]
mov eax, edi
pop edi
pop esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
pop ebp
mov byte [esp + 0x44], 0
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret