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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa20
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x10199a93
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa20
ret 0x18
mov ecx, dword [0x10283b08]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.10197940
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10199abd
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xa20
ret 0x18
mov eax, dword [esp + 0xa3c]
test eax, eax
jne 0x10199ad9
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa20
ret 0x18
mov esi, dword [esp + 0xa48]
test si, si
ja 0x10199af6
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xa20
ret 0x18
cmp si, 0x38
jbe 0x10199b0d
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xa20
ret 0x18
mov ax, word [ebx + 0x44]
test ax, ax
je 0x10199fcf
cmp ax, 0xffff
je 0x10199fcf
mov ebp, dword [esp + 0xa38]
cmp bp, word [ebx + 0x1a4]
ja 0x10199fbe
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x3f0]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x580]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x260]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
lea edi, [esp + 0xc4]
mov dword [esp + 0x28], ecx
mov ecx, 0x1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x38], eax
mov ecx, 0x1c
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], edx
mov ecx, 0x1c
lea edi, [esp + 0x1ac]
mov dword [esp + 0x4c], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
mov ecx, 0x1c
lea edi, [esp + 0x50]
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
movsx ecx, word [ebx + 0x5a]
lea eax, [esp + 0x2c]
mov dx, word [ebx + ecx*2 + 0x46]
push edx
push 0x1020dd80
push eax
call fcn.101bc928
xor ecx, ecx
lea edx, [esp + 0x2c]
mov cx, word [ebx + 0x44]
push ecx
push 0x1020dd80
push edx
call fcn.101bc928
and ebp, 0xffff
lea eax, [esp + 0x2c]
push ebp
push 0x1020dd80
push eax
call fcn.101bc928
mov ebp, esi
mov esi, dword [esp + 0xa60]
and ebp, 0xffff
lea edi, [esp + 0xe8]
mov ecx, ebp
lea eax, [esp + 0x74]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xf0]
push ecx
call fcn.10193020
push ebp
lea edx, [esp + 0x6c]
push 0x1020dd80
push edx
call fcn.101bc928
mov ecx, dword [esp + 0xa70]
add esp, 0x3c
lea eax, [esp + 0x220]
push 0x40
push eax
push ecx
call fcn.101960c0
test ax, ax
jne 0x10199fd3
lea edx, [esp + 0x38]
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push 5
push 0x1020dd78
call fcn.1019fa00
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x10199cd0
push ebx
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x580]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
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 + 0x48]
lea edx, [esp + 0x584]
push ecx
push edx
push str.query
push 3
push 0x1020dc74
call fcn.1019fa00
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x10199d41
push ebx
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x260]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
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 + 0x264]
push ecx
call fcn.1019fae0
mov edx, eax
add esp, 8
test edx, edx
jne 0x10199da1
push ebx
push 0x4a
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x260]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
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 + 0x3f4]
lea edx, [esp + 0x264]
push ecx
push ebx
push edx
call fcn.1019d090
add esp, 0x10
test ax, ax
je 0x10199e08
push ebx
push eax
call fcn.10196660
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
lea eax, [esp + 0x3f0]
push eax
call fcn.1019f7d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10199e36
push ebx
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
lea ecx, [esp + 0x3f0]
lea edx, [esp + 0x8a0]
push ecx
lea eax, [esp + 0x714]
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 0x10199e83
push ebx
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
mov byte [esp + 0x89f], 0
mov byte [esp + 0xa2f], 0
mov edi, str.error
lea esi, [esp + 0x710]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x10199ec7
test al, al
je 0x10199ec3
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x10199ec7
add esi, 2
add edi, 2
test al, al
jne 0x10199e9f
xor eax, eax
jmp 0x10199ecc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10199ef4
lea eax, [esp + 0x8a0]
push eax
call fcn.101bfa53
push ebx
push eax
call fcn.10196730
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1ac]
lea eax, [esp + 0x3f0]
push ecx
push edx
push eax
push 2
push 0x1020dd78
call fcn.1019f630
add esp, 0x14
test ax, ax
je 0x10199f42
push ebx
push 0x42
call fcn.10196730
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
lea ecx, [esp + 0x138]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.101930b0
mov edi, dword [esp + 0xa48]
add esp, 8
test edi, edi
je 0x10199f79
mov ecx, ebp
lea esi, [esp + 0x138]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa44]
test esi, esi
je 0x10199f96
lea ecx, [esp + 0x1ac]
push ecx
call fcn.101bfa3d
add esp, 4
mov dword [esi], eax
lea esi, [ebx + 0x68]
push esi
call fcn.101cdda5
mov edi, dword [esi]
push ebx
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.10196730
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18
pop edi
pop esi
pop ebp
mov ax, 5
pop ebx
add esp, 0xa20
ret 0x18
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa20
ret 0x18