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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], edi
test edi, edi
jne 0x53d10f0
mov ebx, esi
call fcn.053823b0
mov edi, eax
mov dword [esi + 8], eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x53d10d3
push 0x9a
call fcn.0539ef60
add esp, 4
cmp dword [esi + 0x19c], 0
jne 0x53d10e8
mov eax, dword [esi]
test byte [eax + 0x3c], 8
jne 0x53d10e8
mov byte [esi + 0x19], 1
test edi, edi
je 0x53d12f8
mov ebx, dword [ebp + 8]
inc dword [esi + 0x68]
test byte [ebx + 4], 0x20
jne 0x53d1106
mov eax, esi
call fcn.053a2a20
mov dword [ebp - 0x14], eax
cmp byte [esi + 0x1c6], 2
jne 0x53d1164
cmp byte [ebx], 0x4b
mov ecx, str.LIST
je 0x53d111e
mov ecx, str.SCALAR
cmp dword [ebp - 0x14], 0
mov eax, 0x53fe5d4
jge 0x53d112e
mov eax, str.CORRELATED
mov edx, dword [esi + 0x1d8]
push edx
push ecx
push eax
mov eax, dword [esi]
push str.EXECUTE__s_s_SUBQUERY__d
push eax
call fcn.05388b70
mov ecx, dword [esi + 0x1d4]
add esp, 0x14
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push 0x9c
mov eax, edi
call fcn.0539ee30
add esp, 0x18
cmp byte [ebx], 0x4b
je 0x53d123b
mov eax, dword [esi + 0x4c]
mov edx, dword [ebx + 0x14]
inc eax
xor ecx, ecx
mov dword [esi + 0x4c], eax
cmp byte [ebx], 0x77
push eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
push ecx
mov eax, edi
jne 0x53d119a
mov byte [ebp - 0x44], 6
push 0x1c
jmp 0x53d11a0
mov byte [ebp - 0x44], 3
push 0x19
call fcn.0539eea0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x44]
mov edx, dword [esi]
add esp, 0xc
push ecx
push edx
call fcn.05384950
mov eax, dword [esi]
push 1
push 0x84
push eax
mov eax, 0x53f9958
call fcn.05381d70
mov ebx, eax
mov eax, dword [esi]
add esp, 0x14
mov dword [ebp - 0x28], eax
test ebx, ebx
jne 0x53d11ef
push ebx
push eax
call fcn.05384950
mov ecx, dword [ebp - 0x28]
push ebx
push ecx
call fcn.05384950
add esp, 0x10
jmp 0x53d120d
call fcn.0537d420
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
cmp dword [ebx + 0x18], eax
jle 0x53d120d
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push esi
call fcn.053888e0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x44]
push ecx
push eax
push esi
mov dword [eax + 0x44], ebx
mov dword [eax + 8], 0
call fcn.053cf320
add esp, 0xc
test eax, eax
jne 0x53d12f8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], edx
jmp 0x53d157a
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x53d1257
push eax
push 0
push 0x1c
mov eax, edi
call fcn.0539eea0
add esp, 0xc
mov eax, dword [ebp - 0x24]
call fcn.05375f80
mov ecx, dword [esi + 0x48]
xor edx, edx
mov dword [ebx + 0x1c], ecx
inc dword [esi + 0x48]
cmp dword [ebp + 0x10], edx
mov byte [ebp - 1], al
mov eax, dword [ebx + 0x1c]
sete dl
push edx
push eax
push 0x37
mov eax, edi
call fcn.0539eea0
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x30], eax
je 0x53d1296
mov dword [ebp - 8], 0
jmp 0x53d12a8
mov ecx, dword [esi]
push 1
push 1
push ecx
call fcn.05381830
add esp, 0xc
mov dword [ebp - 8], eax
test dword [ebx + 4], 0x800
je 0x53d1321
mov edx, dword [ebx + 0x1c]
mov cl, byte [ebp - 1]
xor eax, eax
mov dword [ebp - 0x40], edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x43], cl
mov byte [ebp - 0x44], 7
mov dword [edx + 8], eax
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x44]
push eax
push ecx
push esi
call fcn.053cf320
add esp, 0xc
test eax, eax
je 0x53d1301
mov eax, dword [ebp - 8]
test eax, eax
je 0x53d12f8
dec dword [eax]
jne 0x53d12f8
push eax
call fcn.05378d40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov edi, dword [eax]
mov ecx, dword [ebx + 0xc]
call fcn.053ad590
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov dword [ecx + 0x14], eax
jmp 0x53d151b
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x53d151b
cmp byte [ebp - 1], 0
jne 0x53d1339
mov byte [ebp - 1], 0x62
cmp dword [ebp - 8], 0
je 0x53d1351
mov ecx, dword [ebx + 0xc]
push esi
call fcn.053aa410
mov edx, dword [ebp - 8]
add esp, 4
mov dword [edx + 0x14], eax
mov al, byte [esi + 0x13]
test al, al
jne 0x53d1363
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x1c], eax
jmp 0x53d1372
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [ebp - 0x1c], edx
mov al, byte [esi + 0x13]
test al, al
jne 0x53d1384
inc dword [esi + 0x4c]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xc], eax
jmp 0x53d1393
dec al
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x1c
mov eax, edi
call fcn.0539eea0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x53d14bf
cmp dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jl 0x53d13ec
push eax
call fcn.0537f6e0
add esp, 4
test eax, eax
jne 0x53d13ec
mov ebx, dword [ebp - 0x14]
push edi
call fcn.0538ddc0
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebp + 0x10], 0
je 0x53d1423
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.05370080
add esp, 8
test eax, eax
je 0x53d1423
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x1c]
push edx
push eax
push ecx
push 0x49
mov eax, edi
call fcn.0539c3d0
add esp, 0x10
jmp 0x53d14ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push edx
push eax
push esi
call fcn.053d3140
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov ebx, eax
je 0x53d146a
mov ecx, dword [edi + 0x20]
add ecx, 2
push ecx
push ebx
push 0x26
mov eax, edi
call fcn.0539eea0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
add esp, 0xc
push ebx
push edx
push ecx
push 0x46
mov eax, edi
call fcn.0539c3d0
add esp, 0x10
jmp 0x53d14a9
mov eax, dword [ebp - 0xc]
push 1
lea edx, [ebp - 1]
push edx
push eax
push 1
push ebx
push 0x30
mov eax, edi
call fcn.0539ee30
mov ecx, 1
mov edi, ebx
mov eax, esi
call fcn.05375db0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push 0x6b
call fcn.0539eea0
mov edi, dword [ebp - 0x10]
add esp, 0x24
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], 0x18
dec eax
mov dword [ebp - 0x24], eax
test eax, eax
jg 0x53d13bb
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x53d14ef
mov bl, byte [esi + 0x13]
cmp bl, 8
jae 0x53d14ef
xor eax, eax
lea ecx, [esi + 0x78]
cmp dword [ecx + 0xc], edx
je 0x53d155c
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x53d14d3
movzx ecx, bl
mov dword [esi + ecx*4 + 0x1c], edx
inc byte [esi + 0x13]
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x53d151b
mov bl, byte [esi + 0x13]
cmp bl, 8
jae 0x53d151b
xor eax, eax
lea ecx, [esi + 0x78]
cmp dword [ecx + 0xc], edx
je 0x53d1562
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x53d1503
movzx eax, bl
mov dword [esi + eax*4 + 0x1c], edx
inc byte [esi + 0x13]
cmp dword [ebp - 8], 0
je 0x53d157a
mov ebx, dword [edi + 4]
mov eax, dword [ebp - 0x30]
mov edx, dword [edi]
test ebx, ebx
je 0x53d1568
cmp byte [edx + 0x40], 0
jne 0x53d1568
test eax, eax
jns 0x53d153b
mov eax, dword [edi + 0x20]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [ebx + ecx*4 + 1]
lea ebx, [ebx + ecx*4]
mov ecx, dword [ebx + 0x10]
mov edi, edx
call fcn.05388110
mov edx, dword [ebp - 8]
mov dword [ebx + 0x10], edx
mov byte [ebx + 1], 0xfa
jmp 0x53d1577
mov byte [ecx + 6], 1
jmp 0x53d14ef
mov byte [ecx + 6], 1
jmp 0x53d151b
mov ecx, dword [ebp - 8]
mov eax, 0xfffffffa
mov edi, edx
call fcn.05388110
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x53d159c
mov ecx, dword [edi + 0x20]
cmp ecx, eax
jbe 0x53d1592
mov edx, dword [edi + 4]
lea eax, [eax + eax*4]
mov dword [edx + eax*4 + 8], ecx
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x18]
dec eax
mov dword [ecx + 0x5c], eax
mov eax, esi
call fcn.05375cb0
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret