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

Disassembly:
push 0xffffffffffffffff
push 0x10050258
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006b2c8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x70], 2
call fcn.10015c90
mov ebx, eax
cmp ebx, ebp
jne 0x10019d5c
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10019850
mov edi, dword [esp + 0x28]
cmp edi, ebp
je 0x10019d60
mov esi, dword [esp + 0x2c]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10019d60
cmp edi, esi
jbe 0x10019c8f
call fcn.100370ab
lea eax, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], esi
lea esp, [esp]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], eax
mov dword [esp + 0x7c], eax
jbe 0x10019cb3
call fcn.100370ab
cmp esi, ebp
je 0x10019cbf
lea ecx, [esp + 0x24]
cmp esi, ecx
je 0x10019cc4
call fcn.100370ab
cmp edi, dword [esp + 0x7c]
je 0x10019d5c
cmp esi, ebp
jne 0x10019cd7
call fcn.100370ab
cmp edi, dword [esi + 8]
jb 0x10019ce1
call fcn.100370ab
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x10019cee
mov eax, dword [esi]
jmp 0x10019cf0
mov eax, esi
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.10015c90
mov ebx, eax
cmp ebx, ebp
jne 0x10019d5c
cmp dword [edi + 0x18], 8
jb 0x10019d1c
mov esi, dword [esi]
lea edx, [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edx
call fcn.100165b0
cmp eax, ebp
jne 0x10019d42
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x1c]
cmp edi, dword [eax + 8]
jb 0x10019d50
call fcn.100370ab
mov esi, dword [esp + 0x1c]
add edi, 0x1c
jmp 0x10019ca0
mov edi, dword [esp + 0x28]
cmp edi, ebp
mov ecx, dword [esp + 0x80]
mov dword [ecx], ebx
je 0x10019d8f
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
push edi
call fcn.100039d0
mov edx, dword [esp + 0x38]
push edx
call fcn.10036ea6
add esp, 0x14
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
je 0x10019dc5
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.100039d0
mov edx, dword [esp + 0x48]
push edx
call fcn.10036ea6
add esp, 0x14
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
je 0x10019dfb
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
call fcn.100039d0
mov edx, dword [esp + 0x58]
push edx
call fcn.10036ea6
add esp, 0x14
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x20