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

Disassembly:
sub esp, 0x850
push ebp
push esi
mov esi, dword [esp + 0x85c]
push edi
test esi, esi
jne 0x1019ad44
pop edi
pop esi
mov ax, 0x10
pop ebp
add esp, 0x850
ret 0xc
mov ecx, dword [0x10283b08]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.10197940
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1019ad6d
pop edi
pop esi
mov ax, 2
pop ebp
add esp, 0x850
ret 0xc
mov ax, word [ebp + 0x44]
test ax, ax
je 0x1019b2b0
cmp ax, 0xffff
je 0x1019b2b0
mov eax, dword [esp + 0x864]
cmp ax, word [ebp + 0x1a4]
ja 0x1019b299
mov ecx, dword [esp + 0x868]
test ecx, ecx
jne 0x1019adbf
test ax, ax
je 0x1019ae04
push ebp
push 0x10
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edx, dword [ebp + 0x5c]
test edx, edx
jne 0x1019ade2
test ax, ax
je 0x1019ade2
push ebp
push 0x10
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
cmp word [ecx], 0
jne 0x1019ae04
test ax, ax
je 0x1019ae04
push ebp
push 0x10
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x8c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3ac]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x21c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], eax
xor ecx, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
movsx ecx, word [ebp + 0x5a]
lea eax, [esp + 0x34]
mov dx, word [ebp + ecx*2 + 0x46]
push edx
push 0x1020dd80
push eax
call fcn.101bc928
xor ecx, ecx
lea edx, [esp + 0x34]
mov cx, word [ebp + 0x44]
push ecx
push 0x1020dd80
push edx
call fcn.101bc928
mov eax, dword [esp + 0x87c]
lea ecx, [esp + 0x34]
and eax, 0xffff
push eax
push 0x1020dd80
push ecx
call fcn.101bc928
mov eax, dword [esp + 0x88c]
add esp, 0x24
test eax, eax
jne 0x1019aedd
lea edx, [esp + 0x10]
push 0x1020de20
push edx
call fcn.101bc928
add esp, 8
jmp 0x1019aef5
xor ecx, ecx
lea edx, [esp + 0x10]
mov cx, word [eax]
push ecx
push 0x1020dd80
push edx
call fcn.101bc928
add esp, 0xc
lea eax, [esp + 0x4c]
push 0x40
push eax
push esi
call fcn.101960c0
test ax, ax
jne 0x1019b2e3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
push 4
push 0x1020dd78
call fcn.1019fa00
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x1019af4b
push ebp
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.101bceaa
lea ecx, [esp + 0x44]
lea edx, [esp + 0x3b0]
push ecx
push edx
push str.releaseLicEx
push 3
push 0x1020dc74
call fcn.1019fa00
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x1019afbb
push ebp
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.101bceaa
lea ecx, [esp + 0x220]
push ecx
call fcn.1019fae0
mov edx, eax
add esp, 8
test edx, edx
jne 0x1019b01a
push ebp
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x21c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xc], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xc]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.101bceaa
lea ecx, [esp + 0x90]
lea edx, [esp + 0x220]
push ecx
push ebp
push edx
call fcn.1019d090
add esp, 0x10
test ax, ax
je 0x1019b080
push ebp
push eax
call fcn.10196660
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea eax, [esp + 0x8c]
push eax
call fcn.1019f7d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x1019b0ad
push ebp
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x6cc]
push ecx
lea eax, [esp + 0x540]
push edx
push eax
push esi
push 3
push 0x1020dc74
call fcn.1019f630
push esi
mov edi, eax
call fcn.101bceaa
add esp, 0x1c
test di, di
je 0x1019b0f9
push ebp
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
push 0
call fcn.101bceaa
add esp, 4
mov byte [esp + 0x6cb], 0
mov byte [esp + 0x85b], 0
mov esi, str.error
lea eax, [esp + 0x53c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x1019b143
test cl, cl
je 0x1019b13f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x1019b143
add eax, 2
add esi, 2
test cl, cl
jne 0x1019b11f
xor eax, eax
jmp 0x1019b148
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1019b1b6
lea eax, [esp + 0x6cc]
push eax
call fcn.101bfa53
mov esi, eax
add esp, 4
cmp si, 0x47
je 0x1019b16f
cmp word [esp + 0x864], 0
jne 0x1019b1a0
mov edi, 1
push edi
push ebp
call fcn.10196960
push ebp
push 0x10283b08
call fcn.1019b360
push ebp
call fcn.101bceaa
mov eax, dword [0x1020de48]
add esp, 0x14
xor ebp, ebp
cmp eax, edi
je 0x1019b1a0
mov dword [0x1020de48], edi
push ebp
push esi
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x8c]
push ecx
mov edi, 1
push edx
push edi
push 0x1020dd78
call fcn.1019f630
add esp, 0x10
test ax, ax
je 0x1019b1f2
push ebp
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov esi, dword [esp + 0x868]
test esi, esi
je 0x1019b225
cmp word [esp + 0x864], 0
je 0x1019b230
lea eax, [esp + 0x10]
push eax
call fcn.101bfa53
mov word [esi], ax
mov ecx, dword [ebp + 0x5c]
and eax, 0xffff
add esp, 4
sub ecx, eax
mov dword [ebp + 0x5c], ecx
cmp word [esp + 0x864], 0
jne 0x1019b272
push edi
push ebp
call fcn.10196960
push ebp
push 0x10283b08
call fcn.1019b360
push ebp
call fcn.101bceaa
mov eax, dword [0x1020de48]
add esp, 0x14
cmp eax, edi
je 0x1019b25a
mov dword [0x1020de48], edi
push 0
push 0
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
lea esi, [ebp + 0x68]
push esi
call fcn.101cdda5
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.10196730
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
push ebp
push 5
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc
mov edi, 1
push edi
push ebp
call fcn.10196960
push ebp
push 0x10283b08
call fcn.1019b360
push ebp
call fcn.101bceaa
mov eax, dword [0x1020de48]
add esp, 0x14
cmp eax, edi
je 0x1019b2df
mov dword [0x1020de48], edi
mov ax, 0x47
pop edi
pop esi
pop ebp
add esp, 0x850
ret 0xc