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

Disassembly:
sub esp, 0x88
mov eax, dword [0x102c6474]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x90]
push ebx
mov ebx, ecx
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x94]
push esi
mov eax, dword [ebx]
push edi
mov edi, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], eax
call fcn.1018caf0
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x10185a33
or dword [esi + 0x98], 0x40
lea eax, [esp + 0x60]
push eax
push ebp
mov edx, edi
mov dword [ebx + 0x2c], 2
mov ecx, ebx
call fcn.101727b0
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
js 0x10185a33
mov ecx, dword [esp + 0x10]
shl eax, 4
mov dword [esp + 0x20], eax
mov edi, dword [ecx + 0x10]
add edi, eax
cmp edx, 1
jne 0x101858c5
mov ecx, ebx
call fcn.10177a40
test eax, eax
jne 0x10185a33
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x10185a33
push 0
push dword [edx + 4]
mov edx, dword [edx]
call fcn.10131b70
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
call fcn.10134a30
cmp dword [esp + 0x5c], 0
je 0x10185a33
cmp dword [esp + 0xa4], 0
je 0x10185917
push dword [esp + 0x18]
push 0x1028b610
push dword [esp + 0x18]
call fcn.10133d40
add esp, 0xc
jmp 0x10185945
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10185943
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
call fcn.10131b70
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
call fcn.10134a30
mov eax, dword [esp + 0x2c]
jmp 0x10185949
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebp + 4], 0
jbe 0x10185953
mov ebp, dword [edi]
jmp 0x10185955
xor ebp, ebp
push ebp
push eax
push dword [esp + 0x64]
mov edx, 0x13
mov dword [esp + 0x40], ebp
mov ecx, ebx
call fcn.101715c0
add esp, 0xc
test eax, eax
jne 0x10185a11
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
push 0xe
push ebp
mov dword [esp + 0x9c], 0
push eax
mov dword [eax + 0x1ac], 0
call fcn.101b43f0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x10185a4c
lea edx, [eax + 1]
mov ecx, esi
call fcn.101528b0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x101859f4
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x74]
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
call fcn.1014fb20
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.10185520
push dword [esp + 0x84]
call fcn.10131520
add esp, 4
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.101315e0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10185a33
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.101315e0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101e48f0
add esp, 0x88
ret
cmp ebp, 0xc
je 0x10185a82
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10185a7a
push eax
push 0x1028fce4
push ebx
call fcn.101349d0
add esp, 0xc
push dword [esp + 0x84]
call fcn.10131520
add esp, 4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], ebp
jmp 0x10185a11
mov ecx, dword [esp + 0x5c]
call fcn.101855f0
mov ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x10185a11
test byte [ebp + 5], 1
je 0x10185aae
mov ecx, ebx
call fcn.10189190
test eax, eax
jne 0x10185a11
mov al, byte [ebp + 5]
test al, 2
jne 0x10185aca
test al, 4
je 0x10185ac1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x10185ace
mov edx, ebp
mov ecx, esi
call fcn.101853e0
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ebp + 4]
cmp eax, 0x28
ja case.0x10185adb.3
jmp dword [eax*4 + 0x101880b0]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, ebp
call fcn.10151a60
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10185b20
add dword [ebx + 0x2c], 2
lea edx, [eax + 9]
push eax
push 0x1027b7c8
mov ecx, esi
call fcn.10151070
add esp, 8
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x7c], 0xfffff830
jmp 0x10185a11
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, eax
call fcn.10135470
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x10185b4c
cmp ebp, 0x80000000
jne 0x10185b4a
mov ebp, accept
jmp 0x10185b4c
neg ebp
push dword [esp + 0x30]
xor edx, edx
mov ecx, ebx
call fcn.10177ba0
add esp, 4
mov edx, 0x5e
mov ecx, esi
push ebp
push 3
push dword [esp + 0x38]
call fcn.101507d0
mov eax, dword [edi + 0xc]
add esp, 0xc
mov dword [eax + 0x50], ebp
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edx + 0x50]
call fcn.101457a0
jmp 0x10185a11
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x10185bc2
test edi, edi
je 0x10185bae
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.10135470
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
mov dword [eax + 0x5c], edx
call fcn.101459e0
add esp, 8
cmp eax, 7
jne 0x10185a11
mov ecx, dword [esp + 0x10]
call fcn.10131cb0
jmp 0x10185a11
mov ebp, dword [edi + 4]
or edx, 0xffffffff
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x10185c42
mov edx, str.fast
call fcn.10134b00
test eax, eax
jne 0x10185c24
lea edx, [eax + 2]
jmp 0x10185c3e
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0
call fcn.10185210
xor edx, edx
add esp, 4
test al, al
setne dl
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0
jne 0x10185c7d
test edx, edx
js 0x10185c7d
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x10185c7d
xor edi, edi
mov esi, eax
nop
mov ecx, dword [esi + 0x10]
mov ecx, dword [edi + ecx + 4]
call fcn.10145b00
mov edx, dword [esp + 0x24]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x10185c60
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.10145b00
cdq
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, ebp
call fcn.10177ae0
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x1027c1c8], 0x70
jne 0x10185cc6
push 0
mov edx, 0xa8
jmp 0x10185cfb
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10185cf5
lea edx, [esp + 0x18]
call fcn.10135470
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x10185cf5
cmp eax, 0x80000000
jne 0x10185cf3
mov eax, accept
jmp 0x10185cf5
neg eax
push eax
mov edx, 0xa9
push edi
push ebp
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, 0x50
mov ecx, esi
push 0
push 1
push edi
call fcn.101507d0
add esp, 0xc
jmp 0x10185a11
mov ebx, str.normal
mov ebp, str.exclusive
test ecx, ecx
je 0x10185d51
mov edx, ebp
call fcn.10134b00
test eax, eax
jne 0x10185d3e
lea edx, [eax + 1]
jmp 0x10185d54
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.10134b00
test eax, eax
jne 0x10185d51
xor edx, edx
jmp 0x10185d54
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
cmp dword [eax + 4], 0
jne 0x10185dc7
mov eax, dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x10185d83
movzx eax, byte [eax + 0x53]
mov ecx, esi
cmp eax, 1
cmove ebx, ebp
mov edx, ebx
call fcn.10185520
jmp 0x10185a11
mov ebp, 2
cmp dword [eax + 0x14], ebp
jle 0x10185dbf
mov ebx, 0x20
mov esi, eax
mov eax, dword [esi + 0x10]
mov eax, dword [ebx + eax + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.101401c0
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 0x10]
inc ebp
cmp ebp, dword [esi + 0x14]
jl 0x10185d94
mov esi, dword [esp + 0x48]
mov ebx, str.normal
mov eax, dword [esp + 0x10]
mov byte [eax + 0x53], dl
mov ebp, str.exclusive
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.101401c0
cmp eax, 1
mov ecx, esi
cmove ebx, ebp
mov edx, ebx
call fcn.10185520
jmp 0x10185a11
test ecx, ecx
je 0x10185e3d
mov edi, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10185df1
sub edi, ecx
and edi, 0x3fffffff
xor ebx, ebx
cmp ebx, 6
je 0x10185e3d
mov eax, dword [ebx*4 + 0x1027af94]
test eax, eax
je 0x10185e3d
push edi
push eax
push dword [esp + 0x34]
call fcn.10134b40
add esp, 0xc
test eax, eax
je 0x10185e27
inc ebx
jmp 0x10185e02
cmp ebx, 2
jne 0x10185e59
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x10185e5e
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x10185e62
xor edx, edx
mov dword [ecx + 4], 1
mov dword [esp + 0x30], edx
jmp 0x10185e66
cmp ebx, 0xffffffff
je 0x10185e40
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x10185ec4
mov ebp, edi
shl ebp, 4
nop word [eax + eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + ebp + 4], 0
je 0x10185eb0
cmp edi, edx
je 0x10185e94
cmp dword [ecx + 4], 0
jne 0x10185eb0
mov edx, edi
mov ecx, esi
call fcn.10151a60
push ebx
push 1
push edi
mov edx, 7
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
jns 0x10185e80
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.101507d0
add esp, 0xc
jmp 0x10185a11
mov eax, dword [edi + 4]
or edx, 0xffffffff
mov ecx, 0xfffffffe
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
test eax, eax
je 0x10185f30
lea edx, [esp + 0x70]
mov ecx, eax
call fcn.10135360
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jg 0x10185f2c
jl 0x10185f1d
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x10185f30
or ecx, 0xffffffff
or edx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x10185f30
mov ecx, dword [esp + 0x70]
cmp edx, 0xffffffff
jl 0x10185f5c
jg 0x10185f3c
cmp ecx, 0xffffffff
jb 0x10185f5c
mov dword [edi + 0xa0], ecx
mov eax, dword [esp + 0x74]
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x10185f5c
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x70], ecx
mov eax, dword [edi + 0xa4]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x10185fa1
mov ecx, edi
call fcn.10145be0
cdq
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
call fcn.101852c0
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x54], bl
call fcn.10145b70
test eax, eax
jne 0x10185a11
cmp ebx, 1
je 0x10185fce
cmp ebx, 2
jne 0x10185a11
mov edi, dword [esi + 0x6c]
mov edx, 5
push 0
push 0x1027f064
mov ecx, esi
call fcn.10151070
mov edx, dword [esp + 0x38]
lea ecx, [edi + 4]
add esp, 8
mov dword [eax + 0x30], ecx
lea ecx, [ebx - 1]
mov dword [eax + 0x5c], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x54], edx
call fcn.10151a60
jmp 0x10185a11
test ecx, ecx
je 0x10186024
lea edx, [esp + 0x14]
call fcn.10135470
test eax, eax
je 0x10186024
cmp dword [esp + 0x14], 0
jg 0x1018602c
mov dword [esp + 0x14], accept
mov ebp, dword [esp + 0x30]
xor edx, edx
push ebp
mov ecx, ebx
call fcn.10177ba0
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0
push 1
push dword [esp + 0x1c]
call fcn.101507d0
add esp, 0xc
mov edx, 0x3c
mov ecx, esi
push 0
push 0
push ebp
call fcn.101507d0
add esp, 0xc
mov edx, 0x50
mov ecx, esi
mov edi, eax
push 0
push 0
push 1
call fcn.101507d0
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 0xffffffffffffffff
push 1
call fcn.101507d0
add esp, 0xc
mov edx, 0x30
mov ecx, esi
push 0
push edi
push 1
call fcn.101507d0
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.101511e0
jmp 0x10185a11
test ecx, ecx
jne 0x101860d2
mov eax, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.10135470
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x50], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edx + 0x50]
call fcn.101457a0
jmp 0x10185a11
test ecx, ecx
jne 0x10186140
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
jne 0x10186124
cdq
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.10145820
cdq
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
call fcn.10135470
test eax, eax
je 0x10186161
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call fcn.10145820
cmp dword [esp + 0x14], 0
mov edx, 1
mov ecx, dword [esp + 0x2c]
setne al
movzx eax, al
push eax
call fcn.10185210
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test al, al
je 0x10186191
or ecx, 0x20
jmp 0x10186194
and ecx, 0xffffffdf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, eax
mov dword [eax + 0x24], edx
call fcn.101855a0
jmp 0x10185a11
test ecx, ecx
je 0x1018624a
lea edx, [esp + 0x70]
call fcn.10135360
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x101861e2
jl 0x101861cd
mov edx, dword [esp + 0x70]
test edx, edx
jae 0x101861e6
mov edx, dword [0x102c6fb8]
mov eax, dword [0x102c6fbc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x101861e6
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x101861fa
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x1018624a
mov esi, dword [esp + 0x10]
mov ebp, edi
shl ebp, 4
nop dword [eax + eax]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebp + 4]
test eax, eax
je 0x1018623e
cmp edi, dword [esp + 0x30]
je 0x10186227
cmp dword [ecx + 4], 0
jne 0x1018623e
push dword [esp + 0x74]
mov ecx, eax
push edx
call fcn.101458c0
mov edx, dword [esp + 0x78]
add esp, 8
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
jns 0x10186210
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x70]
mov dword [esp + 0x70], 0xffffffff
push eax
push 0x12
push dword [esp + 0x3c]
mov dword [esp + 0x80], 0xffffffff
push dword [esp + 0x1c]
call fcn.101b43f0
add esp, 0x10
test eax, eax
jne 0x1018628f
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x74]
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov ebp, dword [esp + 0x10]
cmp eax, 0xc
je 0x10185a15
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
jmp 0x10185a15
test ecx, ecx
jne 0x101862c5
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x50]
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
call fcn.10185340
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x50]
cmp ecx, eax
je 0x10185a11
mov ecx, ebx
call fcn.10185390
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x10185a15
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x50], al
jmp 0x10185a15
test ecx, ecx
jne 0x10186311
mov edx, dword [0x102cfb9c]
mov ecx, esi
call fcn.10185520
jmp 0x10185a11
cmp byte [ecx], 0
je 0x1018634a
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x10186337
cmp dword [esp + 0x1c], eax
jne 0x1018634a
push str.not_a_writable_directory
push ebx
call fcn.101349d0
add esp, 8
jmp 0x10185a11
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x50], 1
ja 0x1018635b
mov ecx, ebx
call fcn.10185390
push dword [0x102cfb9c]
call fcn.10131520
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x1018638a
push eax
push 0x1028fce4
call fcn.10133e30
add esp, 8
mov dword [0x102cfb9c], eax
jmp 0x10185a11
mov dword [0x102cfb9c], 0
jmp 0x10185a11
test ecx, ecx
jne 0x101863af
mov edx, dword [0x102cf5f4]
mov ecx, esi
call fcn.10185520
jmp 0x10185a11
cmp byte [ecx], 0
je 0x101863e8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x101863d5
cmp dword [esp + 0x1c], eax
jne 0x101863e8
push str.not_a_writable_directory
push ebx
call fcn.101349d0
add esp, 8
jmp 0x10185a11
push dword [0x102cf5f4]
call fcn.10131520
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x10186417
push eax
push 0x1028fce4
call fcn.10133e30
add esp, 8
mov dword [0x102cf5f4], eax
jmp 0x10185a11
mov dword [0x102cf5f4], 0
jmp 0x10185a11
test ecx, ecx
jne 0x10186445
movzx eax, byte [edi + 8]
cdq
sub eax, 1
sbb edx, ecx
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x4f], 0
jne 0x10186462
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.101349d0
add esp, 8
jmp 0x10185a15
cmp dword [esp + 0x30], 1
je 0x10185a15
push 1
xor edx, edx
call fcn.10185210
inc eax
add esp, 4
and eax, 7
mov ecx, 1
mov byte [edi + 9], cl
cmove eax, ecx
mov ecx, ebp
mov byte [edi + 8], al
call fcn.101855a0
jmp 0x10185a15
test ecx, ecx
jne 0x101864f2
mov edx, ebp
mov ecx, esi
call fcn.101853e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
and ecx, dword [ebp + 8]
and eax, dword [ebp + 0xc]
or ecx, eax
je 0x101864d0
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, esi
call fcn.10185480
add esp, 8
jmp 0x10185a11
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
push eax
mov ecx, esi
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x4f], 0
jne 0x10186508
and ebx, 0xffffbfff
push 0
mov edx, 1
call fcn.10185210
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 0x20]
mov ebp, dword [ecx + 0x24]
test al, al
je 0x10186531
or ebx, edx
or edi, ebp
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], edi
jmp 0x1018655f
mov ecx, ebx
mov eax, edi
not ecx
not eax
and ecx, edx
and eax, ebp
mov edx, dword [esp + 0x10]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
cmp ebx, 0x80000
jne 0x1018655f
test edi, edi
jne 0x1018655f
mov dword [edx + 0x1f0], edi
mov dword [edx + 0x1f4], edi
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.101507d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.101855a0
jmp 0x10185a11
test ecx, ecx
je 0x10185a11
push dword [esp + 0x34]
mov edx, 2
push ecx
mov ecx, ebx
call fcn.10171de0
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x10185a11
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x101865d0
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x101865d0
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x101865c8
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x101865f7
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x101865f3
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x101865e3
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], 7
call fcn.10177ae0
mov edx, edi
mov ecx, ebx
call fcn.10174c40
movzx eax, word [edi + 0x2a]
xor edx, edx
mov ecx, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x38], ecx
cmp dx, ax
jge 0x10185a11
mov edx, eax
mov dword [esp + 0x44], edx
nop dword [eax]
movzx ecx, word [ecx + 0x10]
xor edi, edi
mov dword [esp + 0x14], ecx
test cl, 0x62
je 0x1018666b
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x10186653
inc dword [esp + 0x4c]
movzx eax, dx
jmp 0x10186750
test cl, 0x20
je 0x1018665f
mov edi, 2
jmp 0x1018666b
movzx edi, cl
and edi, 0x40
or edi, 0x20
shr edi, 5
test cl, 1
jne 0x10186674
xor edx, edx
jmp 0x101866a7
mov ecx, dword [esp + 0x18]
mov edx, 1
test ecx, ecx
je 0x101866a3
mov eax, dword [esp + 0x44]
cwde
cmp eax, edx
jl 0x101866a3
mov ecx, dword [ecx + 4]
mov esi, eax
nop
movsx eax, word [ecx]
cmp eax, ebx
je 0x1018669f
inc edx
add ecx, 2
cmp edx, esi
jle 0x10186690
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x101866c0
cmp edi, 2
jae 0x101866c0
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
jmp 0x101866c8
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x101866e0
mov dword [esp + 0x24], str.issisi
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test cl, 4
jne 0x101866f9
mov dword [esp + 0x44], 0x10275a34
jmp 0x10186718
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10186702
mov eax, dword [esp + 0x58]
sub ecx, dword [esp + 0x1c]
inc eax
add eax, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x38]
xor eax, eax
push edi
push edx
push dword [esp + 0x1c]
cmp byte [ecx + 0xc], al
setne al
push eax
push dword [esp + 0x54]
mov eax, dword [ecx]
push eax
mov eax, ebx
sub eax, dword [esp + 0x64]
push eax
push dword [esp + 0x40]
push 1
push esi
call fcn.10150a00
mov eax, dword [esp + 0x7c]
add esp, 0x28
movzx eax, word [eax + 0x2a]
mov ecx, dword [esp + 0x38]
inc ebx
movzx edx, ax
add ecx, 0x14
cwde
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
cmp ebx, eax
jl 0x10186630
jmp 0x10185a11
test ecx, ecx
je 0x10185a11
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10172110
mov edi, eax
add esp, 4
test edi, edi
jne 0x101867db
push dword [esp + 0x34]
lea edx, [eax + 2]
mov ecx, ebx
push dword [esp + 0x30]
call fcn.10171de0
add esp, 8
test eax, eax
je 0x10185a11
test byte [eax + 0x24], 0x80
je 0x10185a11
mov edi, dword [eax + 8]
test edi, edi
je 0x10185a11
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x101867d3
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x101867c3
test edi, edi
je 0x10185a11
mov ecx, dword [edi + 0x18]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x101867ff
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x101867ff
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x101867f7
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x10186812
movzx eax, word [edi + 0x34]
mov ecx, 6
jmp 0x1018681b
movzx eax, word [edi + 0x32]
mov ecx, 3
mov dword [esp + 0x14], eax
mov dword [ebx + 0x2c], ecx
mov ecx, ebx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
call fcn.10177ae0
xor ebp, ebp
cmp word [esp + 0x14], bp
je 0x10185a11
nop dword [eax]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
movsx edx, ax
test ax, ax
jns 0x10186853
xor eax, eax
jmp 0x10186860
mov eax, dword [esp + 0x1c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
push eax
push edx
push ebp
push str.iisX
push 1
push esi
call fcn.10150a00
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x101868a9
movzx eax, word [edi + 0x32]
xor ecx, ecx
cmp ebp, eax
mov eax, dword [edi + 0x20]
setl cl
push ecx
push dword [eax + ebp*4]
mov eax, dword [edi + 0x1c]
movzx eax, byte [eax + ebp]
push eax
push str.isiX
push 4
push esi
call fcn.10150a00
add esp, 0x18
push 0
push dword [ebx + 0x2c]
mov edx, 0x50
mov ecx, esi
push 1
call fcn.101507d0
mov ecx, dword [esp + 0x20]
inc ebp
movzx eax, cx
add esp, 0xc
cmp ebp, eax
jl 0x10186840
jmp 0x10185a11
test ecx, ecx
je 0x10185a11
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10171cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x10185a11
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x1018691c
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1018691c
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10186914
mov ecx, ebx
mov dword [ebx + 0x2c], 5
call fcn.10177ae0
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x10185a11
mov dword [esp + 0x70], 0x10283ee0
mov dword [esp + 0x74], 0x10283ee4
mov dword [esp + 0x78], 0x1028b00c
nop
xor eax, eax
cmp dword [edi + 0x24], eax
setne al
push eax
mov eax, dword [edi + 0x38]
and eax, 3
push dword [esp + eax*4 + 0x74]
xor eax, eax
cmp byte [edi + 0x36], al
setne al
push eax
push dword [edi]
push ebx
push str.isisi
push 1
push esi
call fcn.10150a00
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x10186950
jmp 0x10185a11
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x101880a8
xor ebx, ebx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + ebx + 4]
test eax, eax
je 0x101869e0
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x101869c1
mov eax, 0x1027a880
jmp 0x101869c7
mov eax, dword [eax + 0xa8]
push eax
push dword [ecx + ebx]
push edi
push 0x1028b778
push 1
push esi
call fcn.10150a00
mov edx, dword [esp + 0x28]
add esp, 0x18
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x101869a4
jmp 0x10185a11
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov dword [ebx + 0x2c], 2
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x101880a8
nop dword [eax]
mov eax, dword [edi + 8]
push dword [eax]
push ebp
push 0x1028b774
push 1
push esi
call fcn.10150a00
mov edi, dword [edi]
add esp, 0x14
inc ebp
test edi, edi
jne 0x10186a10
jmp 0x10185a11
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
shr ebp, 5
mov dword [ebx + 0x2c], 6
and ebp, 1
mov ebx, 0x102d0518
nop dword [eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x10186a6c
push ebp
push 1
mov edx, edi
mov ecx, esi
call fcn.10185670
mov edi, dword [edi + 0x24]
add esp, 8
test edi, edi
jne 0x10186a56
add ebx, 4
cmp ebx, 0x102d0574
jl 0x10186a50
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x101880a8
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, esi
push ebp
push 0
call fcn.10185670
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x10186a90
jmp 0x10185a11
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x2c], 1
mov edi, dword [edx + 0x170]
test edi, edi
je 0x101880a8
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x10283ee8
push 1
push esi
call fcn.10150a00
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x10186ac4
jmp 0x10185a11
mov edi, 0x1027c328
nop word [eax + eax]
push dword [edi]
push 0x10283ee8
push 1
push esi
call fcn.10150a00
add edi, 0x10
add esp, 0x10
cmp edi, 0x1027c738
jl 0x10186af0
jmp 0x10185a11
test ecx, ecx
je 0x10185a11
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10171cd0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10185a11
mov edi, dword [eax + 0x10]
test edi, edi
je 0x10185a11
mov ecx, dword [eax + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x10186b68
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10186b68
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10186b60
xor ebp, ebp
mov dword [ebx + 0x2c], 8
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.10177ae0
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x10186c3b
lea ebp, [edi + 0x24]
nop
movzx eax, byte [edi + 0x19]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x10186b9c
jmp dword [eax*4 + 0x10188154]
mov ecx, str.SET_NULL
jmp 0x10186bc4
mov ecx, str.SET_DEFAULT
jmp 0x10186bc4
mov ecx, str.CASCADE
jmp 0x10186bc4
mov ecx, str.RESTRICT
jmp 0x10186bc4
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x10186bd0
jmp dword [eax*4 + 0x10188164]
mov eax, str.SET_NULL
jmp 0x10186bf8
mov eax, str.SET_DEFAULT
jmp 0x10186bf8
mov eax, str.CASCADE
jmp 0x10186bf8
mov eax, str.RESTRICT
jmp 0x10186bf8
mov eax, str.NO_ACTION
push str.NONE
push ecx
push eax
mov eax, dword [ebp]
push dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
push dword [eax + ecx*4]
push dword [edi + 8]
push ebx
push dword [esp + 0x30]
push str.iissssss
push 1
push esi
call fcn.10150a00
inc ebx
add esp, 0x2c
add ebp, 8
cmp ebx, dword [edi + 0x14]
jl 0x10186b90
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x10186b80
jmp 0x10185a11
mov eax, dword [ebx + 0x2c]
mov edx, dword [esp + 0x10]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x38], eax
inc eax
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x101880a8
nop
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10186ca3
push dword [esp + 0x34]
xor edx, edx
push ecx
mov ecx, ebx
call fcn.10171de0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x10186ca8
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x1018708b
cmp dword [edi + 0x10], 0
je 0x1018708b
mov ecx, dword [edi + 0x48]
mov ebp, 0xfff0bdc0
test ecx, ecx
je 0x10186ce8
mov eax, dword [edx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x10186ce8
nop word [eax + eax]
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x10186ce0
mov edx, ebp
mov ecx, ebx
call fcn.10177ae0
push dword [edi]
mov edx, ebp
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.10171650
mov ecx, dword [esp + 0x44]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
cmp eax, dword [ebx + 0x2c]
jle 0x10186d17
mov dword [ebx + 0x2c], eax
push 0x60
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.10180230
mov edi, dword [edi]
add esp, 0xc
mov edx, 0x73
mov ecx, esi
push 0
push dword [esp + 0x50]
push 0
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.10151580
mov edi, dword [esp + 0x50]
add esp, 8
mov ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10186e3a
nop dword [eax + eax]
push dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.10171cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x10186e1a
mov dword [esp + 0x28], 0
mov edx, ebp
push dword [edi]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.10171650
add esp, 0xc
lea eax, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 0
push eax
push dword [esp + 0x1c]
call fcn.1017ddd0
add esp, 0xc
test eax, eax
jne 0x10185a11
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10186de3
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x60
push edi
push ebp
call fcn.10180230
add esp, 0xc
jmp 0x10186e1a
push ebp
push dword [eax + 0x2c]
mov edx, 0x60
mov ecx, esi
push dword [esp + 0x2c]
call fcn.101507d0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [ebx + 8]
mov ecx, ebx
call fcn.101781f0
test eax, eax
je 0x10186e1a
push 0xfffffffffffffff7
mov edx, eax
mov ecx, edi
call fcn.10151610
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10186d70
mov edi, dword [esp + 0x48]
cmp dword [ebx + 0x28], ecx
jge 0x10186e42
mov dword [ebx + 0x28], ecx
push 0
push 0
push 0
mov edx, 0x25
mov ecx, esi
call fcn.101507d0
mov ebp, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x10187067
nop
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.10171cd0
xor edx, edx
mov dword [esp + 0x5c], eax
xor ecx, ecx
mov dword [esp + 0x2c], edx
add esp, 4
mov dword [esp + 0x50], ecx
test eax, eax
je 0x10186eb6
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.1017ddd0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov ecx, dword [esp + 0x50]
dec dword [ebx + 0x38]
xor edi, edi
mov eax, dword [ebx + 0x38]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x10186f2c
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0x24]
inc ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10186edc
lea eax, [ecx + edi*4]
mov eax, dword [eax]
mov ecx, esi
mov edx, dword [esp + 0x48]
push ebx
push eax
push 0
call fcn.10169e40
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push 0
push dword [esp + 0x28]
push ebx
call fcn.101507d0
mov eax, dword [esp + 0x24]
inc edi
mov edx, dword [ebp + 0x14]
add eax, 8
add esp, 0xc
mov dword [esp + 0x18], eax
inc ebx
mov dword [esp + 0x1c], edx
cmp edi, edx
jge 0x10186f24
mov ecx, dword [esp + 0x50]
jmp 0x10186ed5
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x10186f99
mov ecx, dword [esp + 0x10]
call fcn.10180370
mov ecx, dword [esp + 0x38]
mov edi, eax
push ecx
push dword [ebp + 0x14]
mov edx, 0x5b
lea eax, [ecx + 1]
mov ecx, esi
push eax
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push ebx
push edi
call fcn.10151580
push dword [esp + 0x40]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.101507d0
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x51], 0
jne 0x10186fd7
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x10186fd7
cmp dword [esp + 0x58], 0
je 0x10186fd7
mov eax, dword [esp + 0x38]
mov edx, 0x1f
inc eax
mov ecx, esi
push eax
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [esp + 0x28]
call fcn.101507d0
add esp, 0xc
mov edx, 0xb
mov ecx, esi
push 0
push dword [esp + 0x28]
push 0
call fcn.101507d0
add esp, 0xc
mov ebx, dword [esp + 0x4c]
mov edx, 0x7f
mov edi, dword [esp + 0x48]
mov ecx, esi
push 0
lea eax, [ebx + 1]
test byte [edi + 0x24], 0x80
push eax
mov eax, 0x48
push 0
cmovne edx, eax
call fcn.101507d0
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edi - 1]
push eax
push dword [ebp + 8]
lea eax, [ebx + 2]
push 0x1028b7a8
push eax
push esi
call fcn.10150a00
add esp, 0x14
mov edx, 0x50
mov ecx, esi
push 0
push 4
push ebx
call fcn.101507d0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
call fcn.10150f10
mov edx, dword [esp + 0x50]
test edx, edx
je 0x1018704f
mov ecx, dword [esp + 0x10]
call fcn.101315e0
mov ebp, dword [ebp + 4]
inc edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x10186e70
mov eax, dword [esp + 0x14]
push 0
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.101507d0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.101511e0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10185a11
mov edx, dword [esp + 0x10]
jmp 0x10186c80
test ecx, ecx
je 0x10185a11
push 0
mov edx, 1
call fcn.10185210
mov ecx, dword [esp + 0x14]
xor edx, edx
add esp, 4
test al, al
setne dl
call fcn.1017dba0
jmp 0x10185a11
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov edi, dword [esp + 0x30]
movzx eax, byte [eax]
mov al, byte [eax + 0x1027c1c8]
mov byte [esp + 0x3f], al
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
mov eax, 0x64
mov dword [ebx + 0x2c], 6
cmove edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x1018711d
lea edx, [esp + 0x14]
call fcn.10135470
mov eax, dword [esp + 0x14]
mov ecx, 0x64
test eax, eax
cmovle eax, ecx
mov dword [esp + 0x14], eax
push 0
dec eax
mov edx, 0x45
push 1
push eax
mov ecx, esi
call fcn.101507d0
mov ebp, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], eax
jle 0x10187a8f
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov dword [esp + 0x20], 0
test edi, edi
js 0x10187164
cmp eax, edi
jne 0x10187a74
mov edx, eax
mov ecx, ebx
call fcn.10177ae0
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov dword [esp + 0x18], eax
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x101871cd
mov esi, edx
nop dword [eax + eax]
mov ecx, dword [ebp + 8]
lea eax, [edx + 1]
test byte [ecx + 0x24], 0x80
cmovne eax, edx
xor edi, edi
mov edx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x101871b1
mov eax, dword [eax + 0x14]
inc edx
inc edi
test eax, eax
jne 0x101871a8
mov ebp, dword [ebp]
cmp edi, esi
cmovle edi, esi
mov esi, edi
test ebp, ebp
jne 0x10187190
mov dword [esp + 0x20], esi
mov eax, edi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.101318d0
mov edi, eax
add esp, 8
test edi, edi
je 0x10187a8b
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x1018722c
nop word [eax + eax]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x24], 0x80
jne 0x10187210
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10187225
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10187217
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10187200
mov eax, dword [esp + 0x20]
mov dword [edi], edx
add eax, 8
mov ecx, dword [ebx + 0x2c]
cmp ecx, eax
push 1
cmovle ecx, eax
mov byte [ebx + 0x13], 0
push edx
mov dword [ebx + 0x2c], ecx
mov edx, 0x92
push 2
mov ecx, esi
mov dword [ebx + 0x1c], 0
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push edi
call fcn.10151580
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x10187287
mov ecx, dword [esp + 0x4c]
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
push 0
push 0
push 2
mov edx, 0x32
mov ecx, esi
call fcn.101507d0
mov edx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [eax + 0x10]
push dword [ecx + edx]
push str._in_database__s__n
push eax
call fcn.10133d40
add esp, 0xc
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.10151580
push 3
push 3
push 2
mov edx, 0x6e
mov ecx, esi
call fcn.101507d0
add esp, 0x14
mov ecx, esi
call fcn.10185700
mov edx, ebx
mov ecx, esi
call fcn.101511e0
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x10187a60
nop word [eax + eax]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0xffffffff
cmp dword [ebx + 0x1c], 1
jl 0x10187a4e
test byte [ebx + 0x24], 0x80
jne 0x10187351
mov dword [esp + 0x28], 0
jmp 0x10187374
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x10187374
nop dword [eax]
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x10187370
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x10187360
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x3c]
mov edx, ebx
push eax
push 0
push 1
push 0
push 0x60
call fcn.10183be0
push 0
push 7
push 0
mov edx, 0x45
mov ecx, esi
call fcn.101507d0
mov edi, dword [ebx + 8]
add esp, 0x24
test edi, edi
je 0x101873ce
mov ebp, 8
push 0
push ebp
push 0
mov edx, 0x45
mov ecx, esi
call fcn.101507d0
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebp
test edi, edi
jne 0x101873b2
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 1
push 7
call fcn.101507d0
add esp, 0xc
mov dword [esp + 0x70], eax
cmp byte [esp + 0x3f], 0x71
je 0x10187437
movsx ecx, word [ebx + 0x2c]
mov edx, 0x59
dec ecx
push 3
push ecx
push dword [esp + 0x40]
mov ecx, esi
call fcn.101507d0
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x10187437
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
xor eax, eax
xor ebp, ebp
cmp ax, word [ebx + 0x2a]
jge 0x10187536
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
movsx eax, word [ebx + 0x28]
cmp ebp, eax
je 0x10187522
mov eax, dword [ebx + 4]
cmp byte [eax + edi + 0xc], 0
je 0x10187522
push 3
push ebp
push dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.10169e40
mov edx, dword [esi + 0x6c]
add esp, 0xc
mov eax, dword [esi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x10187495
mov eax, 0x102d04a4
jmp 0x1018749d
mov eax, dword [esi + 0x68]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x59
jne 0x101874b3
test edx, edx
jle 0x101874b3
mov eax, dword [esi + 0x68]
mov edx, 0x80
mov word [eax + ecx - 0x12], dx
push 0
push 0
push 3
mov edx, 0x33
mov ecx, esi
call fcn.101507d0
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
push dword [ecx + edi]
push dword [eax]
push str.NULL_value_in__s._s
push dword [esp + 0x1c]
call fcn.10133d40
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
mov edi, eax
call fcn.101507d0
add esp, 0x1c
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.10151580
add esp, 8
mov ecx, esi
call fcn.10185700
mov edx, ebx
mov ecx, esi
call fcn.101511e0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x18]
movsx eax, word [ebx + 0x2a]
inc ebp
add edi, 0x14
mov dword [esp + 0x18], edi
cmp ebp, eax
jl 0x10187450
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x1018764e
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
and eax, 0x200
or eax, 0
jne 0x1018764e
push eax
mov ecx, edi
call fcn.10166540
add esp, 4
mov edx, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x54], edx
jne 0x10187643
mov ebp, dword [esp + 0x40]
mov eax, dword [ebp + 0x38]
dec eax
mov dword [esp + 0x18], eax
dec eax
mov dword [ebp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [ebp + 0x34], eax
mov edi, dword [edx]
dec edi
test edi, edi
jle 0x101875cf
mov ebx, dword [esp + 0x40]
lea ebp, [edi*4 + 1]
mov esi, dword [esp + 0x18]
add ebp, edi
lea ebp, [edx + ebp*4]
push 0
push esi
push dword [ebp]
push ebx
call fcn.1016bc90
dec edi
lea ebp, [ebp - 0x14]
add esp, 0x10
test edi, edi
jg 0x101875a8
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
push 0x10
push dword [esp + 0x24]
push dword [edx + 4]
push ebp
call fcn.1016b8b0
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.10150f10
mov dword [ebp + 0x34], 0
push dword [ebx]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.10133d40
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.10151580
add esp, 8
mov ecx, esi
call fcn.10185700
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.10150f10
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x1018764e
mov ecx, edi
call fcn.10167130
cmp byte [esp + 0x3f], 0x71
je 0x10187933
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x1018792f
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edi, dword [eax + 0x38]
dec edi
mov dword [eax + 0x38], edi
cmp ecx, ebx
je 0x10187920
push dword [esp + 0x50]
lea ecx, [esp + 0x70]
mov edx, ebx
push dword [esp + 0x5c]
push ecx
push 0
push 0
push dword [esp + 0x4c]
mov ecx, eax
call fcn.10179f90
mov ecx, dword [esp + 0x38]
mov edx, 0x52
push 0
add ecx, 8
mov dword [esp + 0x6c], eax
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x7c], ebx
call fcn.101507d0
movzx eax, word [ebx + 0x34]
add esp, 0x24
mov dword [esp + 0x54], eax
mov edx, 0x1e
mov eax, dword [esp + 0x44]
mov ecx, esi
add eax, dword [esp + 0x20]
push dword [esp + 0x50]
push edi
push eax
call fcn.101507d0
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x51], 0
jne 0x1018770c
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x54]
mov byte [ecx + edx*4 + 1], 0xfd
mov dword [ecx + edx*4 + 0x10], eax
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.row
call fcn.10151580
push 3
push 3
push 7
mov edx, 0x6e
mov ecx, esi
call fcn.101507d0
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str._missing_from_index
call fcn.10151580
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.101507d0
mov edi, dword [ebx]
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.101507d0
add esp, 0xc
mov dword [esp + 0x64], eax
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.10151580
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.101507d0
add esp, 0x14
mov ecx, esi
call fcn.10185700
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.101511e0
cmp byte [ebx + 0x36], 0
je 0x101878f9
mov eax, dword [esp + 0x40]
xor edi, edi
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
xor eax, eax
mov dword [esp + 0x18], edx
cmp ax, word [ebx + 0x32]
jae 0x10187832
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi*2]
test eax, eax
js 0x1018780c
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
cmp byte [eax + ecx*4 + 0xc], 0
jne 0x10187829
mov eax, dword [esp + 0x50]
mov ecx, esi
push 0
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.101507d0
mov edx, dword [esp + 0x24]
add esp, 0xc
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x101877f4
mov eax, dword [esp + 0x44]
mov edx, 5
add eax, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push eax
call fcn.101507d0
add esp, 0xc
mov edx, 0xb
mov ecx, esi
mov edi, eax
push 0
push dword [esp + 0x1c]
push 0
call fcn.101507d0
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.101511e0
movzx eax, word [ebx + 0x32]
mov edx, 0x27
push dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x24]
push edi
push eax
call fcn.101507d0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x101878b4
mov edx, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.non_unique_entry_in_index
call fcn.10151580
push 0
push dword [esp + 0x70]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.101507d0
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.10150f10
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.101511e0
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x1018791c
mov ecx, dword [eax + 8]
call fcn.10150f10
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x20]
test ebx, ebx
jne 0x10187678
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x70]
mov edx, 5
push 0
push edi
push dword [esp + 0x40]
mov ecx, esi
call fcn.101507d0
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.101511e0
cmp byte [esp + 0x3f], 0x71
je 0x10187a4e
push 0
push 2
push 0
mov edx, 0x73
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.wrong__of_entries_in_index
call fcn.10151580
mov ebx, dword [ebx + 8]
add esp, 8
xor ebp, ebp
test ebx, ebx
je 0x10187a4e
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
cmp eax, ebx
je 0x10187a42
mov eax, dword [esp + 0x44]
mov edx, 0x5c
push 0
add eax, ebp
mov ecx, esi
push 3
push eax
call fcn.101507d0
add esp, 0xc
lea eax, [ebp + 8]
mov edx, 0x35
mov ecx, esi
push 3
push 0
push eax
call fcn.101507d0
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x70], eax
test ecx, ecx
jle 0x101879f4
lea edx, [ecx + ecx*4]
mov eax, 0x90
mov ecx, dword [esi + 0x68]
mov word [ecx + edx*4 - 0x12], ax
mov edi, dword [ebx]
mov edx, 0x73
push 0
push 4
push 0
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.10151580
push 3
push 2
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.101507d0
add esp, 0x14
mov ecx, esi
call fcn.10185700
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.101511e0
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc ebp
test ebx, ebx
jne 0x101879a0
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x10187320
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
inc eax
add ecx, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ecx
cmp eax, dword [ebp + 0x14]
jl 0x10187150
jmp 0x10187a8f
mov ebp, dword [esp + 0x10]
push 0
push 0x1027f454
mov edx, 7
mov ecx, esi
call fcn.10151070
mov edi, eax
add esp, 8
test edi, edi
je 0x10187ad3
mov edx, 1
mov ecx, 0xb
sub edx, dword [esp + 0x14]
mov dword [edi + 8], edx
mov byte [edi + 0x29], 0xff
mov dword [edi + 0x38], 0x1028b760
mov byte [edi + 0x65], 0xff
call fcn.101b1d40
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov ecx, 0x102d04a4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x10187ae6
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x10185a15
test ecx, ecx
jne 0x10187b1d
mov ecx, ebx
call fcn.10189190
test eax, eax
jne 0x10185a11
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x10279b98]
call fcn.10185520
jmp 0x10185a11
mov eax, dword [esp + 0x10]
mov ecx, 1
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x10187b57
mov edx, dword [eax + 0x10]
add edx, 0xc
cmp dword [edx - 8], 0
je 0x10187b47
mov eax, dword [edx]
xor edi, edi
mov al, byte [eax + 0x4e]
and al, 5
cmp al, 1
cmove ecx, edi
add edx, 0x10
sub esi, 1
jne 0x10187b33
test ecx, ecx
je 0x10185a11
mov eax, dword [str.UTF8]
mov esi, 0x10279b98
test eax, eax
je 0x10187ba9
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.10134b00
test eax, eax
je 0x10187b80
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x10187b65
jmp 0x10187ba9
mov cl, byte [esi + 4]
mov edx, 2
test cl, cl
movzx eax, cl
cmovne edx, eax
mov eax, dword [esp + 0x10]
mov byte [eax + 0x4e], dl
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x4d], dl
cmp dword [esi], 0
jne 0x10185a11
push dword [esp + 0x2c]
push str.unsupported_encoding:__s
push ebx
call fcn.101349d0
add esp, 0xc
jmp 0x10185a11
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [ebp + 8]
mov edx, ebx
call fcn.10151a60
cmp dword [esp + 0x2c], 0
je 0x10187c1f
test byte [ebp + 5], 8
jne 0x10187c1f
push 0
push 0x10279d98
mov edx, 2
mov ecx, esi
call fcn.10151070
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x24], 0
add esp, 8
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
call fcn.10135470
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
jmp 0x10185a11
push 0
push 0x1027f18c
mov edx, 3
mov ecx, esi
call fcn.10151070
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x98], 0xffffffbf
jmp 0x10185a11
xor edi, edi
mov dword [ebx + 0x2c], 1
cmp edi, 5
ja 0x10187c61
mov ebx, dword [edi*4 + 0x1027c750]
jmp 0x10187c63
xor ebx, ebx
inc edi
test ebx, ebx
je 0x10187c3e
push 0
push 1
push 0
mov edx, 0x73
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push ebx
call fcn.10151580
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.101507d0
add esp, 0x14
jmp 0x10187c53
mov eax, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [eax], 0
cmovne ebp, dword [esp + 0x30]
xor edi, edi
test ecx, ecx
je 0x10187cf9
mov edx, str.full
call fcn.10134b00
test eax, eax
jne 0x10187cca
lea edi, [eax + 1]
jmp 0x10187cf9
mov ecx, dword [esp + 0x2c]
mov edx, str.restart
call fcn.10134b00
test eax, eax
jne 0x10187ce1
lea edi, [eax + 2]
jmp 0x10187cf9
mov ecx, dword [esp + 0x2c]
mov edx, str.truncate
call fcn.10134b00
test eax, eax
mov ecx, 3
cmove edi, ecx
push 1
push edi
push ebp
mov edx, 6
mov dword [ebx + 0x2c], 3
mov ecx, esi
call fcn.101507d0
add esp, 0xc
push 0
push 3
jmp 0x10185ec8
test ecx, ecx
je 0x10187d51
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.10135470
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x10187d41
push eax
push 0x101b2640
jmp 0x10187d45
push 0
push 0
push dword [esp + 0x18]
call fcn.101b27a0
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf8], 0x101b2640
jne 0x10185bae
mov eax, dword [eax + 0xfc]
mov ecx, esi
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
push dword [esp + 0x10]
call fcn.101b1220
jmp 0x10185a0e
test ecx, ecx
je 0x10187db3
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.10135470
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
test cl, 2
je 0x10185a11
jmp 0x10187dbb
mov dword [esp + 0x18], 0xfffe
mov eax, dword [ebx + 0x28]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
inc eax
cmp dword [esp + 0x34], 0
mov dword [ebx + 0x28], eax
je 0x10187dd7
mov dword [esp + 0x14], edi
jmp 0x10187deb
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x10187f56
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edi, 1
je 0x10187f42
mov edx, edi
mov ecx, ebx
call fcn.10177ae0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax + 0xc]
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x10187f3a
nop
mov edi, dword [ebp + 8]
test dword [edi + 0x24], 0x100
je 0x10187f2b
mov ax, word [edi + 0x2e]
add ax, 0x2e
movzx ecx, ax
mov eax, dword [edi + 8]
mov dword [esp + 0x70], ecx
test eax, eax
je 0x10187e53
test byte [eax + 0x38], 0x80
je 0x10187e9a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10187e46
test cx, cx
je 0x10187e9a
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x60
push edi
push dword [esp + 0x38]
call fcn.10180230
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, 0x22
cwde
and ecx, 1
add ecx, 2
push eax
mov eax, dword [esi + 0x6c]
add eax, ecx
mov ecx, esi
push eax
push dword [esp + 0x24]
call fcn.101507d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x24]
push dword [ecx + eax]
push str.ANALYZE___w_.__w_
push edx
call fcn.10133d40
add esp, 0x10
mov edi, eax
test byte [esp + 0x18], 1
mov dword [esp + 0x70], edi
je 0x10187f03
mov ecx, ebx
call fcn.1016cdb0
mov edi, eax
mov edx, 0x73
push 0
push edi
push 0
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push dword [esp + 0x74]
call fcn.10151580
push 0
push 1
push edi
mov edx, 0x50
mov ecx, esi
call fcn.101507d0
add esp, 0x14
jmp 0x10187f27
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.101507d0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.10151580
add esp, 8
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x10187e20
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc edi
add eax, 0x10
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
cmp edi, ecx
jle 0x10187df3
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.101507d0
add esp, 0xc
jmp 0x10185a11
test ecx, ecx
je 0x10187f91
lea edx, [esp + 0x70]
call fcn.10135360
test eax, eax
jne 0x10187f91
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.10131040
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.10131040
push edx
push eax
mov ecx, esi
call fcn.10185480
add esp, 0x10
jmp 0x10185a11
test ecx, ecx
je 0x10187ff6
lea edx, [esp + 0x70]
call fcn.10135360
test eax, eax
jne 0x10187ff6
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.10131180
mov edi, dword [esp + 0x7c]
add esp, 8
mov ebx, eax
test edi, edi
jl 0x10187ff6
mov ecx, dword [esp + 0x70]
jg 0x10187fdc
test ecx, ecx
je 0x10187ff6
mov eax, ebx
or eax, edx
je 0x10187fec
cmp edx, edi
jl 0x10187ff6
jg 0x10187fec
cmp ebx, ecx
jbe 0x10187ff6
push edi
push ecx
call fcn.10131180
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.10131180
push edx
push eax
mov ecx, esi
call fcn.10185480
add esp, 0x10
jmp 0x10185a11
test ecx, ecx
je 0x10188045
lea edx, [esp + 0x70]
call fcn.10135360
test eax, eax
jne 0x10188045
cmp dword [esp + 0x74], eax
jl 0x10188045
mov eax, dword [esp + 0x70]
jg 0x10188031
test eax, eax
jb 0x10188045
and eax, 0x7fffffff
push eax
push 0xb
push dword [esp + 0x18]
call fcn.101b2ff0
add esp, 0xc
push 0xffffffffffffffff
push 0xb
push dword [esp + 0x18]
call fcn.101b2ff0
add esp, 0xc
cdq
mov ecx, esi
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
test ecx, ecx
je 0x1018808c
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.10135470
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.101b1ea0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1d8]
cdq
push edx
push eax
call fcn.10185480
add esp, 8
jmp 0x10185a11
mov ebp, edx
jmp 0x10185a15