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

Disassembly:
sub esp, 0x88
mov eax, dword [0x5c1068]
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.004ec150
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x4e5093
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.004d1cd0
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
js 0x4e5093
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 0x4e4f25
mov ecx, ebx
call fcn.004d6f60
test eax, eax
jne 0x4e5093
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4e5093
push 0
push dword [edx + 4]
mov edx, dword [edx]
call fcn.00490d80
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
call fcn.00493c40
cmp dword [esp + 0x5c], 0
je 0x4e5093
cmp dword [esp + 0xa4], 0
je 0x4e4f77
push dword [esp + 0x18]
push 0x5a5bec
push dword [esp + 0x18]
call fcn.00492f50
add esp, 0xc
jmp 0x4e4fa5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e4fa3
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
call fcn.00490d80
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
call fcn.00493c40
mov eax, dword [esp + 0x2c]
jmp 0x4e4fa9
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebp + 4], 0
jbe 0x4e4fb3
mov ebp, dword [edi]
jmp 0x4e4fb5
xor ebp, ebp
push ebp
push eax
push dword [esp + 0x64]
mov edx, 0x13
mov dword [esp + 0x40], ebp
mov ecx, ebx
call fcn.004d0ae0
add esp, 0xc
test eax, eax
jne 0x4e5071
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.00513aa0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x4e50ac
lea edx, [eax + 1]
mov ecx, esi
call fcn.004b1af0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4e5054
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x74]
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
call fcn.004aed60
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.004e4b80
push dword [esp + 0x84]
call fcn.00490730
add esp, 4
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.004907f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e5093
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.004907f0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005349ca
add esp, 0x88
ret
cmp ebp, 0xc
je 0x4e50e2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4e50da
push eax
push 0x5a2848
push ebx
call fcn.00493be0
add esp, 0xc
push dword [esp + 0x84]
call fcn.00490730
add esp, 4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], ebp
jmp 0x4e5071
mov ecx, dword [esp + 0x5c]
call fcn.004e4c50
mov ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x4e5071
test byte [ebp + 5], 1
je 0x4e510e
mov ecx, ebx
call fcn.004e87f0
test eax, eax
jne 0x4e5071
mov al, byte [ebp + 5]
test al, 2
jne 0x4e512a
test al, 4
je 0x4e5121
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4e512e
mov edx, ebp
mov ecx, esi
call fcn.004e4a40
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ebp + 4]
cmp eax, 0x28
ja case.0x4e513b.3
jmp dword [eax*4 + 0x4e7710]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, ebp
call fcn.004b0ca0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e5180
add dword [ebx + 0x2c], 2
lea edx, [eax + 9]
push eax
push 0x599304
mov ecx, esi
call fcn.004b02b0
add esp, 8
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x7c], 0xfffff830
jmp 0x4e5071
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, eax
call fcn.00494680
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x4e51ac
cmp ebp, 0x80000000
jne 0x4e51aa
mov ebp, 0x7fffffff
jmp 0x4e51ac
neg ebp
push dword [esp + 0x30]
xor edx, edx
mov ecx, ebx
call fcn.004d70c0
add esp, 4
mov edx, 0x5e
mov ecx, esi
push ebp
push 3
push dword [esp + 0x38]
call fcn.004afa10
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.004a49b0
jmp 0x4e5071
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4e5222
test edi, edi
je 0x4e520e
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00494680
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
mov dword [eax + 0x5c], edx
call fcn.004a4bf0
add esp, 8
cmp eax, 7
jne 0x4e5071
mov ecx, dword [esp + 0x10]
call fcn.00490ec0
jmp 0x4e5071
mov ebp, dword [edi + 4]
or edx, 0xffffffff
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4e52a2
mov edx, str.fast
call fcn.00493d10
test eax, eax
jne 0x4e5284
lea edx, [eax + 2]
jmp 0x4e529e
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0
call fcn.004e4870
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 0x4e52dd
test edx, edx
js 0x4e52dd
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x4e52dd
xor edi, edi
mov esi, eax
nop
mov ecx, dword [esi + 0x10]
mov ecx, dword [edi + ecx + 4]
call fcn.004a4d10
mov edx, dword [esp + 0x24]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x4e52c0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.004a4d10
cdq
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, ebp
call fcn.004d7000
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x599bf8], 0x70
jne 0x4e5326
push 0
mov edx, 0xa8
jmp 0x4e535b
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4e5355
lea edx, [esp + 0x18]
call fcn.00494680
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x4e5355
cmp eax, 0x80000000
jne 0x4e5353
mov eax, 0x7fffffff
jmp 0x4e5355
neg eax
push eax
mov edx, 0xa9
push edi
push ebp
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, 0x50
mov ecx, esi
push 0
push 1
push edi
call fcn.004afa10
add esp, 0xc
jmp 0x4e5071
mov ebx, str.normal
mov ebp, str.exclusive
test ecx, ecx
je 0x4e53b1
mov edx, ebp
call fcn.00493d10
test eax, eax
jne 0x4e539e
lea edx, [eax + 1]
jmp 0x4e53b4
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.00493d10
test eax, eax
jne 0x4e53b1
xor edx, edx
jmp 0x4e53b4
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
cmp dword [eax + 4], 0
jne 0x4e5427
mov eax, dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x4e53e3
movzx eax, byte [eax + 0x53]
mov ecx, esi
cmp eax, 1
cmove ebx, ebp
mov edx, ebx
call fcn.004e4b80
jmp 0x4e5071
mov ebp, 2
cmp dword [eax + 0x14], ebp
jle 0x4e541f
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.0049f3d0
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 0x10]
inc ebp
cmp ebp, dword [esi + 0x14]
jl 0x4e53f4
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.0049f3d0
cmp eax, 1
mov ecx, esi
cmove ebx, ebp
mov edx, ebx
call fcn.004e4b80
jmp 0x4e5071
test ecx, ecx
je 0x4e549d
mov edi, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4e5451
sub edi, ecx
and edi, 0x3fffffff
xor ebx, ebx
cmp ebx, 6
je 0x4e549d
mov eax, dword [ebx*4 + 0x598b5c]
test eax, eax
je 0x4e549d
push edi
push eax
push dword [esp + 0x34]
call fcn.00493d50
add esp, 0xc
test eax, eax
je 0x4e5487
inc ebx
jmp 0x4e5462
cmp ebx, 2
jne 0x4e54b9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x4e54be
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x4e54c2
xor edx, edx
mov dword [ecx + 4], 1
mov dword [esp + 0x30], edx
jmp 0x4e54c6
cmp ebx, 0xffffffff
je 0x4e54a0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x4e5524
mov ebp, edi
shl ebp, 4
nop word [eax + eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + ebp + 4], 0
je 0x4e5510
cmp edi, edx
je 0x4e54f4
cmp dword [ecx + 4], 0
jne 0x4e5510
mov edx, edi
mov ecx, esi
call fcn.004b0ca0
push ebx
push 1
push edi
mov edx, 7
mov ecx, esi
call fcn.004afa10
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 0x4e54e0
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.004afa10
add esp, 0xc
jmp 0x4e5071
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 0x4e5590
lea edx, [esp + 0x70]
mov ecx, eax
call fcn.00494570
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jg 0x4e558c
jl 0x4e557d
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x4e5590
or ecx, 0xffffffff
or edx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x4e5590
mov ecx, dword [esp + 0x70]
cmp edx, 0xffffffff
jl 0x4e55bc
jg 0x4e559c
cmp ecx, 0xffffffff
jb 0x4e55bc
mov dword [edi + 0xa0], ecx
mov eax, dword [esp + 0x74]
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x4e55bc
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.004e4ae0
add esp, 8
jmp 0x4e5071
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4e5601
mov ecx, edi
call fcn.004a4df0
cdq
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
call fcn.004e4920
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x54], bl
call fcn.004a4d80
test eax, eax
jne 0x4e5071
cmp ebx, 1
je 0x4e562e
cmp ebx, 2
jne 0x4e5071
mov edi, dword [esi + 0x6c]
mov edx, 5
push 0
push 0x59c6fc
mov ecx, esi
call fcn.004b02b0
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.004b0ca0
jmp 0x4e5071
test ecx, ecx
je 0x4e5684
lea edx, [esp + 0x14]
call fcn.00494680
test eax, eax
je 0x4e5684
cmp dword [esp + 0x14], 0
jg 0x4e568c
mov dword [esp + 0x14], 0x7fffffff
mov ebp, dword [esp + 0x30]
xor edx, edx
push ebp
mov ecx, ebx
call fcn.004d70c0
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0
push 1
push dword [esp + 0x1c]
call fcn.004afa10
add esp, 0xc
mov edx, 0x3c
mov ecx, esi
push 0
push 0
push ebp
call fcn.004afa10
add esp, 0xc
mov edx, 0x50
mov ecx, esi
mov edi, eax
push 0
push 0
push 1
call fcn.004afa10
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 0xffffffffffffffff
push 1
call fcn.004afa10
add esp, 0xc
mov edx, 0x30
mov ecx, esi
push 0
push edi
push 1
call fcn.004afa10
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.004b0420
jmp 0x4e5071
test ecx, ecx
jne 0x4e5732
mov eax, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00494680
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.004a49b0
jmp 0x4e5071
test ecx, ecx
jne 0x4e57a0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
jne 0x4e5784
cdq
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.004a4a30
cdq
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
call fcn.00494680
test eax, eax
je 0x4e57c1
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call fcn.004a4a30
cmp dword [esp + 0x14], 0
mov edx, 1
mov ecx, dword [esp + 0x2c]
setne al
movzx eax, al
push eax
call fcn.004e4870
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test al, al
je 0x4e57f1
or ecx, 0x20
jmp 0x4e57f4
and ecx, 0xffffffdf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, eax
mov dword [eax + 0x24], edx
call fcn.004e4c00
jmp 0x4e5071
test ecx, ecx
je 0x4e58aa
lea edx, [esp + 0x70]
call fcn.00494570
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x4e5842
jl 0x4e582d
mov edx, dword [esp + 0x70]
test edx, edx
jae 0x4e5846
mov edx, dword [0x5c1b58]
mov eax, dword [0x5c1b5c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x4e5846
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x4e585a
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x4e58aa
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 0x4e589e
cmp edi, dword [esp + 0x30]
je 0x4e5887
cmp dword [ecx + 4], 0
jne 0x4e589e
push dword [esp + 0x74]
mov ecx, eax
push edx
call fcn.004a4ad0
mov edx, dword [esp + 0x78]
add esp, 8
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
jns 0x4e5870
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.00513aa0
add esp, 0x10
test eax, eax
jne 0x4e58ef
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x74]
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
mov ebp, dword [esp + 0x10]
cmp eax, 0xc
je 0x4e5075
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
jmp 0x4e5075
test ecx, ecx
jne 0x4e5925
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x50]
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
call fcn.004e49a0
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x50]
cmp ecx, eax
je 0x4e5071
mov ecx, ebx
call fcn.004e49f0
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x4e5075
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x50], al
jmp 0x4e5075
test ecx, ecx
jne 0x4e5971
mov edx, dword [0x5c61c8]
mov ecx, esi
call fcn.004e4b80
jmp 0x4e5071
cmp byte [ecx], 0
je 0x4e59aa
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 0x4e5997
cmp dword [esp + 0x1c], eax
jne 0x4e59aa
push str.not_a_writable_directory
push ebx
call fcn.00493be0
add esp, 8
jmp 0x4e5071
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x50], 1
ja 0x4e59bb
mov ecx, ebx
call fcn.004e49f0
push dword [0x5c61c8]
call fcn.00490730
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x4e59ea
push eax
push 0x5a2848
call fcn.00493040
add esp, 8
mov dword [0x5c61c8], eax
jmp 0x4e5071
mov dword [0x5c61c8], 0
jmp 0x4e5071
test ecx, ecx
jne 0x4e5a0f
mov edx, dword [0x5c61c4]
mov ecx, esi
call fcn.004e4b80
jmp 0x4e5071
cmp byte [ecx], 0
je 0x4e5a48
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 0x4e5a35
cmp dword [esp + 0x1c], eax
jne 0x4e5a48
push str.not_a_writable_directory
push ebx
call fcn.00493be0
add esp, 8
jmp 0x4e5071
push dword [0x5c61c4]
call fcn.00490730
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x4e5a77
push eax
push 0x5a2848
call fcn.00493040
add esp, 8
mov dword [0x5c61c4], eax
jmp 0x4e5071
mov dword [0x5c61c4], 0
jmp 0x4e5071
test ecx, ecx
jne 0x4e5aa5
movzx eax, byte [edi + 8]
cdq
sub eax, 1
sbb edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x4f], 0
jne 0x4e5ac2
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.00493be0
add esp, 8
jmp 0x4e5075
cmp dword [esp + 0x30], 1
je 0x4e5075
push 1
xor edx, edx
call fcn.004e4870
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.004e4c00
jmp 0x4e5075
test ecx, ecx
jne 0x4e5b52
mov edx, ebp
mov ecx, esi
call fcn.004e4a40
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 0x4e5b30
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, esi
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
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.004e4ae0
add esp, 8
jmp 0x4e5071
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x4f], 0
jne 0x4e5b68
and ebx, 0xffffbfff
push 0
mov edx, 1
call fcn.004e4870
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 0x20]
mov ebp, dword [ecx + 0x24]
test al, al
je 0x4e5b91
or ebx, edx
or edi, ebp
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], edi
jmp 0x4e5bbf
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 0x4e5bbf
test edi, edi
jne 0x4e5bbf
mov dword [edx + 0x1f0], edi
mov dword [edx + 0x1f4], edi
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.004afa10
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.004e4c00
jmp 0x4e5071
test ecx, ecx
je 0x4e5071
push dword [esp + 0x34]
mov edx, 2
push ecx
mov ecx, ebx
call fcn.004d1300
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x4e5071
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4e5c30
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e5c30
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4e5c28
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4e5c57
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4e5c53
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4e5c43
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], 7
call fcn.004d7000
mov edx, edi
mov ecx, ebx
call fcn.004d4160
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 0x4e5071
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 0x4e5ccb
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x4e5cb3
inc dword [esp + 0x4c]
movzx eax, dx
jmp 0x4e5db0
test cl, 0x20
je 0x4e5cbf
mov edi, 2
jmp 0x4e5ccb
movzx edi, cl
and edi, 0x40
or edi, 0x20
shr edi, 5
test cl, 1
jne 0x4e5cd4
xor edx, edx
jmp 0x4e5d07
mov ecx, dword [esp + 0x18]
mov edx, 1
test ecx, ecx
je 0x4e5d03
mov eax, dword [esp + 0x44]
cwde
cmp eax, edx
jl 0x4e5d03
mov ecx, dword [ecx + 4]
mov esi, eax
nop
movsx eax, word [ecx]
cmp eax, ebx
je 0x4e5cff
inc edx
add ecx, 2
cmp edx, esi
jle 0x4e5cf0
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x4e5d20
cmp edi, 2
jae 0x4e5d20
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
jmp 0x4e5d28
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x4e5d40
mov dword [esp + 0x24], str.issisi
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test cl, 4
jne 0x4e5d59
mov dword [esp + 0x44], 0x59f156
jmp 0x4e5d78
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e5d62
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.004afc40
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 0x4e5c90
jmp 0x4e5071
test ecx, ecx
je 0x4e5071
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004d1630
mov edi, eax
add esp, 4
test edi, edi
jne 0x4e5e3b
push dword [esp + 0x34]
lea edx, [eax + 2]
mov ecx, ebx
push dword [esp + 0x30]
call fcn.004d1300
add esp, 8
test eax, eax
je 0x4e5071
test byte [eax + 0x24], 0x80
je 0x4e5071
mov edi, dword [eax + 8]
test edi, edi
je 0x4e5071
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4e5e33
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4e5e23
test edi, edi
je 0x4e5071
mov ecx, dword [edi + 0x18]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4e5e5f
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e5e5f
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4e5e57
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x4e5e72
movzx eax, word [edi + 0x34]
mov ecx, 6
jmp 0x4e5e7b
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.004d7000
xor ebp, ebp
cmp word [esp + 0x14], bp
je 0x4e5071
nop dword [eax]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
movsx edx, ax
test ax, ax
jns 0x4e5eb3
xor eax, eax
jmp 0x4e5ec0
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.004afc40
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x4e5f09
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.004afc40
add esp, 0x18
push 0
push dword [ebx + 0x2c]
mov edx, 0x50
mov ecx, esi
push 1
call fcn.004afa10
mov ecx, dword [esp + 0x20]
inc ebp
movzx eax, cx
add esp, 0xc
cmp ebp, eax
jl 0x4e5ea0
jmp 0x4e5071
test ecx, ecx
je 0x4e5071
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004d11f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4e5071
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4e5f7c
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e5f7c
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4e5f74
mov ecx, ebx
mov dword [ebx + 0x2c], 5
call fcn.004d7000
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x4e5071
mov dword [esp + 0x70], 0x5a5c68
mov dword [esp + 0x74], 0x5a5c6c
mov dword [esp + 0x78], 0x5a5620
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.004afc40
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x4e5fb0
jmp 0x4e5071
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x4e7708
xor ebx, ebx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + ebx + 4]
test eax, eax
je 0x4e6040
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x4e6021
mov eax, 0x5982c8
jmp 0x4e6027
mov eax, dword [eax + 0xa8]
push eax
push dword [ecx + ebx]
push edi
push 0x5a5c94
push 1
push esi
call fcn.004afc40
mov edx, dword [esp + 0x28]
add esp, 0x18
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x4e6004
jmp 0x4e5071
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov dword [ebx + 0x2c], 2
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x4e7708
nop dword [eax]
mov eax, dword [edi + 8]
push dword [eax]
push ebp
push 0x5a5c80
push 1
push esi
call fcn.004afc40
mov edi, dword [edi]
add esp, 0x14
inc ebp
test edi, edi
jne 0x4e6070
jmp 0x4e5071
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
shr ebp, 5
mov dword [ebx + 0x2c], 6
and ebp, 1
mov ebx, 0x5c6748
nop dword [eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x4e60cc
push ebp
push 1
mov edx, edi
mov ecx, esi
call fcn.004e4cd0
mov edi, dword [edi + 0x24]
add esp, 8
test edi, edi
jne 0x4e60b6
add ebx, 4
cmp ebx, 0x5c67a4
jl 0x4e60b0
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x4e7708
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, esi
push ebp
push 0
call fcn.004e4cd0
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x4e60f0
jmp 0x4e5071
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x2c], 1
mov edi, dword [edx + 0x170]
test edi, edi
je 0x4e7708
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x5a5bf8
push 1
push esi
call fcn.004afc40
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x4e6124
jmp 0x4e5071
mov edi, 0x59a078
nop word [eax + eax]
push dword [edi]
push 0x5a5bf8
push 1
push esi
call fcn.004afc40
add edi, 0x10
add esp, 0x10
cmp edi, 0x59a488
jl 0x4e6150
jmp 0x4e5071
test ecx, ecx
je 0x4e5071
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004d11f0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e5071
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4e5071
mov ecx, dword [eax + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4e61c8
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e61c8
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4e61c0
xor ebp, ebp
mov dword [ebx + 0x2c], 8
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.004d7000
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x4e629b
lea ebp, [edi + 0x24]
nop
movzx eax, byte [edi + 0x19]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x4e61fc
jmp dword [eax*4 + 0x4e77b4]
mov ecx, str.SET_NULL
jmp 0x4e6224
mov ecx, str.SET_DEFAULT
jmp 0x4e6224
mov ecx, str.CASCADE
jmp 0x4e6224
mov ecx, str.RESTRICT
jmp 0x4e6224
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x4e6230
jmp dword [eax*4 + 0x4e77c4]
mov eax, str.SET_NULL
jmp 0x4e6258
mov eax, str.SET_DEFAULT
jmp 0x4e6258
mov eax, str.CASCADE
jmp 0x4e6258
mov eax, str.RESTRICT
jmp 0x4e6258
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.004afc40
inc ebx
add esp, 0x2c
add ebp, 8
cmp ebx, dword [edi + 0x14]
jl 0x4e61f0
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x4e61e0
jmp 0x4e5071
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 0x4e7708
nop
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4e6303
push dword [esp + 0x34]
xor edx, edx
push ecx
mov ecx, ebx
call fcn.004d1300
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x4e6308
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x4e66eb
cmp dword [edi + 0x10], 0
je 0x4e66eb
mov ecx, dword [edi + 0x48]
mov ebp, 0xfff0bdc0
test ecx, ecx
je 0x4e6348
mov eax, dword [edx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x4e6348
nop word [eax + eax]
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x4e6340
mov edx, ebp
mov ecx, ebx
call fcn.004d7000
push dword [edi]
mov edx, ebp
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004d0b70
mov ecx, dword [esp + 0x44]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
cmp eax, dword [ebx + 0x2c]
jle 0x4e6377
mov dword [ebx + 0x2c], eax
push 0x60
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.004df890
mov edi, dword [edi]
add esp, 0xc
mov edx, 0x73
mov ecx, esi
push 0
push dword [esp + 0x50]
push 0
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004b07c0
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 0x4e649a
nop dword [eax + eax]
push dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.004d11f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4e647a
mov dword [esp + 0x28], 0
mov edx, ebp
push dword [edi]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004d0b70
add esp, 0xc
lea eax, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 0
push eax
push dword [esp + 0x1c]
call fcn.004dd430
add esp, 0xc
test eax, eax
jne 0x4e5071
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4e6443
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x60
push edi
push ebp
call fcn.004df890
add esp, 0xc
jmp 0x4e647a
push ebp
push dword [eax + 0x2c]
mov edx, 0x60
mov ecx, esi
push dword [esp + 0x2c]
call fcn.004afa10
mov edx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [ebx + 8]
mov ecx, ebx
call fcn.004d7710
test eax, eax
je 0x4e647a
push 0xfffffffffffffff7
mov edx, eax
mov ecx, edi
call fcn.004b0850
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 0x4e63d0
mov edi, dword [esp + 0x48]
cmp dword [ebx + 0x28], ecx
jge 0x4e64a2
mov dword [ebx + 0x28], ecx
push 0
push 0
push 0
mov edx, 0x25
mov ecx, esi
call fcn.004afa10
mov ebp, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x4e66c7
nop
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.004d11f0
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 0x4e6516
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.004dd430
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 0x4e658c
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0x24]
inc ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4e653c
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.004c9110
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push 0
push dword [esp + 0x28]
push ebx
call fcn.004afa10
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 0x4e6584
mov ecx, dword [esp + 0x50]
jmp 0x4e6535
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x4e65f9
mov ecx, dword [esp + 0x10]
call fcn.004df9d0
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.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push ebx
push edi
call fcn.004b07c0
push dword [esp + 0x40]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.004afa10
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x51], 0
jne 0x4e6637
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 0x4e6637
cmp dword [esp + 0x58], 0
je 0x4e6637
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.004afa10
add esp, 0xc
mov edx, 0xb
mov ecx, esi
push 0
push dword [esp + 0x28]
push 0
call fcn.004afa10
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.004afa10
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edi - 1]
push eax
push dword [ebp + 8]
lea eax, [ebx + 2]
push 0x5a5cd0
push eax
push esi
call fcn.004afc40
add esp, 0x14
mov edx, 0x50
mov ecx, esi
push 0
push 4
push ebx
call fcn.004afa10
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
call fcn.004b0150
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4e66af
mov ecx, dword [esp + 0x10]
call fcn.004907f0
mov ebp, dword [ebp + 4]
inc edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x4e64d0
mov eax, dword [esp + 0x14]
push 0
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.004afa10
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.004b0420
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4e5071
mov edx, dword [esp + 0x10]
jmp 0x4e62e0
test ecx, ecx
je 0x4e5071
push 0
mov edx, 1
call fcn.004e4870
mov ecx, dword [esp + 0x14]
xor edx, edx
add esp, 4
test al, al
setne dl
call fcn.004dd200
jmp 0x4e5071
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov edi, dword [esp + 0x30]
movzx eax, byte [eax]
mov al, byte [eax + 0x599bf8]
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 0x4e677d
lea edx, [esp + 0x14]
call fcn.00494680
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.004afa10
mov ebp, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], eax
jle 0x4e70ef
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov dword [esp + 0x20], 0
test edi, edi
js 0x4e67c4
cmp eax, edi
jne 0x4e70d4
mov edx, eax
mov ecx, ebx
call fcn.004d7000
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 0x4e682d
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 0x4e6811
mov eax, dword [eax + 0x14]
inc edx
inc edi
test eax, eax
jne 0x4e6808
mov ebp, dword [ebp]
cmp edi, esi
cmovle edi, esi
mov esi, edi
test ebp, ebp
jne 0x4e67f0
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.00490ae0
mov edi, eax
add esp, 8
test edi, edi
je 0x4e70eb
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x4e688c
nop word [eax + eax]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x24], 0x80
jne 0x4e6870
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4e6885
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4e6877
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4e6860
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.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push edi
call fcn.004b07c0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4e68e7
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.004afa10
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.00492f50
add esp, 0xc
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004b07c0
push 3
push 3
push 2
mov edx, 0x6e
mov ecx, esi
call fcn.004afa10
add esp, 0x14
mov ecx, esi
call fcn.004e4d60
mov edx, ebx
mov ecx, esi
call fcn.004b0420
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4e70c0
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 0x4e70ae
test byte [ebx + 0x24], 0x80
jne 0x4e69b1
mov dword [esp + 0x28], 0
jmp 0x4e69d4
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x4e69d4
nop dword [eax]
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x4e69d0
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4e69c0
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.004e3240
push 0
push 7
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004afa10
mov edi, dword [ebx + 8]
add esp, 0x24
test edi, edi
je 0x4e6a2e
mov ebp, 8
push 0
push ebp
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004afa10
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebp
test edi, edi
jne 0x4e6a12
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 1
push 7
call fcn.004afa10
add esp, 0xc
mov dword [esp + 0x70], eax
cmp byte [esp + 0x3f], 0x71
je 0x4e6a97
movsx ecx, word [ebx + 0x2c]
mov edx, 0x59
dec ecx
push 3
push ecx
push dword [esp + 0x40]
mov ecx, esi
call fcn.004afa10
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4e6a97
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 0x4e6b96
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
movsx eax, word [ebx + 0x28]
cmp ebp, eax
je 0x4e6b82
mov eax, dword [ebx + 4]
cmp byte [eax + edi + 0xc], 0
je 0x4e6b82
push 3
push ebp
push dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.004c9110
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 0x4e6af5
mov eax, 0x5c66d4
jmp 0x4e6afd
mov eax, dword [esi + 0x68]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x59
jne 0x4e6b13
test edx, edx
jle 0x4e6b13
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.004afa10
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.00492f50
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
mov edi, eax
call fcn.004afa10
add esp, 0x1c
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004b07c0
add esp, 8
mov ecx, esi
call fcn.004e4d60
mov edx, ebx
mov ecx, esi
call fcn.004b0420
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 0x4e6ab0
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x4e6cae
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
and eax, 0x200
or eax, 0
jne 0x4e6cae
push eax
mov ecx, edi
call fcn.004c5810
add esp, 4
mov edx, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x54], edx
jne 0x4e6ca3
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 0x4e6c2f
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.004caf60
dec edi
lea ebp, [ebp - 0x14]
add esp, 0x10
test edi, edi
jg 0x4e6c08
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.004cab80
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.004b0150
mov dword [ebp + 0x34], 0
push dword [ebx]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.00492f50
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004b07c0
add esp, 8
mov ecx, esi
call fcn.004e4d60
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004b0150
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4e6cae
mov ecx, edi
call fcn.004c6400
cmp byte [esp + 0x3f], 0x71
je 0x4e6f93
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x4e6f8f
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 0x4e6f80
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.004d94b0
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.004afa10
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.004afa10
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x51], 0
jne 0x4e6d6c
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.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.row
call fcn.004b07c0
push 3
push 3
push 7
mov edx, 0x6e
mov ecx, esi
call fcn.004afa10
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str._missing_from_index
call fcn.004b07c0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004afa10
mov edi, dword [ebx]
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.004afa10
add esp, 0xc
mov dword [esp + 0x64], eax
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004b07c0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004afa10
add esp, 0x14
mov ecx, esi
call fcn.004e4d60
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.004b0420
cmp byte [ebx + 0x36], 0
je 0x4e6f59
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 0x4e6e92
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi*2]
test eax, eax
js 0x4e6e6c
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
cmp byte [eax + ecx*4 + 0xc], 0
jne 0x4e6e89
mov eax, dword [esp + 0x50]
mov ecx, esi
push 0
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.004afa10
mov edx, dword [esp + 0x24]
add esp, 0xc
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x4e6e54
mov eax, dword [esp + 0x44]
mov edx, 5
add eax, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push eax
call fcn.004afa10
add esp, 0xc
mov edx, 0xb
mov ecx, esi
mov edi, eax
push 0
push dword [esp + 0x1c]
push 0
call fcn.004afa10
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.004b0420
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.004afa10
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x4e6f14
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.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.non_unique_entry_in_index
call fcn.004b07c0
push 0
push dword [esp + 0x70]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.004afa10
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.004b0150
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.004b0420
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x4e6f7c
mov ecx, dword [eax + 8]
call fcn.004b0150
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x20]
test ebx, ebx
jne 0x4e6cd8
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.004afa10
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.004b0420
cmp byte [esp + 0x3f], 0x71
je 0x4e70ae
push 0
push 2
push 0
mov edx, 0x73
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.wrong__of_entries_in_index
call fcn.004b07c0
mov ebx, dword [ebx + 8]
add esp, 8
xor ebp, ebp
test ebx, ebx
je 0x4e70ae
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
cmp eax, ebx
je 0x4e70a2
mov eax, dword [esp + 0x44]
mov edx, 0x5c
push 0
add eax, ebp
mov ecx, esi
push 3
push eax
call fcn.004afa10
add esp, 0xc
lea eax, [ebp + 8]
mov edx, 0x35
mov ecx, esi
push 3
push 0
push eax
call fcn.004afa10
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x70], eax
test ecx, ecx
jle 0x4e7054
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.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004b07c0
push 3
push 2
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004afa10
add esp, 0x14
mov ecx, esi
call fcn.004e4d60
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.004b0420
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc ebp
test ebx, ebx
jne 0x4e7000
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x4e6980
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 0x4e67b0
jmp 0x4e70ef
mov ebp, dword [esp + 0x10]
push 0
push 0x59cdec
mov edx, 7
mov ecx, esi
call fcn.004b02b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4e7133
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], 0x5a5d64
mov byte [edi + 0x65], 0xff
call fcn.00511400
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov ecx, 0x5c66d4
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4e7146
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x4e5075
test ecx, ecx
jne 0x4e717d
mov ecx, ebx
call fcn.004e87f0
test eax, eax
jne 0x4e5071
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x597648]
call fcn.004e4b80
jmp 0x4e5071
mov eax, dword [esp + 0x10]
mov ecx, 1
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x4e71b7
mov edx, dword [eax + 0x10]
add edx, 0xc
cmp dword [edx - 8], 0
je 0x4e71a7
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 0x4e7193
test ecx, ecx
je 0x4e5071
mov eax, dword [str.UTF8]
mov esi, 0x597648
test eax, eax
je 0x4e7209
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.00493d10
test eax, eax
je 0x4e71e0
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x4e71c5
jmp 0x4e7209
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 0x4e5071
push dword [esp + 0x2c]
push str.unsupported_encoding:__s
push ebx
call fcn.00493be0
add esp, 0xc
jmp 0x4e5071
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [ebp + 8]
mov edx, ebx
call fcn.004b0ca0
cmp dword [esp + 0x2c], 0
je 0x4e727f
test byte [ebp + 5], 8
jne 0x4e727f
push 0
push 0x5977bc
mov edx, 2
mov ecx, esi
call fcn.004b02b0
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.00494680
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
jmp 0x4e5071
push 0
push 0x59cba0
mov edx, 3
mov ecx, esi
call fcn.004b02b0
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x98], 0xffffffbf
jmp 0x4e5071
xor edi, edi
mov dword [ebx + 0x2c], 1
cmp edi, 5
ja 0x4e72c1
mov ebx, dword [edi*4 + 0x59a4d4]
jmp 0x4e72c3
xor ebx, ebx
inc edi
test ebx, ebx
je 0x4e729e
push 0
push 1
push 0
mov edx, 0x73
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push ebx
call fcn.004b07c0
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.004afa10
add esp, 0x14
jmp 0x4e72b3
mov eax, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [eax], 0
cmovne ebp, dword [esp + 0x30]
xor edi, edi
test ecx, ecx
je 0x4e7359
mov edx, str.full
call fcn.00493d10
test eax, eax
jne 0x4e732a
lea edi, [eax + 1]
jmp 0x4e7359
mov ecx, dword [esp + 0x2c]
mov edx, str.restart
call fcn.00493d10
test eax, eax
jne 0x4e7341
lea edi, [eax + 2]
jmp 0x4e7359
mov ecx, dword [esp + 0x2c]
mov edx, str.truncate
call fcn.00493d10
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.004afa10
add esp, 0xc
push 0
push 3
jmp 0x4e5528
test ecx, ecx
je 0x4e73b1
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00494680
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4e73a1
push eax
push 0x511d00
jmp 0x4e73a5
push 0
push 0
push dword [esp + 0x18]
call fcn.00511e60
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf8], 0x511d00
jne 0x4e520e
mov eax, dword [eax + 0xfc]
mov ecx, esi
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
push dword [esp + 0x10]
call fcn.005108e0
jmp 0x4e506e
test ecx, ecx
je 0x4e7413
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00494680
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
test cl, 2
je 0x4e5071
jmp 0x4e741b
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 0x4e7437
mov dword [esp + 0x14], edi
jmp 0x4e744b
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x4e75b6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edi, 1
je 0x4e75a2
mov edx, edi
mov ecx, ebx
call fcn.004d7000
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 0x4e759a
nop
mov edi, dword [ebp + 8]
test dword [edi + 0x24], 0x100
je 0x4e758b
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 0x4e74b3
test byte [eax + 0x38], 0x80
je 0x4e74fa
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4e74a6
test cx, cx
je 0x4e74fa
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x60
push edi
push dword [esp + 0x38]
call fcn.004df890
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.004afa10
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.00492f50
add esp, 0x10
mov edi, eax
test byte [esp + 0x18], 1
mov dword [esp + 0x70], edi
je 0x4e7563
mov ecx, ebx
call fcn.004cc080
mov edi, eax
mov edx, 0x73
push 0
push edi
push 0
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push dword [esp + 0x74]
call fcn.004b07c0
push 0
push 1
push edi
mov edx, 0x50
mov ecx, esi
call fcn.004afa10
add esp, 0x14
jmp 0x4e7587
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.004afa10
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004b07c0
add esp, 8
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4e7480
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 0x4e7453
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.004afa10
add esp, 0xc
jmp 0x4e5071
test ecx, ecx
je 0x4e75f1
lea edx, [esp + 0x70]
call fcn.00494570
test eax, eax
jne 0x4e75f1
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00490250
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00490250
push edx
push eax
mov ecx, esi
call fcn.004e4ae0
add esp, 0x10
jmp 0x4e5071
test ecx, ecx
je 0x4e7656
lea edx, [esp + 0x70]
call fcn.00494570
test eax, eax
jne 0x4e7656
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00490390
mov edi, dword [esp + 0x7c]
add esp, 8
mov ebx, eax
test edi, edi
jl 0x4e7656
mov ecx, dword [esp + 0x70]
jg 0x4e763c
test ecx, ecx
je 0x4e7656
mov eax, ebx
or eax, edx
je 0x4e764c
cmp edx, edi
jl 0x4e7656
jg 0x4e764c
cmp ebx, ecx
jbe 0x4e7656
push edi
push ecx
call fcn.00490390
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00490390
push edx
push eax
mov ecx, esi
call fcn.004e4ae0
add esp, 0x10
jmp 0x4e5071
test ecx, ecx
je 0x4e76a5
lea edx, [esp + 0x70]
call fcn.00494570
test eax, eax
jne 0x4e76a5
cmp dword [esp + 0x74], eax
jl 0x4e76a5
mov eax, dword [esp + 0x70]
jg 0x4e7691
test eax, eax
jb 0x4e76a5
and eax, 0x7fffffff
push eax
push 0xb
push dword [esp + 0x18]
call fcn.005126b0
add esp, 0xc
push 0xffffffffffffffff
push 0xb
push dword [esp + 0x18]
call fcn.005126b0
add esp, 0xc
cdq
mov ecx, esi
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
test ecx, ecx
je 0x4e76ec
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00494680
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.00511560
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1d8]
cdq
push edx
push eax
call fcn.004e4ae0
add esp, 8
jmp 0x4e5071
mov ebp, edx
jmp 0x4e5075