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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1025fc05
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x28], ebx
cmp dword [esi], 0
jne 0x10190457
xor eax, eax
inc eax
jmp 0x1019069f
mov edi, dword [0x102ab04c]
lea eax, [esp + 0x4c]
push eax
push 0x18
push dword [esi]
call edi
test eax, eax
jne 0x10190473
xor eax, eax
jmp 0x1019069f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
idiv ebx
push 0x20
mov ebx, eax
mov dword [esp + 0x38], ecx
pop eax
mov dword [esp + 0x2c], ebx
cmp word [esp + 0x5e], ax
jne 0x1019056b
lea eax, [esp + 0x64]
push eax
push 0x54
push dword [esi]
call edi
test eax, eax
je 0x1019046c
push 0x20
pop eax
cmp word [esp + 0x76], ax
jne 0x1019046c
mov esi, dword [esp + 0x78]
mov dword [esp + 0x24], esi
test esi, esi
je 0x1019046c
test ebx, ebx
jle 0x1019044f
mov eax, dword [esp + 0x28]
lea ecx, [esi - 4]
mov edx, dword [esp + 0x14]
mov edi, eax
shl edi, 2
add ecx, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x1019054f
cdq
mov ebx, esi
mov esi, dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
mov edx, ebx
mov edi, ecx
test eax, eax
jle 0x10190521
mov esi, eax
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [edx], eax
lea edx, [edx + 4]
mov dword [edi], ecx
lea edi, [edi - 4]
dec esi
jne 0x10190504
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
shl edx, 2
add ecx, edx
add ebx, edx
dec esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
jne 0x101904fa
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add esi, edi
add ecx, edi
dec ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
jne 0x101904df
jmp 0x1019044f
xor edi, edi
mov dword [esp + 0x3c], 0x10040f2c
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
push edi
mov dword [esp + 0xd4], edi
call dword [0x102ab054]
push eax
lea ecx, [esp + 0x40]
call fcn.10273aed
cmp dword [esi], edi
je 0x101905af
push dword [esi]
push dword [esp + 0x44]
call dword [0x102ab05c]
mov dword [esp + 0x20], eax
jmp 0x101905b5
mov eax, edi
mov dword [esp + 0x20], edi
test eax, eax
je 0x1019068c
test ebx, ebx
jle 0x1019067e
mov eax, dword [esp + 0x28]
mov ecx, edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], edi
test edx, edx
jle 0x10190669
lea esi, [ecx - 1]
add esi, eax
cdq
sub eax, edx
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
mov ebx, ecx
test eax, eax
jle 0x1019065a
mov dword [esp + 0x1c], eax
push edi
push ebx
push dword [esp + 0x48]
call dword [0x102ab088]
push edi
push dword [esp + 0x1c]
mov esi, eax
push dword [esp + 0x48]
call dword [0x102ab088]
push eax
push edi
push ebx
push dword [esp + 0x4c]
call dword [0x102ab0b4]
push esi
mov esi, dword [esp + 0x1c]
push edi
push esi
push dword [esp + 0x4c]
call dword [0x102ab0b4]
inc ebx
dec esi
dec dword [esp + 0x1c]
mov dword [esp + 0x18], esi
jne 0x10190603
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
inc edi
cmp edi, edx
jl 0x101905f5
mov ebx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [esp + 0x28]
add ecx, eax
dec ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
jne 0x101905d3
mov eax, dword [esp + 0x20]
push eax
push dword [esp + 0x44]
call dword [0x102ab05c]
xor edi, edi
inc edi
or dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10273b6c
mov eax, edi
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1028105c
mov esp, ebp
pop ebp
ret 8