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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 8
xor edi, edi
mov dword [ebp - 0xc], 0
mov ebx, dword [esi + 8]
mov eax, dword [esi]
add ebx, 0x28
push ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov dword [esi + 0x14], ebx
call fcn.101663b0
add esp, 8
cmp dword [esi + 0x5c], 7
jne 0x1019a69d
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1e], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x62]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
cmp al, 1
jne 0x1019a734
mov eax, dword [esi + 8]
add eax, 0x168
mov dword [ebp - 0x1c], eax
test byte [eax + 0x1c], 0x10
je 0x1019a6d0
mov edx, dword [eax + 0x18]
mov edi, dword [eax + 4]
shr edx, 2
mov dword [ebp - 0xc], edx
jmp 0x1019a6d2
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp edx, 2
jb 0x1019a716
lea eax, [edx - 1]
xor edx, edx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov esi, eax
mov eax, dword [edi + ecx*4]
add edx, dword [eax + 4]
mov eax, dword [edi + ecx*4 + 4]
add ecx, 2
add ebx, dword [eax + 4]
cmp ecx, esi
jl 0x1019a6f3
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
cmp ecx, edx
jge 0x1019a726
mov eax, dword [edi + ecx*4]
mov ecx, dword [esi + 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [esi + 0x58]
lea eax, [edx + 1]
mov dword [esi + 0x58], eax
cmp edx, ecx
jge 0x1019aa0c
cmp byte [ebp - 1], 2
jne 0x1019a75a
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x8a
mov ecx, dword [ebp - 8]
jne 0x1019a734
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xe0], 0
je 0x1019a792
push str.interrupted
push 0x101cbf4c
push eax
lea eax, [esi + 0x38]
mov dword [esi + 0x5c], 9
push eax
mov edi, 1
call fcn.1018b010
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x1c]
cmp edx, eax
jge 0x1019a79e
mov eax, dword [esi + 4]
jmp 0x1019a7c2
sub edx, eax
xor ecx, ecx
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x1019a7bd
nop dword [eax + eax]
inc ecx
sub edx, eax
mov eax, dword [edi + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x1019a7b0
mov eax, dword [edi + ecx*4]
mov eax, dword [eax]
cmp byte [esi + 0x62], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x10], 0xa02
mov dword [ebp + 8], ecx
mov eax, 4
jne 0x1019a896
mov word [ebx + 0x1c], ax
mov eax, edx
cdq
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov word [ebx + 0x44], ax
mov byte [ebx + 0x1e], 1
mov dword [ebx + 0x14], edx
movzx eax, byte [ecx]
mov ecx, dword [eax*4 + 0x101d2228]
mov eax, ecx
mov dword [ebx + 0x2c], ecx
test ecx, ecx
je 0x1019a81e
cmp byte [ecx], 0
je 0x1019a817
inc eax
cmp byte [eax], 0
jne 0x1019a811
sub eax, ecx
and eax, 0x3fffffff
mov edx, dword [ebp + 8]
mov dword [ebx + 0x40], eax
mov word [ebx + 0x46], 0x103
add ebx, 0x50
mov dword [ebp - 0x14], ebx
cmp byte [edx + 1], 0xee
jne 0x1019a896
mov ecx, dword [ebp - 0xc]
lea eax, [ecx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
test ecx, ecx
je 0x1019a85a
mov edx, dword [edx + 0x10]
nop dword [eax]
cmp dword [edi + eax*4], edx
je 0x1019a85a
inc eax
cmp eax, ecx
jl 0x1019a850
mov edx, dword [ebp - 0x14]
mov ebx, edx
cmp eax, ecx
jne 0x1019a896
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
add eax, 4
push 1
push eax
push edi
call fcn.1019b0f0
add esp, 0xc
test eax, eax
jne 0x1019a896
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x10]
mov dword [edx + ecx], eax
lea eax, [edx + 4]
or word [edi + 0x1c], 0x10
mov dword [edi + 0x18], eax
mov edi, dword [ebp + 8]
mov ecx, 4
mov word [ebx + 0x1c], cx
push 0
push 0x20
mov eax, dword [edi + 4]
cdq
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov byte [ebx + 0x1e], 1
mov word [ebx + 0x44], cx
mov eax, dword [edi + 8]
cdq
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edx
mov byte [ebx + 0x46], 1
mov word [ebx + 0x6c], cx
mov eax, dword [edi + 0xc]
cdq
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], edx
mov byte [ebx + 0x6e], 1
add ebx, 0x78
push ebx
call fcn.1019b0f0
add esp, 0xc
test eax, eax
jne 0x1019a691
push 0x20
push dword [ebx + 4]
mov eax, 0x602
push edi
mov word [ebx + 0x1c], ax
call fcn.10152760
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp eax, ecx
je 0x1019a964
test eax, eax
jne 0x1019a91c
push ebx
call fcn.1019b630
add esp, 4
jmp 0x1019a984
mov ecx, dword [ebx]
test ecx, ecx
je 0x1019a92d
mov ecx, dword [ecx + 0x48]
xor edi, edi
test ecx, ecx
js 0x1019a93f
jmp 0x1019a932
mov ecx, 0x3b9aca00
xor edi, edi
cmp byte [edi + eax], 0
je 0x1019a93f
inc edi
cmp edi, ecx
jle 0x1019a934
push ebx
call fcn.1019b510
mov eax, dword [ebp - 0x20]
add esp, 4
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], edi
mov edi, dword [ebp + 8]
mov word [ebx + 0x1c], ax
jmp 0x1019a980
mov eax, ecx
test ecx, ecx
je 0x1019a97d
cmp byte [ecx], 0
je 0x1019a976
nop
inc eax
cmp byte [eax], 0
jne 0x1019a970
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1f], 1
mov byte [ebx + 0x1e], 3
add ebx, 0x28
mov al, byte [esi + 0x62]
cmp al, 1
jne 0x1019a9e4
push 0
push 4
push ebx
call fcn.1019b0f0
add esp, 0xc
test eax, eax
jne 0x1019a691
mov eax, 0x602
mov dword [ebx + 0x18], 2
mov word [ebx + 0x1c], ax
movzx eax, byte [edi + 3]
push eax
push str._.2x
push dword [ebx + 4]
push 3
call fcn.1013e450
mov eax, 1
mov word [ebx + 0x1e], 0x103
mov word [ebx + 0x44], ax
add esp, 0x10
mov byte [ebx + 0x46], 5
mov al, byte [esi + 0x62]
movzx eax, al
mov ecx, 3
sub cx, ax
mov dword [esi + 0x5c], 0
mov edi, 0x64
shl cx, 2
mov eax, edi
mov word [esi + 0x30], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 0x65
mov dword [esi + 0x5c], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret