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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5932e0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], 0
mov esi, edx
or edx, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edx
mov ebx, dword [edi + 8]
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x490310
cmp dword [edi + 0x78], ebx
jne 0x4902fa
mov eax, dword [edi]
test byte [eax + 0x44], 8
jne 0x4902fa
mov byte [edi + 0x17], 1
call fcn.00478320
mov ebx, eax
or edx, 0xffffffff
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x49058f
inc dword [edi + 0x3c]
test byte [esi + 4], 0x20
jne 0x49032b
mov edx, 0x14
mov ecx, ebx
call fcn.004785a0
mov edx, eax
mov dword [esp + 0x1c], eax
cmp byte [edi + 0x18f], 2
jne 0x490386
push dword [edi + 0x1a0]
cmp byte [esi], 0x31
mov eax, str.SCALAR
mov ecx, str.LIST
cmovne ecx, eax
test edx, edx
push ecx
mov ecx, str.CORRELATED
mov eax, 0x59f680
cmovs eax, ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
push dword [edi]
call fcn.0045b650
add esp, 0x14
mov edx, 0xaa
mov ecx, ebx
push 0xfffffffffffffff9
push eax
push 0
push 0
push dword [edi + 0x19c]
call fcn.00478930
add esp, 0x14
mov al, byte [esi]
cmp al, 0x31
je 0x49048d
mov esi, dword [esi + 0x14]
cmp al, 0x77
jne 0x49039d
mov eax, dword [esi]
mov edx, dword [eax]
jmp 0x4903a2
mov edx, 1
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [eax + 1]
add eax, edx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
cmp byte [eax], 0x77
jne 0x4903f9
lea eax, [ecx - 1]
mov dword [esp + 0x38], ecx
add eax, edx
mov dword [esp + 0x3c], edx
push eax
push ecx
push 0
mov edx, 0x46
mov byte [esp + 0x3c], 0xa
mov ecx, ebx
call fcn.00478530
add esp, 0xc
jmp 0x490410
push ecx
push 0
mov edx, 0x43
mov byte [esp + 0x38], 3
mov ecx, ebx
call fcn.00478680
add esp, 8
mov ecx, dword [edi]
mov edx, 0x86
push 0
push 0x575a1c
call fcn.0048d9b0
mov ecx, dword [esi + 0x38]
add esp, 8
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x49044b
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x490446
mov ecx, dword [edi]
call fcn.0048e120
mov ecx, dword [esi + 0x38]
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
jmp 0x490460
push 0
push eax
mov edx, 0x81
mov ecx, edi
call fcn.0048dc10
add esp, 8
mov dword [esi + 0x38], eax
lea eax, [esp + 0x30]
mov dword [esi + 0xc], 0
push eax
mov edx, esi
mov ecx, edi
call fcn.004b71f0
add esp, 4
test eax, eax
jne 0x49058f
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jmp 0x4908a4
mov esi, dword [esi + 0xc]
mov al, byte [esi]
cmp al, 0x98
jne 0x490499
mov al, byte [esi + 0x26]
cmp al, 0x99
jne 0x4904a4
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
jmp 0x4904b6
cmp al, 0x77
jne 0x4904b1
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4904b6
mov ecx, 1
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x28]
mov dword [esp + 0xc], ecx
mov dword [edx + 0x1c], eax
mov eax, ecx
inc dword [edi + 0x28]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
cmovne eax, ecx
push eax
push dword [edx + 0x1c]
lea edx, [ecx + 0x6e]
mov ecx, ebx
call fcn.00478680
add esp, 8
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0xc], 0
je 0x4904f6
mov dword [esp + 0x18], 0
jmp 0x49050a
mov edx, dword [esp + 0xc]
mov ecx, dword [edi]
push 1
call fcn.004b1560
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
test dword [ecx + 4], 0x800
mov eax, dword [ecx + 0x14]
je 0x490672
mov edx, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], edx
cmp dword [edx], eax
jne 0x49084d
mov eax, dword [ecx + 0x1c]
mov edx, ecx
mov ecx, edi
mov byte [esp + 0x30], 0xb
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00490140
mov edx, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
mov dword [edx + 0xc], 0
call fcn.004b71f0
mov ecx, dword [edi]
add esp, 4
mov edx, dword [esp + 0x40]
test eax, eax
je 0x4905a3
call fcn.004592d0
mov ecx, dword [esp + 0x18]
call fcn.004b1610
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
call fcn.004592d0
cmp dword [esp + 0xc], 0
jle 0x49084d
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0x14
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
add eax, 4
mov dword [esp + 0x50], eax
nop
mov al, byte [esi]
mov byte [esp + 0x4f], al
cmp al, 0x98
jne 0x4905dd
mov al, byte [esi + 0x26]
cmp al, 0x99
jne 0x4905ea
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
mov ebx, eax
jmp 0x4905f5
cmp al, 0x77
jne 0x490613
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
mov ebx, dword [eax]
cmp ebx, 1
jle 0x490613
cmp byte [esp + 0x4f], 0x77
je 0x49060d
cmp byte [esi + 0x26], 0x77
je 0x49060d
mov edx, dword [edx + ecx + 4]
jmp 0x490615
mov edx, dword [eax + ecx + 4]
jmp 0x490615
mov edx, esi
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + ecx]
jne 0x49063f
test ebx, ebx
je 0x490632
test dword [ebx + 4], 0x100
jne 0x49063d
mov ecx, edi
call fcn.0048d030
test eax, eax
jne 0x490646
mov edx, ebx
mov ecx, edi
call fcn.0048d030
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add ecx, 0x18
mov dword [esp + 0x14], ecx
mov dword [edx], eax
add edx, 4
sub dword [esp + 0xc], 1
mov dword [esp + 0x20], edx
jne 0x4905d0
mov ebx, dword [esp + 0x24]
jmp 0x49084d
mov dword [esp + 0x50], eax
test eax, eax
je 0x49084d
mov ecx, esi
call fcn.0048ceb0
mov esi, dword [esp + 0x18]
test al, al
movzx ecx, al
mov edx, 0x41
cmove ecx, edx
mov byte [esp + 0x4f], cl
test esi, esi
je 0x4906af
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [eax + 0xc]
call fcn.0048d030
mov dword [esi + 0x14], eax
mov ecx, edi
call fcn.004949d0
mov dword [esp + 0x20], eax
call fcn.004949d0
cmp dword [ebp + 0xc], 0
mov dword [esp + 0xc], eax
je 0x4906e4
push 0xffffffffffffffff
push 0x59f67f
push 0
push eax
push 0
mov edx, 0x48
mov ecx, ebx
call fcn.00478930
add esp, 0x14
mov eax, dword [esp + 0x50]
lea ecx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x490837
nop dword [eax]
cmp dword [esp + 0x1c], 0
mov esi, dword [ecx]
jl 0x49074f
mov byte [esp + 0x44], 1
mov dword [esp + 0x34], fcn.0048f260
mov dword [esp + 0x38], 0x48f200
mov dword [esp + 0x48], 0
test esi, esi
je 0x49074f
mov edx, esi
lea ecx, [esp + 0x30]
call fcn.0048ab90
cmp byte [esp + 0x44], 0
jne 0x49074f
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00479150
mov dword [esp + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x490787
lea edx, [esp + 0x50]
mov ecx, esi
call fcn.0048f420
test eax, eax
je 0x490787
push dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov edx, 0x77
push dword [esp + 0x10]
mov ecx, ebx
push dword [eax + 0x1c]
call fcn.00478530
add esp, 0xc
jmp 0x49081b
push dword [esp + 0x20]
mov edx, esi
mov ecx, edi
call fcn.00492210
add esp, 4
mov esi, eax
cmp dword [ebp + 0xc], 0
je 0x4907d3
mov ecx, dword [ebx + 0x88]
mov edx, 0x11
add ecx, 2
push ecx
push esi
mov ecx, ebx
call fcn.00478680
mov eax, dword [esp + 0x18]
mov edx, 0x76
push esi
push dword [esp + 0x18]
mov ecx, ebx
push dword [eax + 0x1c]
call fcn.00478530
add esp, 0x14
jmp 0x49081b
push 1
lea eax, [esp + 0x53]
mov edx, 0x65
push eax
push dword [esp + 0x14]
mov ecx, ebx
push 1
push esi
call fcn.00478930
add esp, 0x14
mov edx, esi
mov ecx, edi
push 1
call fcn.00491cb0
mov eax, dword [esp + 0x14]
add esp, 4
mov edx, 0x81
mov ecx, ebx
push 1
push esi
push dword [esp + 0x14]
push dword [eax + 0x1c]
call fcn.00478a30
add esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
dec eax
add ecx, 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
test eax, eax
jg 0x490700
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.004949f0
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.004949f0
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4908a4
mov ecx, dword [ebx]
cmp byte [ecx + 0x49], 0
je 0x49086d
push edx
mov edx, 0xfffffff7
call fcn.00479010
add esp, 4
jmp 0x4908a4
mov eax, dword [esp + 0x2c]
test eax, eax
jns 0x49087c
mov eax, dword [ebx + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x49089d
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, ebx
call fcn.004791a0
add esp, 8
jmp 0x4908a4
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebp + 8]
test eax, eax
je 0x4908bd
push eax
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [eax + 0x1c]
call fcn.0048f670
add esp, 4
mov edx, dword [esp + 0x1c]
test edx, edx
js 0x490905
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x88]
cmp byte [eax + 0x49], 0
je 0x4908f8
mov eax, 0x59f36c
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.00491d50
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
lea esi, [edx + edx*4]
mov edx, dword [ebx + 0x58]
mov dword [edx + esi*4 + 8], ecx
lea eax, [edx + esi*4]
mov ecx, edi
call fcn.00491d50
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret