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

Disassembly:
push 0xffffffffffffffff
push 0x1036340
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10482e0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10482e0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
mov edi, ecx
call fcn.01003961
push eax
mov dword [esp + 0x60], 0
call fcn.010163e0
mov ebp, eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
mov dword [esp + 0x1c], ebp
je 0x10157bd
push 0
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.0101a4d0
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x101579b
cmp eax, 0xffffffff
jae 0x101579b
add eax, 0xffffffff
mov dword [ebx + 4], eax
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, ebx
call fcn.0101a4f1
test esi, esi
je 0x10157bd
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea esi, [esp + 0x34]
mov ecx, ebp
call fcn.01015eb0
mov ecx, 1
mov dword [esp + 0x5c], ecx
mov al, byte [edi]
cmp al, 0x2b
je 0x10157fe
cmp al, 0x2d
je 0x10157fe
cmp al, 0x30
jne 0x10157f4
mov al, byte [edi + 1]
cmp al, 0x78
je 0x10157ea
cmp al, 0x58
jne 0x10157f4
mov dword [esp + 0x14], 2
jmp 0x1015802
mov dword [esp + 0x14], 0
jmp 0x1015802
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x4c]
cmp ecx, 0x10
mov edx, dword [esp + 0x38]
mov eax, edx
jae 0x1015815
lea eax, [esp + 0x38]
cmp byte [eax], 0x7f
je 0x10158b6
cmp ecx, 0x10
mov eax, edx
jae 0x1015829
lea eax, [esp + 0x38]
cmp byte [eax], 0
jle 0x10158b6
cmp ecx, 0x10
jb 0x101583d
mov dword [esp + 0x18], edx
jmp 0x1015845
lea eax, [esp + 0x38]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
cmp al, 0x7f
mov ebp, dword [esp + 0x7c]
mov esi, ebp
je 0x10158a3
test al, al
jle 0x101589f
mov edx, esi
sub edx, dword [esp + 0x14]
movsx eax, al
cmp eax, edx
jae 0x101589f
sub esi, eax
mov eax, ebp
sub eax, esi
add eax, 1
push eax
lea ebx, [edi + esi]
push ebx
push eax
lea ecx, [edi + esi + 1]
push ecx
call fcn.0101af88
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [ebx], 0
add ebp, 1
cmp byte [eax + 1], 0
jle 0x1015899
add eax, 1
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x1015855
mov dword [esp + 0x7c], ebp
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x10158bc
cmp esi, ebp
jbe 0x10158bc
sub esi, ebp
jmp 0x10158be
mov ebp, dword [esp + 0x7c]
jmp 0x10158a3
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x101597d
cmp eax, 0x100
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
je 0x1015912
mov bl, byte [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x34]
push eax
mov eax, esi
call fcn.01015a30
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x68], ecx
xor esi, esi
jmp 0x1015985
mov ebx, dword [esp + 0x14]
push edi
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x38]
push eax
mov eax, ebx
call fcn.01015d60
mov edx, dword [eax]
add esp, 8
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 + 0x34]
sub ebp, ebx
add edi, ebx
mov bl, byte [esp + 0x84]
push ecx
mov eax, esi
mov dword [esp + 0x8c], ebp
call fcn.01015a30
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 8]
add esp, 0x10
mov dword [esp + 0x68], edx
xor esi, esi
jmp 0x1015985
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x1c]
push eax
push ecx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.01015de0
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov bl, byte [esp + 0x90]
add esp, 0xc
mov dword [ecx + 0x18], 0
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edi, dword [esp + 0x70]
mov dword [ecx + 8], eax
push edi
mov eax, esi
call fcn.01015a30
add esp, 0x10
cmp dword [esp + 0x4c], 0x10
jb 0x1015a05
mov edx, dword [esp + 0x38]
push edx
call fcn.0101af08
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0101aef9
add esp, 0x4c
ret