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

Disassembly:
mov ecx, 0xd
add esp, 0xfffff4f4
push ebx
push ebp
xor eax, eax
push esi
push edi
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]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x481bd3
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
mov eax, dword [eax + 0x54]
mov ecx, dword [0x50000c]
push ecx
push eax
call fcn.004815c0
sub esp, 0xfffffff8
mov ebp, eax
test ebp, ebp
jne 0x481bfd
pop edi
pop esi
mov ax, 2
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov eax, dword [esp + 0xb28]
or eax, eax
jne 0x481c19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
mov ax, 0x10
ret 0x18
mov ebx, dword [esp + 0xb34]
test bx, bx
ja 0x481c36
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
cmp bx, 0x38
jbe 0x481c4d
mov ax, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov ax, word [ebp + 0x44]
or ax, ax
je 0x4823a6
cmp ax, 0xffff
je 0x4823a6
mov esi, dword [esp + 0xb24]
mov cx, word [ebp + 0x1a4]
cmp si, cx
jae 0x482395
mov edx, dword [ebp + 0x1c8]
or edx, edx
je 0x481e22
mov eax, dword [ebp + 0x1b4]
cmp eax, 5
je 0x481c9d
cmp eax, 7
jne 0x481e22
test byte [ebp + 0x1b8], 4
je 0x481e22
lea edi, [ebp + 0x1cc]
lea edx, [esp + 0x1c]
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.004861a0
mov ebx, eax
or bx, bx
jne 0x481e0b
lea ebx, [esp + 0x2bc]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x20]
push 0x50
push ebx
lea edx, [esp + 0x278]
mov ecx, dword [esp + 0xb2c]
push 0x50
push edx
push eax
push ecx
call fcn.004824e0
mov ebx, eax
test bx, bx
jne 0x481d5e
mov eax, dword [esp + 0xb34]
mov ebx, dword [esp + 0xb2c]
mov ecx, dword [esp + 0xb30]
push ecx
mov esi, dword [esp + 0x24]
push eax
mov ecx, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0xb34]
push esi
push ecx
mov eax, dword [esp + 0x30]
push ebx
lea edx, [esp + 0x2d4]
mov ecx, dword [ebp + 0x1b4]
push edi
push edx
push eax
push ecx
call fcn.004865e0
mov ebx, eax
cmp bx, 0x6d
je 0x481d6e
cmp bx, 2
jne 0x481e0b
lea edi, [esp + 0x64]
mov edx, dword [esp + 0xb34]
mov esi, dword [esp + 0xb28]
and edx, 0xffff
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 0x481db7
lea edi, [esp + edx + 0x64]
mov eax, 0xa5a5a5a5
mov esi, ecx
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 0x481dd7
mov ecx, edx
shr ecx, 2
mov esi, dword [esp + 0xb28]
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 0x481e03
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 0x481e0b
xor ebx, ebx
push ebp
push ebx
call fcn.0047ecf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
xor edx, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
xor eax, eax
lea edi, [esp + 0x30c]
mov dword [esp + 0x5c], edx
mov ecx, 0x64
xor edx, edx
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
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x1f8]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov ecx, 0x1c
rep stosd dword es:[edi], eax
mov dword [esp + 0x48], edx
lea edi, [esp + 0x184]
mov dword [esp + 0x44], eax
mov ecx, 0x1c
rep stosd dword es:[edi], eax
mov ecx, 0x1c
lea edi, [esp + 0x110]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], edx
lea edi, [esp + 0x9c]
mov dword [esp + 0x2c], edx
mov ecx, 0x1c
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
movsx eax, word [ebp + 0x5a]
xor ecx, ecx
mov cx, word [ebp + eax*2 + 0x46]
push ecx
push 0x4eb20c
push edx
call fcn.004a778b
lea ecx, [esp + 0x48]
xor eax, eax
mov ax, word [ebp + 0x44]
push eax
push 0x4eb20c
push ecx
call fcn.004a778b
lea edx, [esp + 0x48]
and esi, 0xffff
push esi
push 0x4eb20c
push edx
call fcn.004a778b
mov esi, dword [esp + 0xb4c]
lea edi, [esp + 0x21c]
lea edx, [esp + 0x21c]
and ebx, 0xffff
mov ecx, ebx
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]
lea ecx, [esp + 0xc0]
push ecx
push ebx
push edx
call fcn.0047b590
push ebx
lea eax, [esp + 0x58]
push 0x4eb20c
push eax
call fcn.004a778b
mov edx, dword [esp + 0xb5c]
add esp, 0x3c
lea ecx, [esp + 0x49c]
push 0x40
push ecx
push edx
call fcn.0047e670
or ax, ax
jne 0x4823aa
lea eax, [esp + 0x24]
lea edi, [esp + 0x9c]
push eax
lea edx, [esp + 0x34]
push edi
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push 5
push 0x4eb204
call fcn.0048ad40
mov edx, eax
sub esp, 0xffffffe4
or edx, edx
jne 0x481fc5
push ebp
push 0x4a
call fcn.0047ecf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
or ecx, 0xffffffff
lea esi, [esp + 0x66c]
mov dword [esp + 0x10], esi
xor eax, eax
mov edi, edx
not ecx
repne scasb al, byte es:[edi]
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
push edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004a7a46
lea ecx, [esp + 0x58]
lea edx, [esp + 0x670]
push ecx
push edx
push str.query
push 3
push 0x4eb0f4
call fcn.0048ad40
add esp, 0x18
mov edx, eax
test edx, edx
jne 0x482036
push ebp
push 0x4a
call fcn.0047ecf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov edi, edx
or ecx, 0xffffffff
not ecx
lea eax, [esp + 0x4dc]
mov dword [esp + 0x10], eax
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, ecx
sub edi, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004a7a46
lea ecx, [esp + 0x4e0]
push ecx
call fcn.0048ae20
sub esp, 0xfffffff8
mov edx, eax
or edx, edx
jne 0x482096
push ebp
push 0x4a
call fcn.0047ecf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
mov edi, edx
lea esi, [esp + 0x4dc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov dword [esp + 0x10], esi
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push 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]
call fcn.004a7a46
lea ecx, [esp + 0x310]
lea edx, [esp + 0x4e0]
push ecx
push ebp
push edx
call fcn.004884c0
add esp, 0x10
or ax, ax
je 0x4820fd
push ebp
push eax
call fcn.0047ec10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
lea eax, [esp + 0x30c]
push eax
call fcn.0048ab10
mov edi, eax
add esp, 4
test edi, edi
jne 0x48212b
push ebp
push 0x42
call fcn.0047ecf0
sub esp, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
lea edx, [esp + 0x98c]
lea ecx, [esp + 0x30c]
push ecx
lea eax, [esp + 0x800]
push edx
push eax
push edi
push 3
push 0x4eb0f4
call fcn.0048a970
mov esi, eax
push edi
call fcn.004a7a46
sub esp, 0xffffffe4
or si, si
je 0x482178
push ebp
push 0x42
call fcn.0047ecf0
sub esp, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov esi, str.error
lea edi, [esp + 0x7fc]
mov byte [esp + 0x98b], 0
mov byte [esp + 0xb1b], 0
mov cl, byte [edi]
mov al, cl
mov dl, byte [esi]
cmp cl, dl
jne 0x4821bc
or al, al
je 0x4821b8
mov dl, byte [edi + 1]
mov al, dl
mov cl, byte [esi + 1]
cmp dl, cl
jne 0x4821bc
sub edi, 0xfffffffe
add esi, 2
or al, al
jne 0x482194
xor eax, eax
jmp 0x4821c1
sbb eax, eax
sbb eax, 0xffffffff
or eax, eax
jne 0x4822c2
lea eax, [esp + 0x98c]
push eax
call fcn.004b0ee6
mov esi, eax
sub esp, 0xfffffffc
cmp si, 0x6d
mov dword [esp + 0x10], esi
jne 0x4822ab
lea edx, [esp + 0x9c]
mov ecx, 0x1c
lea edi, [esp + 0x9c]
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x110]
lea eax, [esp + 0x30c]
push ecx
push edx
push eax
push 2
push 0x4eb204
call fcn.0048a970
add esp, 0x14
test ax, ax
je 0x48223d
push ebp
push 0x42
call fcn.0047ecf0
sub esp, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
lea ecx, [esp + 0x184]
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.0047b620
mov edi, dword [esp + 0xb34]
sub esp, 0xfffffff8
or edi, edi
je 0x48227b
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]
or edi, edi
je 0x482298
lea ecx, [esp + 0x110]
push ecx
call fcn.004b0ed0
mov dword [edi], eax
add esp, 4
lea edi, [ebp + 0x68]
push edi
call fcn.004beed4
mov eax, dword [edi]
sub esp, 0xfffffffc
add eax, 0x78
mov dword [edi], eax
push ebp
push esi
call fcn.0047ecf0
sub esp, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
mov ecx, 0x1c
lea edi, [esp + 0x9c]
xor eax, eax
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 0x4eb204
call fcn.0048a970
add esp, 0x14
or ax, ax
je 0x482316
push ebp
push 0x42
call fcn.0047ecf0
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.0047b620
mov edi, dword [esp + 0xb34]
sub esp, 0xfffffff8
test edi, edi
je 0x482350
lea esi, [esp + 0x184]
mov ecx, ebx
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]
or esi, esi
je 0x48236d
lea eax, [esp + 0x110]
push eax
call fcn.004b0ed0
sub esp, 0xfffffffc
mov dword [esi], eax
lea esi, [ebp + 0x68]
push esi
call fcn.004beed4
mov edi, dword [esi]
push ebp
sub edi, 0xffffff88
push 0
mov dword [esi], edi
call fcn.0047ecf0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18
mov ax, 5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0c
ret 0x18
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
sub esp, 0xfffff4f4
ret 0x18