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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push dword [esi + 0x3c]
mov dword [ebp - 8], ecx
push dword [esi + 4]
push 0
push 0x1ff
push 1
push 0xff
push dword [esi + 0x2c]
push dword [esi + 0x10]
push dword [esi + 0x9c]
push dword [esi + 0x98]
push dword [esi]
push esi
push dword [esi + 0x1c]
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call fcn.019dc7c4
mov edi, dword [esi + 0xa4]
mov dword [ebp + 0xc], eax
test edi, edi
je 0x1998b1c
cmp dword [edi + 4], 2
jle 0x1998b1c
mov ebx, dword [esi + 0x50]
jmp 0x1998b35
mov eax, dword [esi + 0x90]
sub eax, dword [esi + 0x78]
sub eax, dword [esi + 0x58]
sub eax, dword [esi + 0x50]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
add ebx, dword [esi + 0x50]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x1998b9e
cmp dword [eax + 4], 0
je 0x1998b9e
push 0
push 0
push 0
push 0
push 0
push 1
push 0
mov ecx, dword [esi + 0x78]
push 1
push eax
push dword [esi + 8]
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
push 0
push 0
push 0
push 0
push 0xff
push 0
push 1
push 0
sub eax, ecx
push 0
cdq
push ecx
sub eax, edx
push ecx
sar eax, 1
add eax, dword [esi + 0x54]
push eax
push ebx
mov ebx, dword [ebp + 0xc]
push 0
push ebx
call fcn.019a54e4
mov edi, dword [esi + 0xa4]
jmp 0x1998ba1
mov ebx, dword [ebp + 0xc]
test edi, edi
je 0x1998c14
cmp dword [edi + 4], 2
jle 0x1998c14
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x1998bc6
cmp dword [eax + 4], 0
je 0x1998bc6
mov edx, dword [esi + 0x7c]
add edx, dword [esi + 0x78]
add edx, dword [esi + 0x50]
jmp 0x1998bc9
mov edx, dword [esi + 0x50]
push 0
push 0
push 0
push dword [esi + 0x30]
mov eax, dword [esi + 0x94]
push dword [esi + 0x14]
sub eax, dword [esi + 0x5c]
push 0
push 1
mov ecx, dword [esi + 0x54]
sub eax, ecx
push edi
push 0
push 0
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0
push eax
mov eax, dword [esi + 0x90]
sub eax, dword [esi + 0x58]
sub eax, edx
push eax
push ecx
push edx
push 0
push ebx
call fcn.0198e0e4
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1998cb4
mov edi, dword [esi + 0x90]
xor edx, edx
sub edi, dword [esi + 0x58]
sub edi, dword [esi + 0x4c]
mov dword [ebp - 4], edx
test eax, eax
jle 0x1998cb4
mov eax, dword [esi + 0x44]
mov ebx, dword [ebp - 4]
push 0
push 0
push dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
push dword [esi + 0x34]
sub ecx, edx
mov edx, dword [esi + 0x64]
push dword [esi + 0x18]
add ecx, 0x10000
push dword [eax + ebx*4]
mov eax, ebx
mov ebx, dword [ebp + 0xc]
push dword [esi + 0xc]
push eax
push dword [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x48]
push 0
push 0xff
push 0
push 1
push 0
push 0x10067ac0
push edx
push dword [ecx + eax*4]
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x60]
sub eax, edx
push eax
push edi
push 0
push ebx
call fcn.0193f7f4
mov edx, dword [ebp - 4]
mov ecx, dword [esi + 0x24]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x48]
mov eax, dword [eax + edx*4]
inc edx
add eax, dword [esi + 0x70]
add edi, eax
mov dword [ebp - 4], edx
cmp edx, dword [esi + 0x40]
jl 0x1998c38
mov ebx, dword [ebp - 8]
push 0x10
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push 0xffffffffffffffff
push ebx
call dword [0x100d0280]
mov eax, dword [esi + 0xb4]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x1998cf8
push dword [esi + 0xb8]
push 0
push 0
push 0
push 1
push edi
call eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1998d1f
push 0
push 1
push 1
push 0x46
push 0xffffff01
push 0x15
movzx eax, ax
push eax
push 0x3e8
push edi
call fcn.019707f4
jmp 0x1998d42
push 0x50
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push 0xffffffffffffffff
push ebx
call dword [0x100d0280]
call dword [0x100d0278]
cmp eax, ebx
je 0x1998d53
push ebx
call dword [0x100d02b0]
mov ecx, dword [esi + 0xac]
mov eax, dword [esi + 0x40]
test ecx, ecx
js 0x1998d64
cmp ecx, eax
jl 0x1998d70
mov dword [esi + 0xac], 0
xor ecx, ecx
test eax, eax
je 0x1998d7f
mov eax, dword [esi + 0x24]
push dword [eax + ecx*4]
call fcn.019573c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8