Function at 0x100831e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
movzx eax, word [edx]
push ebx
push esi
push edi
cmp ax, 0x40
jle 0x1008321e
push 0x40
push str.at_most__d_tables_in_a_join
push ecx
call fcn.10039e20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ecx]
movsx edi, ax
shl edi, 6
add edi, 0x27
and edi, 0xfffffff8
lea ebx, [edi + 0x1bc]
mov ecx, ebx
mov dword [esp + 0x34], esi
call fcn.10037ea0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10083251
push ebx
push 0
push eax
call fcn.100b8f90
add esp, 0xc
cmp byte [esi + 0x1e], 0
jne 0x10083696
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [ebx + 0x18], ecx
mov dword [ebx], edx
call fcn.1004d500
mov cx, word [ebp + 0x18]
add esp, 4
add edi, ebx
push 0x104
lea esi, [edi + 0xb8]
push 0
push esi
mov dword [ebx + 0x14], eax
mov dword [esp + 0x3c], edi
mov dword [ebx + 0x1c], edi
mov word [ebx + 4], cx
call fcn.100b8f90
mov eax, dword [ebp + 8]
mov dword [edi + 4], esi
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov dword [esp + 0x50], eax
xor ecx, ecx
lea eax, [esp + 0x48]
lea edx, [edi + 0x18]
push esi
push eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 4
mov dword [edi + 0x14], edx
mov dword [esp + 0x50], 0x1005c9a0
mov dword [esp + 0x54], ecx
call fcn.10056f30
push 0x43
push esi
push edi
call fcn.1007f920
add esp, 0x14
test esi, esi
je 0x10083316
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x10083303
mov eax, esi
call fcn.1005a540
test eax, eax
je 0x10083316
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp + 8]
push 8
push edx
push esi
push eax
call fcn.1005cf90
add esp, 0x10
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
cmp dx, word [ebx]
jge 0x10083353
lea edx, [ebx + 0x20]
jmp 0x10083330
mov ebx, dword [edx]
mov esi, dword [edi + 0xb8]
mov dword [edi + esi*4 + 0xbc], ebx
inc dword [edi + 0xb8]
mov ebx, dword [ebp + 0xc]
movsx eax, word [ebx]
inc ecx
add edx, 0x38
cmp ecx, eax
jl 0x10083330
mov esi, dword [edi + 0xc]
dec esi
js 0x1008336e
lea esp, [esp]
push esi
push edi
push ebx
call fcn.100806b0
add esp, 0xc
dec esi
jns 0x10083360
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x1e], 0
jne 0x10083696
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], edx
cmp ecx, edx
jle 0x10083627
xor eax, eax
mov esi, eax
jmp 0x100833c6
mov esi, dword [esp + 0x10]
xor eax, eax
fld qword [0x100f8598]
mov edi, dword [ebp + 0xc]
lea edx, [esi*8]
sub edx, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
fstp qword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x38], esi
lea ebx, [edi + edx*8 + 8]
cmp esi, ecx
jge 0x1008355a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
shl eax, 6
lea edx, [eax + ecx + 0x5c]
mov dword [esp + 0x40], edx
test byte [ebx + 0x15], 0xa
mov eax, 0
setne al
cmp dword [esp + 0x44], 0
mov dword [esp + 0x2c], eax
je 0x10083446
test eax, eax
jne 0x10083556
mov edi, dword [esp + 0x30]
xor ecx, ecx
cmp dword [edi + 0xb8], ecx
jle 0x1008346d
mov edx, dword [ebx + 0x18]
lea eax, [edi + 0xbc]
cmp dword [eax], edx
je 0x10083494
inc ecx
add eax, 4
cmp ecx, dword [edi + 0xb8]
jl 0x1008345d
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
and eax, ecx
and edx, edi
or eax, edx
jne 0x100834a2
cmp esi, dword [esp + 0x10]
jne 0x1008353b
inc dword [esp + 0x10]
jmp 0x1008353b
mov eax, 1
xor edx, edx
call fcn.100d0040
jmp 0x10083471
cmp dword [esp + 0x28], 0
jne 0x100834b4
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100834b4
mov eax, dword [eax]
jmp 0x100834b6
xor eax, eax
mov edx, dword [ebx + 0xc]
test byte [edx + 0x22], 0x10
je 0x100834e0
mov edx, dword [esp + 0x40]
push edx
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [esp + 0x3c]
push edi
push ecx
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
call fcn.10081590
add esp, 0x20
jmp 0x100834fa
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [esp + 0x38]
push edi
push ecx
mov ecx, dword [ebp + 8]
push ebx
push eax
push ecx
call fcn.10081710
add esp, 0x1c
cmp dword [esp + 0x44], 0
je 0x10083513
fld qword [esp + 0x68]
fcomp qword [esp + 0x88]
fnstsw ax
test ah, 0x41
jne 0x10083534
mov edx, dword [esp + 0x38]
mov ecx, 8
lea esi, [esp + 0x78]
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x44], 1
mov dword [esp + 0x3c], edx
mov esi, edx
cmp dword [esp + 0x2c], 0
jne 0x10083556
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
add dword [esp + 0x40], 0x40
inc esi
add ebx, 0x38
mov dword [esp + 0x38], esi
cmp esi, ecx
jl 0x10083427
mov eax, dword [esp + 0x58]
test eax, 0x1000000
je 0x1008356a
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
and dword [esp + 0x24], eax
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov esi, eax
and esi, 0xf0000
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
je 0x1008359a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x44]
mov dword [edi + 0x14], ecx
inc dword [eax + 0x44]
jmp 0x100835a1
mov dword [edi + 0x14], 0xffffffff
mov ebx, dword [esp + 0x30]
xor ecx, ecx
cmp dword [ebx + 0xb8], ecx
jle 0x100835dd
mov eax, dword [esp + 0x3c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edx*8 + 0x20]
lea eax, [ebx + 0xbc]
cmp dword [eax], edx
je 0x10083671
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0xb8]
jl 0x100835c9
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 0xc]
not eax
and dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
not edx
and dword [esp + 0x4c], edx
lea edx, [eax*8]
sub edx, eax
mov byte [edi + 0x28], al
mov eax, dword [ecx + edx*8 + 0x3c]
test eax, eax
je 0x1008360c
test esi, esi
je 0x10083682
mov eax, dword [esp + 0x28]
movsx ecx, word [ecx]
inc eax
add edi, 0x40
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
cmp eax, ecx
jl 0x100833c0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x10083696
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
jne 0x10083696
mov ecx, dword [esp + 0x24]
and ecx, 0x4000000
je 0x10083653
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10083653
mov dword [eax], 0
test byte [ebp + 0x18], 4
je 0x100836b0
test ecx, ecx
je 0x100836b0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
and dword [edi], 0xff7fffff
mov byte [ecx + 6], 1
jmp 0x100836b4
mov eax, 1
xor edx, edx
call fcn.100d0040
jmp 0x100835e1
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
push str.cannot_use_index:__s
push ecx
call fcn.10039e20
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
push edx
call fcn.10083110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
mov esi, edx
call fcn.10065d10
mov eax, dword [ebp + 0xc]
xor edx, edx
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], edi
cmp dx, word [eax]
jge 0x10083b5e
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x1b8], 2
jne 0x1008387c
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x28]
mov edx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x34]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*8 + 0xc]
lea edi, [edx + ecx*8 + 8]
push eax
push str.TABLE__s
push ebx
call fcn.10039240
mov edi, dword [edi + 8]
add esp, 0xc
mov esi, eax
test edi, edi
je 0x1008373b
push edi
push esi
push str._s_AS__s
push esi
push ebx
call fcn.10039260
add esp, 0x14
mov esi, eax
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
test eax, 0xf0000
je 0x10083760
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push edx
push esi
push str._s_WITH_INDEX__s
push esi
push ebx
call fcn.10039260
add esp, 0x14
jmp 0x100837b4
test eax, 0x10000000
je 0x10083779
push esi
push str._s_VIA_MULTI_INDEX_UNION
push esi
push ebx
call fcn.10039260
add esp, 0x10
jmp 0x100837b4
test eax, 0x3000
je 0x10083792
push esi
push str._s_USING_PRIMARY_KEY
push esi
push ebx
call fcn.10039260
add esp, 0x10
jmp 0x100837b4
test eax, 0x8000000
je 0x100837b6
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push ecx
push edx
push esi
push str._s_VIRTUAL_TABLE_INDEX__d:_s
push esi
push ebx
call fcn.10039260
add esp, 0x18
mov esi, eax
test dword [edi], 0x1000000
je 0x100837d0
push esi
push str._s_ORDER_BY
push esi
push ebx
call fcn.10039260
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0xc]
cmp dword [ecx + 0x10], ebx
jg 0x100837f9
mov edi, ecx
call fcn.1004d2b0
test eax, eax
je 0x100837f7
xor ebx, ebx
jmp 0x10083827
mov ecx, edi
mov eax, dword [ecx + 0x14]
inc dword [ecx + 0xc]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x73
mov byte [ecx + 0x7e], dl
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x14]
mov edi, dword [edx]
mov eax, ebx
test ecx, ecx
je 0x10083872
cmp byte [edi + 0x1e], 0
jne 0x10083872
test ebx, ebx
jns 0x10083846
mov eax, dword [edx + 0xc]
dec eax
js 0x1008387c
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.1004d900
xor eax, eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jne 0x10083869
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], al
jmp 0x1008387c
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xff
jmp 0x1008387c
mov ecx, esi
or eax, 0xffffffff
call fcn.1004d900
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 0x28]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edx*8 + 0x14]
mov ecx, dword [esi + 0x48]
lea ebx, [eax + edx*8 + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edi, 0xfff0bdc0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], edi
test ecx, ecx
je 0x100838d4
mov edx, dword [eax + 4]
xor edi, edi
mov dword [esp + 0x10], edi
test edx, edx
jle 0x100838d4
mov eax, dword [eax + 8]
add eax, 0x14
cmp dword [eax], ecx
je 0x100838d0
inc edi
add eax, 0x18
cmp edi, edx
jl 0x100838c4
mov dword [esp + 0x10], edi
test byte [esi + 0x22], 2
jne 0x10083b42
cmp dword [esi + 0x1c], 0
jne 0x10083b42
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, 0x8000000
je 0x100839b7
mov ecx, dword [ebx + 0x18]
mov ebx, dword [esp + 0x18]
mov edx, dword [esi + 0x38]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
cmp dword [ebx + 0x10], esi
jg 0x10083922
mov edi, ebx
call fcn.1004d2b0
test eax, eax
je 0x10083922
xor esi, esi
jmp 0x1008394b
mov edx, dword [ebx + 0x14]
xor ecx, ecx
inc dword [ebx + 0xc]
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x2c]
mov byte [eax + 3], cl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x20
mov byte [ebx + 0x7e], cl
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
mov eax, esi
test ecx, ecx
je 0x100839a0
cmp byte [edi + 0x1e], 0
jne 0x100839a0
test esi, esi
jns 0x10083966
mov eax, dword [ebx + 0xc]
dec eax
js 0x100839ae
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1004d900
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, ecx
jne 0x10083994
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x10083a4d
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xf6
jmp 0x10083a4d
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffff6
call fcn.1004d900
mov edi, dword [esp + 0x10]
jmp 0x10083a4d
test eax, 0x800000
jne 0x10083a33
test byte [ebp + 0x18], 0x10
jne 0x10083a33
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + 6]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x18]
neg edx
sbb edx, edx
and edx, 0xfffffffd
add edx, 0xd
push edx
push esi
push edi
push eax
mov eax, dword [ebp + 8]
call fcn.10069e10
mov ecx, dword [esp + 0x2c]
add esp, 0x10
cmp byte [ecx + 6], 0
jne 0x10083a49
cmp dword [esi + 0xc], 0x40
jge 0x10083a49
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x10083a1d
lea ebx, [ebx]
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x10083a10
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0xc]
push 0xfffffffffffffff2
push edx
dec eax
push ebx
call fcn.1004da90
add esp, 0xc
jmp 0x10083a4d
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x18]
mov esi, dword [ebp + 8]
push edx
push 0
push eax
push edi
call fcn.10060ca0
add esp, 0x10
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test dword [eax], 0xf0000
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x10], edx
je 0x10083b32
mov esi, dword [eax + 8]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.10066480
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x14]
add esp, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
cmp dword [ebx + 0x10], esi
jg 0x10083aa8
mov edi, ebx
call fcn.1004d2b0
test eax, eax
je 0x10083aa4
xor esi, esi
jmp 0x10083ad9
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0x14]
inc dword [ebx + 0xc]
mov ecx, dword [esp + 0x2c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x24]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov word [eax], 0xd
mov byte [ebx + 0x7e], 0
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx]
mov eax, esi
test ecx, ecx
je 0x10083b24
cmp byte [edi + 0x1e], 0
jne 0x10083b24
test esi, esi
jns 0x10083af4
mov eax, dword [ebx + 0xc]
dec eax
js 0x10083b32
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movsx eax, byte [esi + 1]
mov ecx, dword [esi + 0x10]
call fcn.1004d900
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esi + 0x10], ecx
cmp eax, ecx
jne 0x10083b1b
mov dword [esi + 0x10], ecx
mov byte [esi + 1], cl
jmp 0x10083b32
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x10083b32
mov ecx, dword [esp + 0x20]
mov eax, 0xfffffff0
call fcn.1004d900
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
push ecx
call fcn.10065d10
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
movsx ecx, word [edx]
add dword [esp + 0x14], 0x40
inc eax
mov dword [esp + 0x28], eax
cmp eax, ecx
jl 0x100836e0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
xor ecx, ecx
or eax, 0xffffffff
or edx, 0xffffffff
xor esi, esi
cmp cx, word [ebx]
jge 0x10083ba5
lea ebx, [edi + 0x40]
push edx
mov edx, dword [ebp + 0x18]
push eax
push edx
push edi
mov ecx, esi
call fcn.10082210
mov ecx, dword [ebx]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx]
inc esi
add esp, 0x10
add ebx, 0x40
cmp esi, ecx
jl 0x10083b81
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret