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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, dword [ebp + 8]
or edx, 0xffffffff
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x559b8e
cmp dword [esi + 0x78], edi
jne 0x559b73
mov eax, dword [esi]
test byte [eax + 0x44], 8
jne 0x559b73
mov byte [esi + 0x17], 1
push esi
call fcn.0057ac30
mov edi, eax
add esp, 4
or edx, 0xffffffff
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x559b8e
pop edi
pop esi
mov esp, ebp
pop ebp
ret
inc dword [esi + 0x3c]
push ebx
mov ebx, dword [ebp + 0xc]
test byte [ebx + 4], 0x20
jne 0x559bab
push 0x14
push edi
call fcn.0057a230
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, eax
cmp byte [esi + 0x18f], 2
jne 0x559c02
push dword [esi + 0x1a0]
cmp byte [ebx], 0x31
mov eax, str.SCALAR
mov ecx, str.LIST
cmovne ecx, eax
test edx, edx
push ecx
mov ecx, str.CORRELATED
mov eax, 0x799e88
cmovs eax, ecx
push eax
push str.EXECUTE__s_s_SUBQUERY__d
push dword [esi]
call fcn.0056a820
push 0xfffffffffffffff9
push eax
push 0
push 0
push dword [esi + 0x19c]
push 0xa9
push edi
call fcn.0057a3c0
add esp, 0x30
mov cl, byte [ebx]
cmp cl, 0x31
je 0x559d04
mov eax, dword [ebx + 0x14]
mov dword [ebp + 8], eax
cmp cl, 0x77
jne 0x559c1e
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x559c23
mov edx, 1
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea ecx, [eax + 1]
add eax, edx
mov dword [esi + 0x2c], eax
cmp byte [ebx], 0x77
mov dword [ebp - 0x3c], ecx
jne 0x559c6b
lea eax, [ecx - 1]
mov byte [ebp - 0x40], 0xa
add eax, edx
mov dword [ebp - 0x38], ecx
push eax
push ecx
push 0
push 0x46
push edi
mov dword [ebp - 0x34], edx
call fcn.0057a360
add esp, 0x14
jmp 0x559c7d
push ecx
push 0
push 0x43
push edi
mov byte [ebp - 0x40], 3
call fcn.0057a2f0
add esp, 0x10
push 0
push 0x7b8848
push 0x86
push dword [esi]
call fcn.0055df90
mov ecx, eax
add esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x38]
test edx, edx
je 0x559cc2
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x559cb7
push ecx
push dword [esi]
call fcn.00560f70
mov eax, dword [ebp + 8]
add esp, 8
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
jmp 0x559cd9
push 0
push ecx
push 0x81
push esi
call fcn.0056b8a0
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ecx + 0x38], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push ecx
push eax
push esi
mov dword [eax + 0xc], 0
call fcn.00572720
add esp, 0xc
test eax, eax
jne 0x559df3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
jmp 0x55a032
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov cl, byte [eax]
cmp cl, 0x96
jne 0x559d14
mov cl, byte [eax + 0x26]
cmp cl, 0x97
jne 0x559d20
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
jmp 0x559d33
cmp cl, 0x77
jne 0x559d2e
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x559d33
mov ecx, 1
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x1c], eax
mov eax, ecx
inc dword [esi + 0x28]
mov dword [ebp + 8], ecx
xor ecx, ecx
cmp dword [ebp + 0x14], ecx
cmovne eax, ecx
push eax
push dword [ebx + 0x1c]
push 0x6d
push edi
call fcn.0057a2f0
add esp, 0x10
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x14], 0
je 0x559d6a
mov dword [ebp - 4], 0
jmp 0x559d7c
push 1
push dword [ebp + 8]
push dword [esi]
call fcn.00569630
add esp, 0xc
mov dword [ebp - 4], eax
test dword [ebx + 4], 0x800
mov eax, dword [ebx + 0x14]
je 0x559e5c
mov ecx, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [ecx], eax
jne 0x559fe1
mov eax, dword [ebx + 0x1c]
push ebx
push esi
mov byte [ebp - 0x40], 0xb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.0053eee0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
push ecx
push eax
push esi
mov dword [eax + 0xc], 0
call fcn.00572720
add esp, 0x14
push dword [ebp - 0x30]
push dword [esi]
test eax, eax
je 0x559dfc
call fcn.0055bd40
mov ecx, dword [ebp - 4]
push ecx
call fcn.00569790
add esp, 0xc
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0055bd40
add esp, 8
cmp dword [ebp + 8], 0
jle 0x559fe1
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
add eax, 4
xor ebx, ebx
mov dword [ebp - 8], eax
push ebx
push dword [ebp - 0x18]
call fcn.00583e80
mov ecx, dword [ebp - 8]
push dword [ecx]
push eax
push esi
call fcn.005559f0
mov ecx, dword [ebp - 0x10]
inc ebx
add dword [ebp - 8], 0x18
add esp, 0x14
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x10], ecx
cmp ebx, edi
jl 0x559e25
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
jmp 0x559fe1
mov dword [ebp - 0x14], eax
test eax, eax
je 0x559fe1
push dword [ebp - 0x18]
call fcn.0055ded0
add esp, 4
movzx ecx, al
test al, al
mov edx, 0x41
cmove ecx, edx
cmp dword [ebp - 4], 0
mov byte [ebp + 0xb], cl
je 0x559e9a
push dword [ebx + 0xc]
push esi
call fcn.00560bc0
mov ecx, dword [ebp - 4]
add esp, 8
mov dword [ecx + 0x14], eax
push esi
call fcn.005665c0
push esi
mov dword [ebp - 0x1c], eax
call fcn.005665c0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], 0
je 0x559ecc
push 0xffffffffffffffff
push 0x799e88
push 0
push eax
push 0
push 0x48
push edi
call fcn.0057a3c0
add esp, 0x1c
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x559fcc
cmp dword [ebp - 0xc], 0
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jl 0x559f11
push edx
call fcn.00561860
add esp, 4
test eax, eax
jne 0x559f0e
mov ecx, dword [ebp - 0xc]
push ecx
push edi
call fcn.0057a850
add esp, 8
mov dword [ebp - 0xc], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp dword [ebp + 0x14], 0
je 0x559f3e
lea eax, [ebp - 0x24]
push eax
push edx
call fcn.00561900
add esp, 8
test eax, eax
je 0x559f3e
push dword [ebp - 0x24]
push dword [ebp - 8]
push dword [ebx + 0x1c]
push 0x76
push edi
call fcn.0057a360
add esp, 0x14
jmp 0x559fb4
push dword [ebp - 0x1c]
push edx
push esi
call fcn.0055fd70
add esp, 0xc
mov ebx, eax
cmp dword [ebp + 0x14], 0
je 0x559f7d
mov ecx, dword [edi + 0x88]
add ecx, 2
push ecx
push ebx
push 0x11
push edi
call fcn.0057a2f0
push ebx
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
push dword [ebx + 0x1c]
push 0x75
push edi
call fcn.0057a360
add esp, 0x24
jmp 0x559fb4
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 8]
push 1
push ebx
push 0x64
push edi
call fcn.0057a3c0
push 1
push ebx
push esi
call fcn.0055e460
push 1
push ebx
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
push dword [ebx + 0x1c]
push 0x80
push edi
call fcn.0057a450
add esp, 0x40
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
dec eax
add ecx, 0x18
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
test eax, eax
jg 0x559ee2
push dword [ebp - 0x1c]
push esi
call fcn.00570e30
push dword [ebp - 8]
push esi
call fcn.00570e30
add esp, 0x10
mov edx, dword [ebp - 4]
test edx, edx
je 0x55a032
mov eax, dword [edi]
cmp byte [eax + 0x49], 0
je 0x559ffe
push edx
push 0xfffffffffffffff7
push eax
call fcn.00542390
add esp, 0xc
jmp 0x55a032
mov eax, dword [ebp - 0x28]
test eax, eax
jns 0x55a00c
mov eax, dword [edi + 0x88]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x55a02b
push 0xfffffffffffffff7
push edx
push eax
push edi
call fcn.0058cd60
add esp, 0x10
jmp 0x55a032
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x55a046
push eax
push dword [ebx + 0x1c]
push edi
call fcn.00574fd0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
test ecx, ecx
js 0x55a06e
mov eax, dword [edi]
mov edx, dword [edi + 0x88]
cmp byte [eax + 0x49], 0
je 0x55a062
mov eax, 0x89e9dc
jmp 0x55a06b
mov eax, dword [edi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
push esi
call fcn.0055e3e0
mov eax, dword [ebp - 0x20]
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret