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

Disassembly:
sub esp, 0xb0c
push ebx
push ebp
push esi
push edi
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xb20]
mov dword [esp + 0x18], 0
test eax, eax
jne 0x410b43
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xb0c
ret 0x18
mov ecx, dword [0x4918ec]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.0040f3f0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x410b6d
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xb0c
ret 0x18
mov eax, dword [esp + 0xb28]
test eax, eax
jne 0x410b89
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xb0c
ret 0x18
mov ebx, dword [esp + 0xb34]
test bx, bx
ja 0x410ba6
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xb0c
ret 0x18
cmp bx, 0x38
jbe 0x410bbd
pop edi
pop esi
pop ebp
mov ax, 0x14
pop ebx
add esp, 0xb0c
ret 0x18
mov ax, word [ebp + 0x44]
test ax, ax
je 0x411316
cmp ax, 0xffff
je 0x411316
mov cx, word [ebp + 0x1a4]
mov esi, dword [esp + 0xb24]
cmp si, cx
jae 0x411305
mov eax, dword [ebp + 0x1c8]
test eax, eax
je 0x410d92
mov eax, dword [ebp + 0x1b4]
cmp eax, 5
je 0x410c0d
cmp eax, 7
jne 0x410d92
test byte [ebp + 0x1b8], 4
je 0x410d92
lea edx, [esp + 0x1c]
lea edi, [ebp + 0x1cc]
push edx
lea edx, [esp + 0x270]
push 0x50
push edx
lea edx, [esp + 0x2c]
push edi
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xb40]
push ebx
push edx
push esi
push ecx
push eax
call fcn.00415bf0
mov ebx, eax
test bx, bx
jne 0x410d7b
lea eax, [esp + 0x60]
lea ecx, [esp + 0x2bc]
push eax
mov eax, dword [esp + 0x20]
push 0x50
push ecx
mov ecx, dword [esp + 0xb2c]
lea edx, [esp + 0x278]
push 0x50
push edx
push eax
push ecx
call fcn.004114a0
mov ebx, eax
test bx, bx
jne 0x410cce
mov edx, dword [esp + 0xb30]
mov eax, dword [esp + 0xb34]
mov ecx, dword [esp + 0xb2c]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xb34]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [ebp + 0x1b4]
lea edx, [esp + 0x2d4]
push edi
push edx
push eax
push ecx
call fcn.004161a0
mov ebx, eax
cmp bx, 0x6d
je 0x410cde
cmp bx, 2
jne 0x410d7b
mov edx, dword [esp + 0xb34]
mov esi, dword [esp + 0xb28]
and edx, 0xffff
lea edi, [esp + 0x64]
mov ecx, edx
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 ecx, dword [esp + 0x14]
sub ecx, edx
test ecx, ecx
jle 0x410d27
mov esi, ecx
lea edi, [esp + edx + 0x64]
mov eax, 0xa5a5a5a5
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0xb2c]
test edi, edi
je 0x410d47
mov esi, dword [esp + 0xb28]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xb30]
test ecx, ecx
je 0x410d73
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax + 0x60]
mov dword [esp + 0x10], eax
mov dx, word [esp + 0x12]
mov word [esp + 0x18], dx
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
cmp bx, 2
jne 0x410d7b
xor ebx, ebx
push ebp
push ebx
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x54], ecx
lea edi, [esp + 0x30c]
mov dword [esp + 0x58], ecx
xor edx, edx
mov dword [esp + 0x5c], ecx
mov ecx, 0x64
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x66c]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x4dc]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x1f8]
mov dword [esp + 0x38], ecx
mov ecx, 0x1c
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x184]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x4c], edx
mov ecx, 0x1c
lea edi, [esp + 0x110]
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], edx
mov ecx, 0x1c
lea edi, [esp + 0x9c]
mov dword [esp + 0x2c], edx
rep stosd dword es:[edi], eax
movsx eax, word [ebp + 0x5a]
xor ecx, ecx
lea edx, [esp + 0x48]
mov cx, word [ebp + eax*2 + 0x46]
push ecx
push 0x45203c
push edx
call fcn.004362ea
xor eax, eax
lea ecx, [esp + 0x48]
mov ax, word [ebp + 0x44]
push eax
push 0x45203c
push ecx
call fcn.004362ea
and esi, 0xffff
lea edx, [esp + 0x48]
push esi
push 0x45203c
push edx
call fcn.004362ea
mov esi, dword [esp + 0xb4c]
and ebx, 0xffff
mov ecx, ebx
lea edi, [esp + 0x21c]
mov eax, ecx
lea edx, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc0]
push ecx
push ebx
push edx
call fcn.00409b50
push ebx
lea eax, [esp + 0x58]
push 0x45203c
push eax
call fcn.004362ea
mov edx, dword [esp + 0xb5c]
add esp, 0x3c
lea ecx, [esp + 0x49c]
push 0x40
push ecx
push edx
call fcn.0040ccc0
test ax, ax
jne 0x41131a
lea eax, [esp + 0x24]
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push 5
push 0x452034
call fcn.0041a9f0
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x410f35
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x66c]
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.00434c6c
lea ecx, [esp + 0x58]
lea edx, [esp + 0x670]
push ecx
push edx
push str.query
push 3
push 0x451f24
call fcn.0041a9f0
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x410fa6
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x4dc]
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.00434c6c
lea ecx, [esp + 0x4e0]
push ecx
call fcn.0041aad0
mov edx, eax
add esp, 8
test edx, edx
jne 0x411006
push ebp
push 0x4a
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x4dc]
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.00434c6c
lea ecx, [esp + 0x310]
lea edx, [esp + 0x4e0]
push ecx
push ebp
push edx
call fcn.00418080
add esp, 0x10
test ax, ax
je 0x41106d
push ebp
push eax
call fcn.0040d260
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
lea eax, [esp + 0x30c]
push eax
call fcn.0041a7c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41109b
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
lea ecx, [esp + 0x30c]
lea edx, [esp + 0x98c]
push ecx
lea eax, [esp + 0x800]
push edx
push eax
push esi
push 3
push 0x451f24
call fcn.0041a620
push esi
mov edi, eax
call fcn.00434c6c
add esp, 0x1c
test di, di
je 0x4110e8
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov byte [esp + 0x98b], 0
mov byte [esp + 0xb1b], 0
mov edi, str.error
lea esi, [esp + 0x7fc]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41112c
test al, al
je 0x411128
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41112c
add esi, 2
add edi, 2
test al, al
jne 0x411104
xor eax, eax
jmp 0x411131
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x411232
lea eax, [esp + 0x98c]
push eax
call fcn.004366a5
mov esi, eax
add esp, 4
cmp si, 0x6d
mov dword [esp + 0x10], esi
jne 0x41121b
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x9c]
lea edx, [esp + 0x9c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x110]
lea eax, [esp + 0x30c]
push ecx
push edx
push eax
push 2
push 0x452034
call fcn.0041a620
add esp, 0x14
test ax, ax
je 0x4111ad
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
lea ecx, [esp + 0x184]
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.00409be0
mov edi, dword [esp + 0xb34]
add esp, 8
test edi, edi
je 0x4111eb
mov ecx, ebx
lea esi, [esp + 0x184]
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 + 0x10]
mov edi, dword [esp + 0xb30]
test edi, edi
je 0x411208
lea ecx, [esp + 0x110]
push ecx
call fcn.00436694
add esp, 4
mov dword [edi], eax
lea edi, [ebp + 0x68]
push edi
call fcn.0043c802
mov eax, dword [edi]
add esp, 4
add eax, 0x78
mov dword [edi], eax
push ebp
push esi
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov ecx, 0x1c
xor eax, eax
lea edi, [esp + 0x9c]
lea edx, [esp + 0x110]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x9c]
push edx
lea ecx, [esp + 0x310]
push eax
push ecx
push 2
push 0x452034
call fcn.0041a620
add esp, 0x14
test ax, ax
je 0x411286
push ebp
push 0x42
call fcn.0040d340
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
lea edx, [esp + 0x184]
lea eax, [esp + 0x9c]
push edx
push eax
call fcn.00409be0
mov edi, dword [esp + 0xb34]
add esp, 8
test edi, edi
je 0x4112c0
mov ecx, ebx
lea esi, [esp + 0x184]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xb30]
test esi, esi
je 0x4112dd
lea eax, [esp + 0x110]
push eax
call fcn.00436694
add esp, 4
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call fcn.0043c802
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.0040d340
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
pop edi
pop esi
pop ebp
mov ax, 5
pop ebx
add esp, 0xb0c
ret 0x18
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18