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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0xc], 0
lea eax, [esi + 2]
lea eax, [eax + eax*2]
mov ecx, dword [edi]
shl eax, 2
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
test eax, eax
je 0x52feb6
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jmp 0x52febe
mov dword [esp + 0x34], 0
mov eax, dword [ebx]
push 0x60
mov eax, dword [eax + 0x30]
mov dword [esp + 0x3c], eax
xor eax, eax
push eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x50]
push eax
call fcn.00570cd0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x52ff51
lea eax, [esi + 3]
lea eax, [eax + eax*2]
lea edx, [edx + eax*4]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], edx
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
lea ecx, [ecx - 3]
push dword [eax + ecx*4]
lea edi, [eax + ecx*4]
mov ecx, ebx
lea edx, [esp + 0x4c]
mov dword [esp + 0x18], edi
call fcn.0052f780
mov eax, dword [edi + 8]
add esp, 4
mov ecx, dword [esp + 0x10]
inc eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa0], 0
jmp 0x5300c1
mov ecx, ebx
call fcn.0052ed30
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x14]
dec ecx
cmp esi, ecx
lea esi, [ebx + 0x24]
jne 0x52ffe3
mov edx, edi
mov ecx, esi
call fcn.0052a070
cmp dword [esi], 0
jne 0x52ffdb
mov eax, dword [edi]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
call fcn.004e4f50
test eax, eax
jne 0x52ffd5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0
lea eax, [eax + eax*2]
lea eax, [eax*4 + 0x34]
push eax
call fcn.0043b4b0
add esp, 8
test eax, eax
je 0x52ffd5
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
mov dword [edi], eax
lea ecx, [ecx + ecx*2]
movq qword [eax + ecx*4 + 0x18], xmm0
mov dword [eax + ecx*4 + 0x20], 0
mov ecx, eax
inc dword [eax + 0x14]
mov dword [esp + 0x10], ecx
jmp 0x52ffe5
mov dword [esi], 7
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
jmp 0x52ffe5
mov ecx, eax
cmp dword [esi], 0
jne 0x530726
mov eax, dword [ebp + 8]
lea eax, [eax + eax*2]
lea eax, [eax + 9]
lea edi, [ecx + eax*4]
mov eax, dword [edi + 4]
inc eax
lea eax, [eax + eax*2]
shl eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], eax
call fcn.004e4f50
test eax, eax
jne 0x530048
mov ecx, dword [esp + 0x1c]
push eax
push dword [esp + 0x18]
call fcn.0043b4b0
add esp, 8
test eax, eax
je 0x530048
mov ecx, dword [edi + 4]
xorps xmm0, xmm0
lea ecx, [ecx + ecx*2]
movq qword [eax + ecx*4], xmm0
mov dword [eax + ecx*4 + 8], 0
mov dword [edi + 8], eax
jmp 0x53004e
mov dword [esi], 7
cmp dword [esi], 0
jne 0x530726
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
add eax, ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], eax
push edi
lea eax, [esi + 3]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.0052f780
mov eax, dword [esp + 0x2c]
add esp, 4
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x28]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], 1
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
inc dword [ecx + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 1
jne 0x5300db
lea eax, [esi + 2]
mov dword [esp + 0x1c], 1
cmp dword [ecx + 0x14], eax
je 0x5300e3
mov dword [esp + 0x1c], 0
lea eax, [esp + 0xc]
push eax
push edx
push esi
push 0
push 0
push 0
mov edx, ecx
mov ecx, ebx
push 0x20
call fcn.0052e9e0
mov esi, dword [esp + 0x28]
add esp, 0x1c
mov edx, esi
mov ecx, ebx
call fcn.0052ed10
test eax, eax
jne 0x5303f6
mov eax, dword [esi + 0x48]
lea edi, [esi + 0x50]
movzx eax, word [eax + 4]
lea eax, [eax + eax*2]
shl eax, 5
add edi, eax
mov dword [esp + 0x24], edi
mov edi, dword [eax + esi + 0x98]
mov ecx, dword [eax + esi + 0x94]
mov dword [esp + 0x2c], ecx
cmp edi, dword [esp + 0x40]
jne 0x530288
test edi, edi
jle 0x5301af
mov edx, dword [esp + 0x3c]
mov esi, edi
sub esi, 4
jb 0x530165
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x53016a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x530154
cmp esi, 0xfffffffc
je 0x5301a7
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x530288
cmp esi, 0xfffffffd
je 0x5301a7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x530288
cmp esi, 0xfffffffe
je 0x5301a7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x530288
cmp esi, 0xffffffff
je 0x5301a7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x530288
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x58], 0
jne 0x5301d2
cmp dword [esp + 0x1c], 0
jne 0x5303d3
cmp byte [eax + 0x5c], 0
je 0x5303d3
cmp dword [ebx + 0x24], 0
jne 0x5301f4
test edx, edx
jne 0x5301f4
push ecx
push edi
lea edx, [esp + 0x50]
mov ecx, ebx
call fcn.0052f430
add esp, 8
mov dword [esp + 0x30], 1
mov eax, dword [esi + 0x48]
mov edi, dword [esp + 0xc]
movzx eax, word [eax + 4]
lea eax, [eax + eax*2]
shl eax, 5
cmp dword [ebx + 0x24], 0
mov esi, dword [eax + esi + 0xa0]
mov edi, dword [eax + edi + 0xa4]
jne 0x53031b
mov eax, dword [ebx]
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x64]
cmp ecx, dword [eax + 0x4c]
jl 0x530237
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.0052f2e0
mov al, byte [esp + 0x81]
test al, al
je 0x53026c
movzx edx, word [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, edx
shr eax, 8
push edi
push esi
mov byte [ecx + 1], dl
lea edx, [esp + 0x50]
mov byte [ecx], al
mov ecx, ebx
call fcn.0052f0e0
mov al, byte [esp + 0x89]
add esp, 8
cmp byte [esp + 0x80], 0
jne 0x5302f4
test al, al
jne 0x5302f4
mov eax, esi
mov ecx, edi
sub eax, dword [esp + 0x78]
sbb ecx, dword [esp + 0x7c]
jmp 0x5302f8
cmp dword [ebp + 0xc], 0
je 0x53029f
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x84], eax
jg 0x5303f6
xor esi, esi
mov dword [esp + 0x40], esi
test edi, edi
je 0x5302e1
cmp edi, dword [esp + 0x44]
jbe 0x5302c7
push edi
lea ecx, [ebx + 0x24]
lea edx, [esp + 0x40]
call fcn.00521860
add esp, 4
test eax, eax
jne 0x5302e1
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edi
push dword [esp + 0x30]
add eax, esi
push eax
call fcn.00570750
add esp, 0xc
add esi, edi
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xc]
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
jmp 0x5301b3
mov eax, esi
mov ecx, edi
push ecx
push eax
lea edx, [esp + 0x5c]
lea ecx, [ebx + 0x24]
call fcn.005218f0
add esp, 8
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov word [esp + 0x80], 0
cmp dword [esp + 0x38], 1
jne 0x53039c
mov edi, dword [esp + 0x24]
cmp byte [edi + 0x5c], 0
je 0x5303cf
mov ecx, dword [esp + 0x58]
lea esi, [ebx + 0x24]
lea eax, [ecx + 9]
cmp eax, dword [esp + 0x5c]
jbe 0x530357
push eax
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.00521860
mov ecx, dword [esp + 0x5c]
add esp, 4
test eax, eax
jne 0x530368
mov eax, dword [esp + 0x54]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
cmp dword [edi + 0x58], 0
jle 0x5303cf
lea eax, [ecx + 9]
cmp eax, dword [esp + 0x5c]
jbe 0x53038e
push eax
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.00521860
add esp, 4
test eax, eax
jne 0x5303cf
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov byte [eax + ecx], 0
inc dword [esp + 0x58]
jmp 0x5303cf
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x58]
movzx eax, byte [esi + 0x5c]
lea eax, [eax + ecx*2]
cdq
lea ecx, [ebx + 0x24]
push edx
push eax
lea edx, [esp + 0x5c]
call fcn.005218f0
lea eax, [esp + 0x50]
mov edx, esi
push 0x52fd80
push eax
mov ecx, ebx
call fcn.0052e320
add esp, 0x10
mov esi, dword [esp + 0xc]
push 0
push 0
push 0
mov edx, esi
mov ecx, ebx
call fcn.0052dd50
add esp, 0xc
mov edx, esi
mov ecx, ebx
call fcn.0052ed10
test eax, eax
je 0x530113
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x48]
add esi, 8
mov ecx, ebx
push esi
mov dword [esp + 0x38], esi
call fcn.0052f6a0
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x530438
mov edi, dword [esp + 0xc]
cmp byte [edi + 0x10], 0
jne 0x530438
mov edx, edi
mov ecx, ebx
call fcn.0052f850
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x53054a
mov edx, dword [esp + 0x18]
test edx, edx
jle 0x5304fc
xor edi, edi
mov dword [esp + 0x1c], edx
nop word [eax + eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov ecx, dword [edi + eax]
mov eax, ecx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], edx
lea eax, [ecx + 1]
xor ecx, ecx
cdq
shl eax, 5
sub ecx, 1
sbb eax, 0
push eax
mov eax, dword [esp + 0x18]
push ecx
shl eax, 5
mov ecx, ebx
push eax
push 0
call fcn.00529ef0
mov eax, dword [ebx + 0x38]
add esp, 0x10
test eax, eax
jne 0x5304b7
mov eax, dword [ebx]
push dword [eax + 8]
push dword [eax + 4]
push str.DELETE_FROM__q._q_idx_WHERE_segid_
call fcn.0043e130
add esp, 0xc
lea edx, [ebx + 0x38]
mov ecx, ebx
push eax
call fcn.00529d30
mov eax, dword [ebx + 0x38]
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x5304e6
push dword [esp + 0x38]
push dword [esp + 0x18]
push 1
push eax
call fcn.00467fa0
push dword [ebx + 0x38]
call fcn.004669b0
add esp, 0x14
push dword [ebx + 0x38]
call fcn.00465900
add esp, 4
mov dword [ebx + 0x24], eax
add edi, 0xc
sub dword [esp + 0x1c], 1
jne 0x530450
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp eax, edx
je 0x530527
mov ecx, dword [ebx + 8]
sub eax, edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [edx + edx*2]
lea eax, [ecx + eax*4]
push eax
push ecx
call fcn.00570750
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub dword [ecx + 0x10], edx
sub dword [ebx + 4], edx
mov dword [ebx], 0
cmp dword [esi], 0
jne 0x53054a
mov eax, dword [esp + 0x28]
dec dword [eax + 4]
dec dword [ecx + 0x10]
test edi, edi
je 0x53070d
xor ebx, ebx
cmp dword [edi + 0x30], ebx
jle 0x5306ad
lea esi, [edi + 0x5c]
lea ecx, [esi + 0x38]
call fcn.00521aa0
mov edi, dword [esi]
test edi, edi
je 0x5305c6
cmp dword [0x5dac30], 0
je 0x5305bc
mov eax, dword [0x5dfe08]
test eax, eax
je 0x53058a
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x5305cb
push eax
call dword [0x5dac88]
jmp 0x5305c3
push edi
call dword [0x5dac54]
add esp, 4
mov eax, dword [0x5dfe08]
mov edi, dword [esi + 4]
test edi, edi
je 0x530625
cmp dword [0x5dac30], 0
je 0x53061b
test eax, eax
je 0x5305e9
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x530625
push eax
call dword [0x5dac88]
jmp 0x530622
push edi
call dword [0x5dac54]
add esp, 4
mov ecx, dword [esi + 0x34]
call fcn.0052b350
mov edi, dword [esi + 0x30]
test edi, edi
je 0x53068c
cmp dword [0x5dac30], 0
je 0x530682
mov eax, dword [0x5dfe08]
test eax, eax
je 0x530650
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x53068c
push eax
call dword [0x5dac88]
jmp 0x530689
push edi
call dword [0x5dac54]
add esp, 4
push 0x60
lea eax, [esi - 0xc]
push 0
push eax
call fcn.00570cd0
mov edi, dword [esp + 0x18]
inc ebx
add esp, 0xc
add esi, 0x60
cmp ebx, dword [edi + 0x30]
jl 0x530560
lea ecx, [edi + 0x1c]
call fcn.00521aa0
cmp dword [0x5dac30], 0
je 0x530703
mov eax, dword [0x5dfe08]
test eax, eax
je 0x5306d1
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x53070d
push eax
call dword [0x5dac88]
jmp 0x53070a
push edi
call dword [0x5dac54]
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.00521aa0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x530726
mov eax, dword [esp + 0x84]
sub dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret