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

Disassembly:
push 0xffffffffffffffff
push 0x10050290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x1006099c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
mov ebx, dword [esi + 8]
mov ebp, dword [esi + 4]
push edi
mov dword [esp + 0x74], eax
mov edi, ecx
mov ecx, ebx
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
push ebp
call fcn.10015500
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea ecx, [esp + 0x9c]
push ecx
call fcn.10014610
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0xa0]
add esp, 0x18
cmp ecx, eax
je 0x10015b54
mov edx, dword [esp + 0x88]
push edx
push ecx
push eax
push eax
call fcn.1000b1c0
mov ecx, dword [esp + 0x98]
push ecx
mov ebx, eax
mov eax, dword [esi + 8]
push esi
push eax
push ebx
call fcn.10002ea0
add esp, 0x20
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x18]
lea ebp, [edi + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebp
je 0x10015b83
mov edx, dword [esp + 0x88]
mov ecx, dword [ebp + 8]
push edx
push ebp
push ecx
push eax
call fcn.10002ea0
mov eax, dword [ebp + 4]
push eax
call fcn.10036530
add esp, 0x14
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 8]
lea ebp, [esp + 0x18]
push ebp
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x98], ebx
call fcn.100159c0
add esp, 0x18
push esi
lea ecx, [edi + 4]
call fcn.1000b510
lea ecx, [esp + 0x28]
call fcn.10028640
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov byte [esp + 0x80], 1
jne 0x10015bea
xor eax, eax
jmp 0x10015c03
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jle 0x10015d46
mov dword [esp + 0x88], ebx
mov dword [esp + 0x10], eax
mov ebp, 0xf
jmp 0x10015c21
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
push 0xffffffffffffffff
lea eax, [ecx + esi]
push ebx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10001e90
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x88], 2
call fcn.100025a0
add esp, 8
cmp dword [esp + 0x6c], ebx
mov byte [esp + 0x80], 3
jne 0x10015ca7
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x10015c86
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.10036530
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 1
jb 0x10015d1a
mov edx, dword [esp + 0x40]
push edx
jmp 0x10015d12
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.10027b20
cmp al, 1
jne 0x10015ccb
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.100279c0
test al, al
je 0x10015cd9
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10004480
mov eax, dword [esp + 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x10015cf3
mov edx, dword [esp + 0x5c]
push edx
call fcn.10036530
add esp, 4
cmp dword [esp + 0x54], esi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 1
jb 0x10015d1a
mov eax, dword [esp + 0x40]
push eax
call fcn.10036530
add esp, 4
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
add ecx, 0x1c
dec eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x88], ecx
mov dword [esp + 0x10], eax
jne 0x10015c1d
mov esi, dword [edi + 0x1c]
mov ebp, dword [edi + 0x18]
mov ecx, esi
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
push ebp
call fcn.10015500
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.10014610
mov eax, dword [eax]
mov edi, dword [edi + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x10015dbb
mov edx, dword [esp + 0x88]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
push edi
call fcn.1000b1c0
mov ecx, dword [esp + 0x98]
push ecx
mov edi, eax
mov eax, dword [esi + 8]
push esi
push eax
push edi
call fcn.10002ea0
add esp, 0x20
mov dword [esi + 8], edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], bl
call fcn.10028390
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
cmp eax, ebx
pop ebx
je 0x10015df9
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
call fcn.10002ea0
mov eax, dword [esp + 0x1c]
push eax
call fcn.10036530
add esp, 0x14
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
call fcn.1003fd01
add esp, 0x74
ret 4