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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [edx]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x20], edx
mov edi, ecx
lea ebx, [esi + esi*2]
mov dword [esp + 0xc], 0
shl ebx, 2
add eax, ebx
mov dword [esp + 0x10], eax
add eax, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10123c48
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x10123c50
mov dword [esp + 0x30], 0
mov eax, dword [edi]
push 0x60
mov eax, dword [eax + 0x34]
mov dword [esp + 0xac], eax
xor eax, eax
push eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x50]
push eax
call fcn.1013ad10
mov eax, dword [esp + 0x34]
add esp, 0xc
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
movq qword [esp + 0x3c], xmm0
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10123ce6
mov edx, dword [esp + 0x10]
add edx, 0x2c
mov dword [esp + 0x20], edx
mov eax, dword [edx + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 8]
add eax, 0xffffffc8
lea edx, [esp + 0x48]
push dword [eax + ecx*8]
lea ebx, [eax + ecx*8]
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.10123320
mov eax, dword [ebx + 8]
add esp, 4
mov ecx, dword [esp + 0x18]
inc eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa0], 0
jmp 0x10123ea9
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.101228f0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 0x1c]
dec ecx
cmp esi, ecx
lea esi, [edi + 0x2c]
jne 0x10123d80
mov ebx, dword [esp + 0x20]
mov ecx, esi
mov edx, ebx
call fcn.1011d250
cmp dword [esi], 0
jne 0x10123d71
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x20], ecx
call fcn.100d8ee0
test eax, eax
jne 0x10123d6b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push 0
lea eax, [eax + eax*2]
add eax, 0xf
shl eax, 2
push eax
call fcn.10027f60
add esp, 8
test eax, eax
je 0x10123d6b
mov ecx, dword [esp + 0x20]
xorps xmm0, xmm0
mov dword [ebx], eax
lea ecx, [ecx + ecx*2]
movq qword [eax + ecx*4 + 0x20], xmm0
mov dword [eax + ecx*4 + 0x28], 0
inc dword [eax + 0x1c]
jmp 0x10123d71
mov dword [esi], 7
mov eax, dword [ebp + 8]
mov edx, dword [ebx]
mov dword [esp + 0x18], edx
lea ebx, [eax + eax*2]
shl ebx, 2
cmp dword [esi], 0
jne 0x10123df9
mov eax, dword [ebx + edx + 0x30]
inc eax
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + edx + 0x34]
shl ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
call fcn.100d8ee0
test eax, eax
jne 0x10123df3
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x14]
call fcn.10027f60
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10123df3
mov ecx, dword [esp + 0x18]
push 0x38
push 0
mov ecx, dword [ebx + ecx + 0x30]
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [eax + edx*8]
push ecx
call fcn.1013ad10
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [ebx + ecx + 0x34], eax
jmp 0x10123dfd
mov dword [esi], 7
mov ecx, dword [esp + 0x18]
cmp dword [esi], 0
jne 0x10124668
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 0x20]
add ecx, 0x2c
lea edx, [esp + 0x48]
add eax, ebx
add ebx, ecx
push esi
mov ecx, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
call fcn.10123320
mov edx, dword [ebx + 4]
add esp, 4
mov eax, dword [ebx + 8]
lea ecx, [edx*8]
sub ecx, edx
lea ecx, [eax + ecx*8]
lea eax, [edx + 1]
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
mov ebx, dword [esp + 0x28]
mov dword [ecx + 4], 1
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
inc dword [ecx + 0x18]
cmp dword [ecx + 0x14], 0
mov edx, dword [ebx + 4]
mov dword [esp + 0x24], edx
ja 0x10123e6e
cmp dword [ecx + 0x10], 0
jbe 0x10123ea6
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + edx*8 - 0x20]
mov ecx, dword [ecx + edx*8 - 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], eax
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x20]
cmp dword [eax + 4], 1
jne 0x10123ec3
lea eax, [esi + 2]
mov dword [esp + 0x10], 1
cmp dword [ecx + 0x1c], eax
je 0x10123ecb
mov dword [esp + 0x10], 0
lea eax, [esp + 0xc]
push eax
push edx
push esi
push 0
push 0
push 0
mov edx, ecx
mov ecx, edi
push 0x20
call fcn.10122530
mov esi, dword [esp + 0x28]
add esp, 0x1c
mov edx, esi
mov ecx, edi
call fcn.10122840
test eax, eax
jne 0x1012421a
nop dword [eax + eax]
mov eax, dword [esi + 0x48]
lea ecx, [esi + 0x50]
movzx eax, word [eax + 4]
imul eax, eax, 0x68
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ebx, dword [eax + esi + 0xa0]
mov eax, dword [eax + esi + 0x9c]
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x40]
jne 0x10124036
test ebx, ebx
jle 0x10123f9f
mov edx, dword [esp + 0x3c]
mov esi, ebx
mov ecx, eax
sub esi, 4
jb 0x10123f51
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10123f56
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10123f40
cmp esi, 0xfffffffc
je 0x10123f93
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10124032
cmp esi, 0xfffffffd
je 0x10123f93
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10124032
cmp esi, 0xfffffffe
je 0x10123f93
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10124032
cmp esi, 0xffffffff
je 0x10123f93
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10124032
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
cmp dword [ecx + 0x60], 0
jne 0x10123fbe
cmp dword [esp + 0x10], 0
jne 0x101241f7
cmp byte [ecx + 0x64], 0
je 0x101241f7
cmp dword [edi + 0x2c], 0
lea esi, [edi + 0x2c]
jne 0x10123fe3
test edx, edx
jne 0x10123fe3
push eax
push ebx
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.10122fb0
add esp, 8
mov dword [esp + 0x34], 1
mov edx, dword [esp + 0xc]
mov ebx, esi
mov eax, dword [edx + 0x48]
movzx eax, word [eax + 4]
imul eax, eax, 0x68
cmp dword [ebx], 0
mov ecx, dword [eax + edx + 0xa8]
mov eax, dword [eax + edx + 0xac]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
jne 0x10124143
mov eax, dword [edi]
mov ecx, dword [esp + 0x58]
add ecx, dword [esp + 0x64]
cmp ecx, dword [eax + 0x54]
jl 0x101240a6
lea edx, [esp + 0x48]
mov ecx, edi
call fcn.10122e80
jmp 0x101240a8
mov esi, dword [esp + 0xc]
cmp dword [ebp + 0xc], 0
je 0x1012404d
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x84], eax
jg 0x1012421a
xor esi, esi
mov dword [esp + 0x40], esi
test ebx, ebx
je 0x1012408f
cmp ebx, dword [esp + 0x44]
jbe 0x10124075
lea ecx, [edi + 0x2c]
push ebx
lea edx, [esp + 0x40]
call fcn.10114e00
add esp, 4
test eax, eax
jne 0x1012408f
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ebx
push dword [esp + 0x18]
add eax, esi
push eax
call fcn.1013c1a0
add esp, 0xc
add esi, ebx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x34], edx
jmp 0x10123fa3
mov ebx, esi
mov al, byte [esp + 0x81]
mov ecx, esi
test al, al
je 0x101240e7
movzx edx, word [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, edx
push dword [esp + 0x14]
shr eax, 8
push dword [esp + 0x3c]
mov byte [ecx + 1], dl
lea edx, [esp + 0x50]
mov byte [ecx], al
mov ecx, edi
call fcn.10122c70
mov al, byte [esp + 0x89]
add esp, 8
mov ecx, ebx
cmp byte [esp + 0x80], 0
jne 0x1012410f
mov esi, ecx
test al, al
jne 0x1012410f
mov eax, dword [esp + 0x38]
lea ebx, [edi + 0x2c]
sub eax, dword [esp + 0x78]
lea esi, [edi + 0x2c]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x7c]
jmp 0x10124119
mov eax, dword [esp + 0x38]
mov ebx, esi
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x5c]
mov ecx, ebx
call fcn.10114e90
mov eax, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], 0
cmp dword [esp + 0xa8], 1
mov ebx, dword [esp + 0x1c]
jne 0x101241c5
cmp byte [ebx + 0x64], 0
je 0x101241f3
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 9]
cmp eax, dword [esp + 0x5c]
jbe 0x1012417f
push eax
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.10114e00
mov ecx, dword [esp + 0x5c]
add esp, 4
test eax, eax
jne 0x10124190
mov eax, dword [esp + 0x54]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x58], ecx
cmp dword [ebx + 0x60], 0
jle 0x101241f3
lea eax, [ecx + 9]
cmp eax, dword [esp + 0x5c]
jbe 0x101241b7
lea ecx, [edi + 0x2c]
push eax
lea edx, [esp + 0x58]
call fcn.10114e00
add esp, 4
test eax, eax
jne 0x101241f3
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov byte [eax + ecx], 0
inc dword [esp + 0x58]
jmp 0x101241f3
mov ecx, dword [ebx + 0x60]
movzx eax, byte [ebx + 0x64]
lea eax, [eax + ecx*2]
mov ecx, esi
cdq
push edx
push eax
lea edx, [esp + 0x5c]
call fcn.10114e90
lea eax, [esp + 0x50]
mov edx, ebx
push 0x10123af0
push eax
mov ecx, edi
call fcn.10121e70
add esp, 0x10
mov esi, dword [esp + 0xc]
push 0
push 0
push 0
mov edx, esi
mov ecx, edi
call fcn.10121800
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.10122840
test eax, eax
je 0x10123f00
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x48]
add eax, 8
mov ecx, edi
push eax
call fcn.10123240
add esp, 4
cmp dword [edi + 0x2c], 0
jne 0x10124254
cmp byte [esi + 0x10], 0
jne 0x10124254
mov edx, esi
mov ecx, edi
call fcn.10123480
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
jmp 0x1012447f
mov esi, dword [esp + 0x24]
test esi, esi
jle 0x10124424
xor eax, eax
mov dword [esp + 0x30], esi
lea ebx, [edi + 0x40]
mov dword [esp + 0x10], eax
nop dword [eax]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov esi, dword [ecx + 8]
mov ecx, dword [esi + eax + 0x30]
add esi, eax
sub ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x34]
sbb eax, dword [esi + 0x2c]
add dword [edx + 0x30], ecx
adc dword [edx + 0x34], eax
xor ecx, ecx
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
inc eax
cdq
shl eax, 5
sub ecx, 1
sbb eax, 0
push eax
mov eax, dword [esp + 0x20]
push ecx
cdq
mov ecx, edi
shl eax, 5
push eax
push 0
call fcn.1011d040
mov ecx, dword [esi + 0x20]
add esp, 0x10
test ecx, ecx
je 0x101242ed
mov eax, dword [esp + 0x1c]
add eax, 0x10000
cdq
mov esi, eax
lea eax, [ecx - 1]
cdq
mov ecx, esi
shl ecx, 5
add eax, 0
adc edx, ecx
shl esi, 5
push edx
push eax
push esi
push 0
mov ecx, edi
call fcn.1011d040
add esp, 0x10
cmp dword [ebx], 0
jne 0x101243dd
mov eax, dword [edi]
push dword [eax + 8]
push dword [eax + 4]
push str.DELETE_FROM__q._q_idx_WHERE_segid_
call fcn.1002a830
add esp, 0xc
mov esi, eax
cmp dword [edi + 0x2c], 0
jne 0x10124342
test esi, esi
je 0x10124336
mov ecx, dword [edi]
mov edx, esi
push 0
push ebx
push 0
mov ecx, dword [ecx]
push 0x85
push 0xffffffffffffffff
call fcn.1009fe60
add esp, 0x14
mov dword [edi + 0x2c], eax
jmp 0x1012434a
mov dword [edi + 0x2c], 7
jmp 0x101243dd
test esi, esi
je 0x101243dd
cmp dword [0x10178a38], 0
je 0x101243d3
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x1012436a
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
movd xmm0, dword [0x1017ba94]
xor ecx, ecx
movd xmm2, dword [0x1017ba70]
add esp, 4
punpckldq xmm2, xmm0
movd xmm1, eax
movd xmm0, ecx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x10172730]
psubd xmm2, xmm1
movd dword [0x1017ba70], xmm2
psrldq xmm2, 4
push esi
movd dword [0x1017ba94], xmm2
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x101243dd
push eax
call dword [0x10178a90]
jmp 0x101243da
push esi
call dword [0x10178a5c]
add esp, 4
cmp dword [edi + 0x2c], 0
jne 0x1012440a
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
push 1
push dword [ebx]
call fcn.10057670
push dword [ebx]
call fcn.10055f30
add esp, 0x14
push dword [ebx]
call fcn.10054fa0
add esp, 4
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
add eax, 0x38
sub dword [esp + 0x30], 1
mov dword [esp + 0x10], eax
jne 0x10124270
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x10124457
mov ecx, dword [ebx + 8]
sub edx, esi
lea eax, [edx*8]
sub eax, edx
shl eax, 3
push eax
lea eax, [esi*8]
sub eax, esi
lea eax, [ecx + eax*8]
push eax
push ecx
call fcn.1013c1a0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
sub dword [ecx + 0x18], esi
sub dword [ebx + 4], esi
mov esi, dword [esp + 0xc]
mov dword [ebx], 0
cmp dword [eax + 8], 0
jne 0x1012447f
mov edx, dword [esp + 0x20]
dec dword [edx + 4]
dec dword [ecx + 0x18]
test esi, esi
je 0x1012464f
xor ebx, ebx
cmp dword [esi + 0x30], ebx
jle 0x101245ef
add esi, 0x5c
lea ecx, [esi + 0x40]
call fcn.10115030
mov edi, dword [esi]
test edi, edi
je 0x101244fb
cmp dword [0x10178a38], 0
je 0x101244f1
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x101244bf
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x10124500
push eax
call dword [0x10178a90]
jmp 0x101244f8
push edi
call dword [0x10178a5c]
add esp, 4
mov eax, dword [0x1017bbe8]
mov edi, dword [esi + 4]
test edi, edi
je 0x1012455a
cmp dword [0x10178a38], 0
je 0x10124550
test eax, eax
je 0x1012451e
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012455a
push eax
call dword [0x10178a90]
jmp 0x10124557
push edi
call dword [0x10178a5c]
add esp, 4
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
call fcn.10120ea0
mov ecx, dword [esi + 0x3c]
call fcn.1011e840
mov edi, dword [esi + 0x38]
test edi, edi
je 0x101245cc
cmp dword [0x10178a38], 0
je 0x101245c2
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10124590
push eax
call dword [0x10178a88]
add esp, 4
push edi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push edi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x101245cc
push eax
call dword [0x10178a90]
jmp 0x101245c9
push edi
call dword [0x10178a5c]
add esp, 4
push 0x68
lea eax, [esi - 0xc]
push 0
push eax
call fcn.1013ad10
mov eax, dword [esp + 0x18]
inc ebx
add esp, 0xc
add esi, 0x68
cmp ebx, dword [eax + 0x30]
jl 0x10124495
mov esi, eax
lea ecx, [esi + 0x1c]
call fcn.10115030
cmp dword [0x10178a38], 0
je 0x10124645
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x10124613
push eax
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x1012464f
push eax
call dword [0x10178a90]
jmp 0x1012464c
push esi
call dword [0x10178a5c]
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.10115030
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10124668
mov eax, dword [esp + 0x84]
sub dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret