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

Disassembly:
sub esp, 0x88
mov eax, dword [0x10223008]
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.1013fe80
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x10138dc3
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.10125a00
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
js 0x10138dc3
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 0x10138c55
mov ecx, ebx
call fcn.1012ac90
test eax, eax
jne 0x10138dc3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x10138dc3
push 0
push dword [edx + 4]
mov edx, dword [edx]
call fcn.100e4a90
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
call fcn.100e7960
cmp dword [esp + 0x5c], 0
je 0x10138dc3
cmp dword [esp + 0xa4], 0
je 0x10138ca7
push dword [esp + 0x18]
push 0x101f9bb4
push dword [esp + 0x18]
call fcn.100e6c60
add esp, 0xc
jmp 0x10138cd5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10138cd3
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
call fcn.100e4a90
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
call fcn.100e7960
mov eax, dword [esp + 0x2c]
jmp 0x10138cd9
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebp + 4], 0
jbe 0x10138ce3
mov ebp, dword [edi]
jmp 0x10138ce5
xor ebp, ebp
push ebp
push eax
push dword [esp + 0x64]
mov edx, 0x13
mov dword [esp + 0x40], ebp
mov ecx, ebx
call fcn.10124800
add esp, 0xc
test eax, eax
jne 0x10138da1
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.101677d0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x10138ddc
lea edx, [eax + 1]
mov ecx, esi
call fcn.101057f0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x10138d84
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x74]
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
call fcn.10102a60
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.101388b0
push dword [esp + 0x84]
call fcn.100e4440
add esp, 4
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.100e4500
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10138dc3
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.100e4500
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018d5a4
add esp, 0x88
ret
cmp ebp, 0xc
je 0x10138e12
mov eax, dword [esp + 0x84]
test eax, eax
je 0x10138e0a
push eax
push 0x101f675c
push ebx
call fcn.100e7900
add esp, 0xc
push dword [esp + 0x84]
call fcn.100e4440
add esp, 4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], ebp
jmp 0x10138da1
mov ecx, dword [esp + 0x5c]
call fcn.10138980
mov ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x10138da1
test byte [ebp + 5], 1
je 0x10138e3e
mov ecx, ebx
call fcn.1013c520
test eax, eax
jne 0x10138da1
mov al, byte [ebp + 5]
test al, 2
jne 0x10138e5a
test al, 4
je 0x10138e51
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x10138e5e
mov edx, ebp
mov ecx, esi
call fcn.10138770
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ebp + 4]
cmp eax, 0x28
ja case.0x10138e6b.3
jmp dword [eax*4 + 0x1013b440]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, ebp
call fcn.101049a0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10138eb0
add dword [ebx + 0x2c], 2
lea edx, [eax + 9]
push eax
push 0x101e6410
mov ecx, esi
call fcn.10103fb0
add esp, 8
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x7c], 0xfffff830
jmp 0x10138da1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, eax
call fcn.100e83a0
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x10138edc
cmp ebp, 0x80000000
jne 0x10138eda
mov ebp, 0x7fffffff
jmp 0x10138edc
neg ebp
push dword [esp + 0x30]
xor edx, edx
mov ecx, ebx
call fcn.1012adf0
add esp, 4
mov edx, 0x5e
mov ecx, esi
push ebp
push 3
push dword [esp + 0x38]
call fcn.10103710
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.100f86f0
jmp 0x10138da1
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x10138f52
test edi, edi
je 0x10138f3e
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.100e83a0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
mov dword [eax + 0x5c], edx
call fcn.100f8930
add esp, 8
cmp eax, 7
jne 0x10138da1
mov ecx, dword [esp + 0x10]
call fcn.100e4bd0
jmp 0x10138da1
mov ebp, dword [edi + 4]
or edx, 0xffffffff
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x10138fd2
mov edx, str.fast
call fcn.100e7a30
test eax, eax
jne 0x10138fb4
lea edx, [eax + 2]
jmp 0x10138fce
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0
call fcn.101385a0
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 0x1013900d
test edx, edx
js 0x1013900d
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x1013900d
xor edi, edi
mov esi, eax
nop
mov ecx, dword [esi + 0x10]
mov ecx, dword [edi + ecx + 4]
call fcn.100f8a50
mov edx, dword [esp + 0x24]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x10138ff0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.100f8a50
cdq
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, ebp
call fcn.1012ad30
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x101e6e10], 0x70
jne 0x10139056
push 0
mov edx, 0xa8
jmp 0x1013908b
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10139085
lea edx, [esp + 0x18]
call fcn.100e83a0
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x10139085
cmp eax, 0x80000000
jne 0x10139083
mov eax, 0x7fffffff
jmp 0x10139085
neg eax
push eax
mov edx, 0xa9
push edi
push ebp
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, 0x50
mov ecx, esi
push 0
push 1
push edi
call fcn.10103710
add esp, 0xc
jmp 0x10138da1
mov ebx, str.normal
mov ebp, str.exclusive
test ecx, ecx
je 0x101390e1
mov edx, ebp
call fcn.100e7a30
test eax, eax
jne 0x101390ce
lea edx, [eax + 1]
jmp 0x101390e4
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.100e7a30
test eax, eax
jne 0x101390e1
xor edx, edx
jmp 0x101390e4
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
cmp dword [eax + 4], 0
jne 0x10139157
mov eax, dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x10139113
movzx eax, byte [eax + 0x53]
mov ecx, esi
cmp eax, 1
cmove ebx, ebp
mov edx, ebx
call fcn.101388b0
jmp 0x10138da1
mov ebp, 2
cmp dword [eax + 0x14], ebp
jle 0x1013914f
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.100f3110
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 0x10]
inc ebp
cmp ebp, dword [esi + 0x14]
jl 0x10139124
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.100f3110
cmp eax, 1
mov ecx, esi
cmove ebx, ebp
mov edx, ebx
call fcn.101388b0
jmp 0x10138da1
test ecx, ecx
je 0x101391cd
mov edi, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10139181
sub edi, ecx
and edi, 0x3fffffff
xor ebx, ebx
cmp ebx, 6
je 0x101391cd
mov eax, dword [ebx*4 + 0x101e5fdc]
test eax, eax
je 0x101391cd
push edi
push eax
push dword [esp + 0x34]
call fcn.100e7a70
add esp, 0xc
test eax, eax
je 0x101391b7
inc ebx
jmp 0x10139192
cmp ebx, 2
jne 0x101391e9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x101391ee
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x101391f2
xor edx, edx
mov dword [ecx + 4], 1
mov dword [esp + 0x30], edx
jmp 0x101391f6
cmp ebx, 0xffffffff
je 0x101391d0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x10139254
mov ebp, edi
shl ebp, 4
nop word [eax + eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + ebp + 4], 0
je 0x10139240
cmp edi, edx
je 0x10139224
cmp dword [ecx + 4], 0
jne 0x10139240
mov edx, edi
mov ecx, esi
call fcn.101049a0
push ebx
push 1
push edi
mov edx, 7
mov ecx, esi
call fcn.10103710
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 0x10139210
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.10103710
add esp, 0xc
jmp 0x10138da1
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 0x101392c0
lea edx, [esp + 0x70]
mov ecx, eax
call fcn.100e8290
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jg 0x101392bc
jl 0x101392ad
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x101392c0
or ecx, 0xffffffff
or edx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x101392c0
mov ecx, dword [esp + 0x70]
cmp edx, 0xffffffff
jl 0x101392ec
jg 0x101392cc
cmp ecx, 0xffffffff
jb 0x101392ec
mov dword [edi + 0xa0], ecx
mov eax, dword [esp + 0x74]
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x101392ec
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.10138810
add esp, 8
jmp 0x10138da1
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x10139331
mov ecx, edi
call fcn.100f8b30
cdq
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
call fcn.10138650
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x54], bl
call fcn.100f8ac0
test eax, eax
jne 0x10138da1
cmp ebx, 1
je 0x1013935e
cmp ebx, 2
jne 0x10138da1
mov edi, dword [esi + 0x6c]
mov edx, 5
push 0
push 0x101e9d60
mov ecx, esi
call fcn.10103fb0
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.101049a0
jmp 0x10138da1
test ecx, ecx
je 0x101393b4
lea edx, [esp + 0x14]
call fcn.100e83a0
test eax, eax
je 0x101393b4
cmp dword [esp + 0x14], 0
jg 0x101393bc
mov dword [esp + 0x14], 0x7fffffff
mov ebp, dword [esp + 0x30]
xor edx, edx
push ebp
mov ecx, ebx
call fcn.1012adf0
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0
push 1
push dword [esp + 0x1c]
call fcn.10103710
add esp, 0xc
mov edx, 0x3c
mov ecx, esi
push 0
push 0
push ebp
call fcn.10103710
add esp, 0xc
mov edx, 0x50
mov ecx, esi
mov edi, eax
push 0
push 0
push 1
call fcn.10103710
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 0xffffffffffffffff
push 1
call fcn.10103710
add esp, 0xc
mov edx, 0x30
mov ecx, esi
push 0
push edi
push 1
call fcn.10103710
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.10104120
jmp 0x10138da1
test ecx, ecx
jne 0x10139462
mov eax, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.100e83a0
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.100f86f0
jmp 0x10138da1
test ecx, ecx
jne 0x101394d0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
jne 0x101394b4
cdq
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.100f8770
cdq
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
call fcn.100e83a0
test eax, eax
je 0x101394f1
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call fcn.100f8770
cmp dword [esp + 0x14], 0
mov edx, 1
mov ecx, dword [esp + 0x2c]
setne al
movzx eax, al
push eax
call fcn.101385a0
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test al, al
je 0x10139521
or ecx, 0x20
jmp 0x10139524
and ecx, 0xffffffdf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, eax
mov dword [eax + 0x24], edx
call fcn.10138930
jmp 0x10138da1
test ecx, ecx
je 0x101395da
lea edx, [esp + 0x70]
call fcn.100e8290
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x10139572
jl 0x1013955d
mov edx, dword [esp + 0x70]
test edx, edx
jae 0x10139576
mov edx, dword [0x10223610]
mov eax, dword [0x10223614]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x10139576
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x1013958a
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x101395da
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 0x101395ce
cmp edi, dword [esp + 0x30]
je 0x101395b7
cmp dword [ecx + 4], 0
jne 0x101395ce
push dword [esp + 0x74]
mov ecx, eax
push edx
call fcn.100f8810
mov edx, dword [esp + 0x78]
add esp, 8
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
jns 0x101395a0
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.101677d0
add esp, 0x10
test eax, eax
jne 0x1013961f
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x74]
call fcn.10138810
add esp, 8
jmp 0x10138da1
mov ebp, dword [esp + 0x10]
cmp eax, 0xc
je 0x10138da5
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
jmp 0x10138da5
test ecx, ecx
jne 0x10139655
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x50]
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
call fcn.101386d0
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x50]
cmp ecx, eax
je 0x10138da1
mov ecx, ebx
call fcn.10138720
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x10138da5
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x50], al
jmp 0x10138da5
test ecx, ecx
jne 0x101396a1
mov edx, dword [0x102295d8]
mov ecx, esi
call fcn.101388b0
jmp 0x10138da1
cmp byte [ecx], 0
je 0x101396da
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 0x101396c7
cmp dword [esp + 0x1c], eax
jne 0x101396da
push str.not_a_writable_directory
push ebx
call fcn.100e7900
add esp, 8
jmp 0x10138da1
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x50], 1
ja 0x101396eb
mov ecx, ebx
call fcn.10138720
push dword [0x102295d8]
call fcn.100e4440
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x1013971a
push eax
push 0x101f675c
call fcn.100e6d50
add esp, 8
mov dword [0x102295d8], eax
jmp 0x10138da1
mov dword [0x102295d8], 0
jmp 0x10138da1
test ecx, ecx
jne 0x1013973f
mov edx, dword [0x102295d4]
mov ecx, esi
call fcn.101388b0
jmp 0x10138da1
cmp byte [ecx], 0
je 0x10139778
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 0x10139765
cmp dword [esp + 0x1c], eax
jne 0x10139778
push str.not_a_writable_directory
push ebx
call fcn.100e7900
add esp, 8
jmp 0x10138da1
push dword [0x102295d4]
call fcn.100e4440
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x101397a7
push eax
push 0x101f675c
call fcn.100e6d50
add esp, 8
mov dword [0x102295d4], eax
jmp 0x10138da1
mov dword [0x102295d4], 0
jmp 0x10138da1
test ecx, ecx
jne 0x101397d5
movzx eax, byte [edi + 8]
cdq
sub eax, 1
sbb edx, ecx
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x4f], 0
jne 0x101397f2
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.100e7900
add esp, 8
jmp 0x10138da5
cmp dword [esp + 0x30], 1
je 0x10138da5
push 1
xor edx, edx
call fcn.101385a0
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.10138930
jmp 0x10138da5
test ecx, ecx
jne 0x10139882
mov edx, ebp
mov ecx, esi
call fcn.10138770
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 0x10139860
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, esi
call fcn.10138810
add esp, 8
jmp 0x10138da1
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.10138810
add esp, 8
jmp 0x10138da1
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x4f], 0
jne 0x10139898
and ebx, 0xffffbfff
push 0
mov edx, 1
call fcn.101385a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 0x20]
mov ebp, dword [ecx + 0x24]
test al, al
je 0x101398c1
or ebx, edx
or edi, ebp
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], edi
jmp 0x101398ef
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 0x101398ef
test edi, edi
jne 0x101398ef
mov dword [edx + 0x1f0], edi
mov dword [edx + 0x1f4], edi
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.10103710
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.10138930
jmp 0x10138da1
test ecx, ecx
je 0x10138da1
push dword [esp + 0x34]
mov edx, 2
push ecx
mov ecx, ebx
call fcn.10125030
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x10138da1
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x10139960
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10139960
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10139958
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x10139987
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x10139983
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x10139973
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], 7
call fcn.1012ad30
mov edx, edi
mov ecx, ebx
call fcn.10127e90
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 0x10138da1
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 0x101399fb
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x101399e3
inc dword [esp + 0x4c]
movzx eax, dx
jmp 0x10139ae0
test cl, 0x20
je 0x101399ef
mov edi, 2
jmp 0x101399fb
movzx edi, cl
and edi, 0x40
or edi, 0x20
shr edi, 5
test cl, 1
jne 0x10139a04
xor edx, edx
jmp 0x10139a37
mov ecx, dword [esp + 0x18]
mov edx, 1
test ecx, ecx
je 0x10139a33
mov eax, dword [esp + 0x44]
cwde
cmp eax, edx
jl 0x10139a33
mov ecx, dword [ecx + 4]
mov esi, eax
nop
movsx eax, word [ecx]
cmp eax, ebx
je 0x10139a2f
inc edx
add ecx, 2
cmp edx, esi
jle 0x10139a20
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x10139a50
cmp edi, 2
jae 0x10139a50
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
jmp 0x10139a58
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x10139a70
mov dword [esp + 0x24], str.issisi
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test cl, 4
jne 0x10139a89
mov dword [esp + 0x44], 0x101ee798
jmp 0x10139aa8
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10139a92
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.10103940
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 0x101399c0
jmp 0x10138da1
test ecx, ecx
je 0x10138da1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10125360
mov edi, eax
add esp, 4
test edi, edi
jne 0x10139b6b
push dword [esp + 0x34]
lea edx, [eax + 2]
mov ecx, ebx
push dword [esp + 0x30]
call fcn.10125030
add esp, 8
test eax, eax
je 0x10138da1
test byte [eax + 0x24], 0x80
je 0x10138da1
mov edi, dword [eax + 8]
test edi, edi
je 0x10138da1
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x10139b63
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x10139b53
test edi, edi
je 0x10138da1
mov ecx, dword [edi + 0x18]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x10139b8f
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10139b8f
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10139b87
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x10139ba2
movzx eax, word [edi + 0x34]
mov ecx, 6
jmp 0x10139bab
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.1012ad30
xor ebp, ebp
cmp word [esp + 0x14], bp
je 0x10138da1
nop dword [eax]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
movsx edx, ax
test ax, ax
jns 0x10139be3
xor eax, eax
jmp 0x10139bf0
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.10103940
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x10139c39
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.10103940
add esp, 0x18
push 0
push dword [ebx + 0x2c]
mov edx, 0x50
mov ecx, esi
push 1
call fcn.10103710
mov ecx, dword [esp + 0x20]
inc ebp
movzx eax, cx
add esp, 0xc
cmp ebp, eax
jl 0x10139bd0
jmp 0x10138da1
test ecx, ecx
je 0x10138da1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10124f20
mov edi, eax
add esp, 4
test edi, edi
je 0x10138da1
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x10139cac
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10139cac
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10139ca4
mov ecx, ebx
mov dword [ebx + 0x2c], 5
call fcn.1012ad30
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x10138da1
mov dword [esp + 0x70], 0x101f9c00
mov dword [esp + 0x74], 0x101f9c14
mov dword [esp + 0x78], 0x101f95a8
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.10103940
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x10139ce0
jmp 0x10138da1
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x1013b438
xor ebx, ebx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + ebx + 4]
test eax, eax
je 0x10139d70
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x10139d51
mov eax, 0x101e4dc8
jmp 0x10139d57
mov eax, dword [eax + 0xa8]
push eax
push dword [ecx + ebx]
push edi
push 0x101f9be8
push 1
push esi
call fcn.10103940
mov edx, dword [esp + 0x28]
add esp, 0x18
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x10139d34
jmp 0x10138da1
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov dword [ebx + 0x2c], 2
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x1013b438
nop dword [eax]
mov eax, dword [edi + 8]
push dword [eax]
push ebp
push 0x101f9be4
push 1
push esi
call fcn.10103940
mov edi, dword [edi]
add esp, 0x14
inc ebp
test edi, edi
jne 0x10139da0
jmp 0x10138da1
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
shr ebp, 5
mov dword [ebx + 0x2c], 6
and ebp, 1
mov ebx, 0x10229d10
nop dword [eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x10139dfc
push ebp
push 1
mov edx, edi
mov ecx, esi
call fcn.10138a00
mov edi, dword [edi + 0x24]
add esp, 8
test edi, edi
jne 0x10139de6
add ebx, 4
cmp ebx, 0x10229d6c
jl 0x10139de0
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x1013b438
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, esi
push ebp
push 0
call fcn.10138a00
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x10139e20
jmp 0x10138da1
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x2c], 1
mov edi, dword [edx + 0x170]
test edi, edi
je 0x1013b438
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x101f9b3c
push 1
push esi
call fcn.10103940
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x10139e54
jmp 0x10138da1
mov edi, 0x101e82d8
nop word [eax + eax]
push dword [edi]
push 0x101f9b3c
push 1
push esi
call fcn.10103940
add edi, 0x10
add esp, 0x10
cmp edi, 0x101e86e8
jl 0x10139e80
jmp 0x10138da1
test ecx, ecx
je 0x10138da1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.10124f20
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10138da1
mov edi, dword [eax + 0x10]
test edi, edi
je 0x10138da1
mov ecx, dword [eax + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x10139ef8
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x10139ef8
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10139ef0
xor ebp, ebp
mov dword [ebx + 0x2c], 8
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.1012ad30
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x10139fcb
lea ebp, [edi + 0x24]
nop
movzx eax, byte [edi + 0x19]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x10139f2c
jmp dword [eax*4 + 0x1013b4e4]
mov ecx, str.SET_NULL
jmp 0x10139f54
mov ecx, str.SET_DEFAULT
jmp 0x10139f54
mov ecx, str.CASCADE
jmp 0x10139f54
mov ecx, str.RESTRICT
jmp 0x10139f54
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x10139f60
jmp dword [eax*4 + 0x1013b4f4]
mov eax, str.SET_NULL
jmp 0x10139f88
mov eax, str.SET_DEFAULT
jmp 0x10139f88
mov eax, str.CASCADE
jmp 0x10139f88
mov eax, str.RESTRICT
jmp 0x10139f88
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.10103940
inc ebx
add esp, 0x2c
add ebp, 8
cmp ebx, dword [edi + 0x14]
jl 0x10139f20
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x10139f10
jmp 0x10138da1
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 0x1013b438
nop
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x1013a033
push dword [esp + 0x34]
xor edx, edx
push ecx
mov ecx, ebx
call fcn.10125030
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x1013a038
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x1013a41b
cmp dword [edi + 0x10], 0
je 0x1013a41b
mov ecx, dword [edi + 0x48]
mov ebp, 0xfff0bdc0
test ecx, ecx
je 0x1013a078
mov eax, dword [edx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x1013a078
nop word [eax + eax]
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x1013a070
mov edx, ebp
mov ecx, ebx
call fcn.1012ad30
push dword [edi]
mov edx, ebp
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.10124890
mov ecx, dword [esp + 0x44]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
cmp eax, dword [ebx + 0x2c]
jle 0x1013a0a7
mov dword [ebx + 0x2c], eax
push 0x60
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.101335c0
mov edi, dword [edi]
add esp, 0xc
mov edx, 0x73
mov ecx, esi
push 0
push dword [esp + 0x50]
push 0
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.101044c0
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 0x1013a1ca
nop dword [eax + eax]
push dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.10124f20
mov edi, eax
add esp, 4
test edi, edi
je 0x1013a1aa
mov dword [esp + 0x28], 0
mov edx, ebp
push dword [edi]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.10124890
add esp, 0xc
lea eax, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 0
push eax
push dword [esp + 0x1c]
call fcn.10131160
add esp, 0xc
test eax, eax
jne 0x10138da1
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1013a173
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x60
push edi
push ebp
call fcn.101335c0
add esp, 0xc
jmp 0x1013a1aa
push ebp
push dword [eax + 0x2c]
mov edx, 0x60
mov ecx, esi
push dword [esp + 0x2c]
call fcn.10103710
mov edx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [ebx + 8]
mov ecx, ebx
call fcn.1012b440
test eax, eax
je 0x1013a1aa
push 0xfffffffffffffff7
mov edx, eax
mov ecx, edi
call fcn.10104550
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 0x1013a100
mov edi, dword [esp + 0x48]
cmp dword [ebx + 0x28], ecx
jge 0x1013a1d2
mov dword [ebx + 0x28], ecx
push 0
push 0
push 0
mov edx, 0x25
mov ecx, esi
call fcn.10103710
mov ebp, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x1013a3f7
nop
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.10124f20
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 0x1013a246
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.10131160
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 0x1013a2bc
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0x24]
inc ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1013a26c
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.1011ce30
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push 0
push dword [esp + 0x28]
push ebx
call fcn.10103710
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 0x1013a2b4
mov ecx, dword [esp + 0x50]
jmp 0x1013a265
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x1013a329
mov ecx, dword [esp + 0x10]
call fcn.10133700
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.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push ebx
push edi
call fcn.101044c0
push dword [esp + 0x40]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.10103710
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x51], 0
jne 0x1013a367
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 0x1013a367
cmp dword [esp + 0x58], 0
je 0x1013a367
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.10103710
add esp, 0xc
mov edx, 0xb
mov ecx, esi
push 0
push dword [esp + 0x28]
push 0
call fcn.10103710
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.10103710
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edi - 1]
push eax
push dword [ebp + 8]
lea eax, [ebx + 2]
push 0x101f9c8c
push eax
push esi
call fcn.10103940
add esp, 0x14
mov edx, 0x50
mov ecx, esi
push 0
push 4
push ebx
call fcn.10103710
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
call fcn.10103e50
mov edx, dword [esp + 0x50]
test edx, edx
je 0x1013a3df
mov ecx, dword [esp + 0x10]
call fcn.100e4500
mov ebp, dword [ebp + 4]
inc edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x1013a200
mov eax, dword [esp + 0x14]
push 0
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.10103710
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.10104120
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10138da1
mov edx, dword [esp + 0x10]
jmp 0x1013a010
test ecx, ecx
je 0x10138da1
push 0
mov edx, 1
call fcn.101385a0
mov ecx, dword [esp + 0x14]
xor edx, edx
add esp, 4
test al, al
setne dl
call fcn.10130f30
jmp 0x10138da1
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov edi, dword [esp + 0x30]
movzx eax, byte [eax]
mov al, byte [eax + 0x101e6e10]
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 0x1013a4ad
lea edx, [esp + 0x14]
call fcn.100e83a0
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.10103710
mov ebp, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], eax
jle 0x1013ae1f
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov dword [esp + 0x20], 0
test edi, edi
js 0x1013a4f4
cmp eax, edi
jne 0x1013ae04
mov edx, eax
mov ecx, ebx
call fcn.1012ad30
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 0x1013a55d
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 0x1013a541
mov eax, dword [eax + 0x14]
inc edx
inc edi
test eax, eax
jne 0x1013a538
mov ebp, dword [ebp]
cmp edi, esi
cmovle edi, esi
mov esi, edi
test ebp, ebp
jne 0x1013a520
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.100e47f0
mov edi, eax
add esp, 8
test edi, edi
je 0x1013ae1b
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x1013a5bc
nop word [eax + eax]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x24], 0x80
jne 0x1013a5a0
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x1013a5b5
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x1013a5a7
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1013a590
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.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push edi
call fcn.101044c0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x1013a617
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.10103710
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.100e6c60
add esp, 0xc
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.101044c0
push 3
push 3
push 2
mov edx, 0x6e
mov ecx, esi
call fcn.10103710
add esp, 0x14
mov ecx, esi
call fcn.10138a90
mov edx, ebx
mov ecx, esi
call fcn.10104120
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1013adf0
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 0x1013adde
test byte [ebx + 0x24], 0x80
jne 0x1013a6e1
mov dword [esp + 0x28], 0
jmp 0x1013a704
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x1013a704
nop dword [eax]
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x1013a700
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x1013a6f0
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.10136f70
push 0
push 7
push 0
mov edx, 0x45
mov ecx, esi
call fcn.10103710
mov edi, dword [ebx + 8]
add esp, 0x24
test edi, edi
je 0x1013a75e
mov ebp, 8
push 0
push ebp
push 0
mov edx, 0x45
mov ecx, esi
call fcn.10103710
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebp
test edi, edi
jne 0x1013a742
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 1
push 7
call fcn.10103710
add esp, 0xc
mov dword [esp + 0x70], eax
cmp byte [esp + 0x3f], 0x71
je 0x1013a7c7
movsx ecx, word [ebx + 0x2c]
mov edx, 0x59
dec ecx
push 3
push ecx
push dword [esp + 0x40]
mov ecx, esi
call fcn.10103710
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x1013a7c7
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 0x1013a8c6
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
movsx eax, word [ebx + 0x28]
cmp ebp, eax
je 0x1013a8b2
mov eax, dword [ebx + 4]
cmp byte [eax + edi + 0xc], 0
je 0x1013a8b2
push 3
push ebp
push dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.1011ce30
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 0x1013a825
mov eax, 0x10229c9c
jmp 0x1013a82d
mov eax, dword [esi + 0x68]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x59
jne 0x1013a843
test edx, edx
jle 0x1013a843
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.10103710
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.100e6c60
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
mov edi, eax
call fcn.10103710
add esp, 0x1c
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.101044c0
add esp, 8
mov ecx, esi
call fcn.10138a90
mov edx, ebx
mov ecx, esi
call fcn.10104120
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 0x1013a7e0
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x1013a9de
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
and eax, 0x200
or eax, 0
jne 0x1013a9de
push eax
mov ecx, edi
call fcn.10119530
add esp, 4
mov edx, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x54], edx
jne 0x1013a9d3
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 0x1013a95f
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.1011ec80
dec edi
lea ebp, [ebp - 0x14]
add esp, 0x10
test edi, edi
jg 0x1013a938
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.1011e8a0
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.10103e50
mov dword [ebp + 0x34], 0
push dword [ebx]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.100e6c60
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.101044c0
add esp, 8
mov ecx, esi
call fcn.10138a90
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.10103e50
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x1013a9de
mov ecx, edi
call fcn.1011a120
cmp byte [esp + 0x3f], 0x71
je 0x1013acc3
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x1013acbf
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 0x1013acb0
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.1012d1e0
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.10103710
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.10103710
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x51], 0
jne 0x1013aa9c
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.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.row
call fcn.101044c0
push 3
push 3
push 7
mov edx, 0x6e
mov ecx, esi
call fcn.10103710
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str._missing_from_index
call fcn.101044c0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.10103710
mov edi, dword [ebx]
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.10103710
add esp, 0xc
mov dword [esp + 0x64], eax
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.101044c0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.10103710
add esp, 0x14
mov ecx, esi
call fcn.10138a90
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.10104120
cmp byte [ebx + 0x36], 0
je 0x1013ac89
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 0x1013abc2
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi*2]
test eax, eax
js 0x1013ab9c
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
cmp byte [eax + ecx*4 + 0xc], 0
jne 0x1013abb9
mov eax, dword [esp + 0x50]
mov ecx, esi
push 0
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.10103710
mov edx, dword [esp + 0x24]
add esp, 0xc
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x1013ab84
mov eax, dword [esp + 0x44]
mov edx, 5
add eax, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push eax
call fcn.10103710
add esp, 0xc
mov edx, 0xb
mov ecx, esi
mov edi, eax
push 0
push dword [esp + 0x1c]
push 0
call fcn.10103710
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.10104120
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.10103710
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x1013ac44
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.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.non_unique_entry_in_index
call fcn.101044c0
push 0
push dword [esp + 0x70]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.10103710
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.10103e50
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.10104120
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x1013acac
mov ecx, dword [eax + 8]
call fcn.10103e50
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x20]
test ebx, ebx
jne 0x1013aa08
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.10103710
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.10104120
cmp byte [esp + 0x3f], 0x71
je 0x1013adde
push 0
push 2
push 0
mov edx, 0x73
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.wrong__of_entries_in_index
call fcn.101044c0
mov ebx, dword [ebx + 8]
add esp, 8
xor ebp, ebp
test ebx, ebx
je 0x1013adde
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
cmp eax, ebx
je 0x1013add2
mov eax, dword [esp + 0x44]
mov edx, 0x5c
push 0
add eax, ebp
mov ecx, esi
push 3
push eax
call fcn.10103710
add esp, 0xc
lea eax, [ebp + 8]
mov edx, 0x35
mov ecx, esi
push 3
push 0
push eax
call fcn.10103710
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x70], eax
test ecx, ecx
jle 0x1013ad84
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.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.101044c0
push 3
push 2
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.10103710
add esp, 0x14
mov ecx, esi
call fcn.10138a90
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.10104120
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc ebp
test ebx, ebx
jne 0x1013ad30
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x1013a6b0
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 0x1013a4e0
jmp 0x1013ae1f
mov ebp, dword [esp + 0x10]
push 0
push 0x101ea1fc
mov edx, 7
mov ecx, esi
call fcn.10103fb0
mov edi, eax
add esp, 8
test edi, edi
je 0x1013ae63
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], 0x101f9cec
mov byte [edi + 0x65], 0xff
call fcn.10165130
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov ecx, 0x10229c9c
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x1013ae76
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x10138da5
test ecx, ecx
jne 0x1013aead
mov ecx, ebx
call fcn.1013c520
test eax, eax
jne 0x10138da1
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x101e4800]
call fcn.101388b0
jmp 0x10138da1
mov eax, dword [esp + 0x10]
mov ecx, 1
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x1013aee7
mov edx, dword [eax + 0x10]
add edx, 0xc
cmp dword [edx - 8], 0
je 0x1013aed7
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 0x1013aec3
test ecx, ecx
je 0x10138da1
mov eax, dword [str.UTF8]
mov esi, 0x101e4800
test eax, eax
je 0x1013af39
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.100e7a30
test eax, eax
je 0x1013af10
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x1013aef5
jmp 0x1013af39
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 0x10138da1
push dword [esp + 0x2c]
push str.unsupported_encoding:__s
push ebx
call fcn.100e7900
add esp, 0xc
jmp 0x10138da1
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [ebp + 8]
mov edx, ebx
call fcn.101049a0
cmp dword [esp + 0x2c], 0
je 0x1013afaf
test byte [ebp + 5], 8
jne 0x1013afaf
push 0
push 0x101e4918
mov edx, 2
mov ecx, esi
call fcn.10103fb0
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.100e83a0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
jmp 0x10138da1
push 0
push 0x101e9dc4
mov edx, 3
mov ecx, esi
call fcn.10103fb0
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x98], 0xffffffbf
jmp 0x10138da1
xor edi, edi
mov dword [ebx + 0x2c], 1
cmp edi, 5
ja 0x1013aff1
mov ebx, dword [edi*4 + 0x101e7f70]
jmp 0x1013aff3
xor ebx, ebx
inc edi
test ebx, ebx
je 0x1013afce
push 0
push 1
push 0
mov edx, 0x73
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push ebx
call fcn.101044c0
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.10103710
add esp, 0x14
jmp 0x1013afe3
mov eax, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [eax], 0
cmovne ebp, dword [esp + 0x30]
xor edi, edi
test ecx, ecx
je 0x1013b089
mov edx, str.full
call fcn.100e7a30
test eax, eax
jne 0x1013b05a
lea edi, [eax + 1]
jmp 0x1013b089
mov ecx, dword [esp + 0x2c]
mov edx, str.restart
call fcn.100e7a30
test eax, eax
jne 0x1013b071
lea edi, [eax + 2]
jmp 0x1013b089
mov ecx, dword [esp + 0x2c]
mov edx, str.truncate
call fcn.100e7a30
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.10103710
add esp, 0xc
push 0
push 3
jmp 0x10139258
test ecx, ecx
je 0x1013b0e1
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.100e83a0
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x1013b0d1
push eax
push 0x10165a30
jmp 0x1013b0d5
push 0
push 0
push dword [esp + 0x18]
call fcn.10165b90
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf8], 0x10165a30
jne 0x10138f3e
mov eax, dword [eax + 0xfc]
mov ecx, esi
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
push dword [esp + 0x10]
call fcn.10164610
jmp 0x10138d9e
test ecx, ecx
je 0x1013b143
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.100e83a0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
test cl, 2
je 0x10138da1
jmp 0x1013b14b
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 0x1013b167
mov dword [esp + 0x14], edi
jmp 0x1013b17b
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x1013b2e6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edi, 1
je 0x1013b2d2
mov edx, edi
mov ecx, ebx
call fcn.1012ad30
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 0x1013b2ca
nop
mov edi, dword [ebp + 8]
test dword [edi + 0x24], 0x100
je 0x1013b2bb
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 0x1013b1e3
test byte [eax + 0x38], 0x80
je 0x1013b22a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x1013b1d6
test cx, cx
je 0x1013b22a
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x60
push edi
push dword [esp + 0x38]
call fcn.101335c0
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.10103710
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.100e6c60
add esp, 0x10
mov edi, eax
test byte [esp + 0x18], 1
mov dword [esp + 0x70], edi
je 0x1013b293
mov ecx, ebx
call fcn.1011fda0
mov edi, eax
mov edx, 0x73
push 0
push edi
push 0
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push dword [esp + 0x74]
call fcn.101044c0
push 0
push 1
push edi
mov edx, 0x50
mov ecx, esi
call fcn.10103710
add esp, 0x14
jmp 0x1013b2b7
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.10103710
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.101044c0
add esp, 8
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x1013b1b0
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 0x1013b183
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.10103710
add esp, 0xc
jmp 0x10138da1
test ecx, ecx
je 0x1013b321
lea edx, [esp + 0x70]
call fcn.100e8290
test eax, eax
jne 0x1013b321
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.100e3f60
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.100e3f60
push edx
push eax
mov ecx, esi
call fcn.10138810
add esp, 0x10
jmp 0x10138da1
test ecx, ecx
je 0x1013b386
lea edx, [esp + 0x70]
call fcn.100e8290
test eax, eax
jne 0x1013b386
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.100e40a0
mov edi, dword [esp + 0x7c]
add esp, 8
mov ebx, eax
test edi, edi
jl 0x1013b386
mov ecx, dword [esp + 0x70]
jg 0x1013b36c
test ecx, ecx
je 0x1013b386
mov eax, ebx
or eax, edx
je 0x1013b37c
cmp edx, edi
jl 0x1013b386
jg 0x1013b37c
cmp ebx, ecx
jbe 0x1013b386
push edi
push ecx
call fcn.100e40a0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.100e40a0
push edx
push eax
mov ecx, esi
call fcn.10138810
add esp, 0x10
jmp 0x10138da1
test ecx, ecx
je 0x1013b3d5
lea edx, [esp + 0x70]
call fcn.100e8290
test eax, eax
jne 0x1013b3d5
cmp dword [esp + 0x74], eax
jl 0x1013b3d5
mov eax, dword [esp + 0x70]
jg 0x1013b3c1
test eax, eax
jb 0x1013b3d5
and eax, 0x7fffffff
push eax
push 0xb
push dword [esp + 0x18]
call fcn.101663e0
add esp, 0xc
push 0xffffffffffffffff
push 0xb
push dword [esp + 0x18]
call fcn.101663e0
add esp, 0xc
cdq
mov ecx, esi
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
test ecx, ecx
je 0x1013b41c
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.100e83a0
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.10165290
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1d8]
cdq
push edx
push eax
call fcn.10138810
add esp, 8
jmp 0x10138da1
mov ebp, edx
jmp 0x10138da5