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

Disassembly:
sub esp, 0x88
mov eax, dword [0x525008]
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.004adac0
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x4a6a03
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.00493640
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
js 0x4a6a03
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 0x4a6895
mov ecx, ebx
call fcn.004988d0
test eax, eax
jne 0x4a6a03
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4a6a03
push 0
push dword [edx + 4]
mov edx, dword [edx]
call fcn.004526e0
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
call fcn.004555b0
cmp dword [esp + 0x5c], 0
je 0x4a6a03
cmp dword [esp + 0xa4], 0
je 0x4a68e7
push dword [esp + 0x18]
push 0x513eec
push dword [esp + 0x18]
call fcn.004548b0
add esp, 0xc
jmp 0x4a6915
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a6913
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
call fcn.004526e0
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
call fcn.004555b0
mov eax, dword [esp + 0x2c]
jmp 0x4a6919
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebp + 4], 0
jbe 0x4a6923
mov ebp, dword [edi]
jmp 0x4a6925
xor ebp, ebp
push ebp
push eax
push dword [esp + 0x64]
mov edx, 0x13
mov dword [esp + 0x40], ebp
mov ecx, ebx
call fcn.00492450
add esp, 0xc
test eax, eax
jne 0x4a69e1
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.004d5400
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x4a6a1c
lea edx, [eax + 1]
mov ecx, esi
call fcn.00473460
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x4a69c4
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x74]
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
call fcn.004706d0
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.004a64f0
push dword [esp + 0x84]
call fcn.00452090
add esp, 4
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.00452150
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a6a03
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.00452150
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f63f1
add esp, 0x88
ret
cmp ebp, 0xc
je 0x4a6a52
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a6a4a
push eax
push 0x510b30
push ebx
call fcn.00455550
add esp, 0xc
push dword [esp + 0x84]
call fcn.00452090
add esp, 4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], ebp
jmp 0x4a69e1
mov ecx, dword [esp + 0x5c]
call fcn.004a65c0
mov ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x4a69e1
test byte [ebp + 5], 1
je 0x4a6a7e
mov ecx, ebx
call fcn.004aa160
test eax, eax
jne 0x4a69e1
mov al, byte [ebp + 5]
test al, 2
jne 0x4a6a9a
test al, 4
je 0x4a6a91
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x4a6a9e
mov edx, ebp
mov ecx, esi
call fcn.004a63b0
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ebp + 4]
cmp eax, 0x28
ja case.0x4a6aab.3
jmp dword [eax*4 + 0x4a9080]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, ebp
call fcn.00472610
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a6af0
add dword [ebx + 0x2c], 2
lea edx, [eax + 9]
push eax
push 0x507368
mov ecx, esi
call fcn.00471c20
add esp, 8
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x7c], 0xfffff830
jmp 0x4a69e1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, eax
call fcn.00455ff0
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x4a6b1c
cmp ebp, 0x80000000
jne 0x4a6b1a
mov ebp, 0x7fffffff
jmp 0x4a6b1c
neg ebp
push dword [esp + 0x30]
xor edx, edx
mov ecx, ebx
call fcn.00498a30
add esp, 4
mov edx, 0x5e
mov ecx, esi
push ebp
push 3
push dword [esp + 0x38]
call fcn.00471380
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.00466350
jmp 0x4a69e1
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4a6b92
test edi, edi
je 0x4a6b7e
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00455ff0
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
mov dword [eax + 0x5c], edx
call fcn.00466590
add esp, 8
cmp eax, 7
jne 0x4a69e1
mov ecx, dword [esp + 0x10]
call fcn.00452820
jmp 0x4a69e1
mov ebp, dword [edi + 4]
or edx, 0xffffffff
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4a6c12
mov edx, str.fast
call fcn.00455680
test eax, eax
jne 0x4a6bf4
lea edx, [eax + 2]
jmp 0x4a6c0e
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0
call fcn.004a61e0
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 0x4a6c4d
test edx, edx
js 0x4a6c4d
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x4a6c4d
xor edi, edi
mov esi, eax
nop
mov ecx, dword [esi + 0x10]
mov ecx, dword [edi + ecx + 4]
call fcn.004666b0
mov edx, dword [esp + 0x24]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x4a6c30
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.004666b0
cdq
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, ebp
call fcn.00498970
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x507cb0], 0x70
jne 0x4a6c96
push 0
mov edx, 0xa8
jmp 0x4a6ccb
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4a6cc5
lea edx, [esp + 0x18]
call fcn.00455ff0
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x4a6cc5
cmp eax, 0x80000000
jne 0x4a6cc3
mov eax, 0x7fffffff
jmp 0x4a6cc5
neg eax
push eax
mov edx, 0xa9
push edi
push ebp
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, 0x50
mov ecx, esi
push 0
push 1
push edi
call fcn.00471380
add esp, 0xc
jmp 0x4a69e1
mov ebx, str.normal
mov ebp, str.exclusive
test ecx, ecx
je 0x4a6d21
mov edx, ebp
call fcn.00455680
test eax, eax
jne 0x4a6d0e
lea edx, [eax + 1]
jmp 0x4a6d24
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.00455680
test eax, eax
jne 0x4a6d21
xor edx, edx
jmp 0x4a6d24
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
cmp dword [eax + 4], 0
jne 0x4a6d97
mov eax, dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x4a6d53
movzx eax, byte [eax + 0x53]
mov ecx, esi
cmp eax, 1
cmove ebx, ebp
mov edx, ebx
call fcn.004a64f0
jmp 0x4a69e1
mov ebp, 2
cmp dword [eax + 0x14], ebp
jle 0x4a6d8f
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.00460d70
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 0x10]
inc ebp
cmp ebp, dword [esi + 0x14]
jl 0x4a6d64
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.00460d70
cmp eax, 1
mov ecx, esi
cmove ebx, ebp
mov edx, ebx
call fcn.004a64f0
jmp 0x4a69e1
test ecx, ecx
je 0x4a6e0d
mov edi, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4a6dc1
sub edi, ecx
and edi, 0x3fffffff
xor ebx, ebx
cmp ebx, 6
je 0x4a6e0d
mov eax, dword [ebx*4 + 0x506bbc]
test eax, eax
je 0x4a6e0d
push edi
push eax
push dword [esp + 0x34]
call fcn.004556c0
add esp, 0xc
test eax, eax
je 0x4a6df7
inc ebx
jmp 0x4a6dd2
cmp ebx, 2
jne 0x4a6e29
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x4a6e2e
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x4a6e32
xor edx, edx
mov dword [ecx + 4], 1
mov dword [esp + 0x30], edx
jmp 0x4a6e36
cmp ebx, 0xffffffff
je 0x4a6e10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x4a6e94
mov ebp, edi
shl ebp, 4
nop word [eax + eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + ebp + 4], 0
je 0x4a6e80
cmp edi, edx
je 0x4a6e64
cmp dword [ecx + 4], 0
jne 0x4a6e80
mov edx, edi
mov ecx, esi
call fcn.00472610
push ebx
push 1
push edi
mov edx, 7
mov ecx, esi
call fcn.00471380
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 0x4a6e50
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.00471380
add esp, 0xc
jmp 0x4a69e1
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 0x4a6f00
lea edx, [esp + 0x70]
mov ecx, eax
call fcn.00455ee0
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jg 0x4a6efc
jl 0x4a6eed
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x4a6f00
or ecx, 0xffffffff
or edx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x4a6f00
mov ecx, dword [esp + 0x70]
cmp edx, 0xffffffff
jl 0x4a6f2c
jg 0x4a6f0c
cmp ecx, 0xffffffff
jb 0x4a6f2c
mov dword [edi + 0xa0], ecx
mov eax, dword [esp + 0x74]
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x4a6f2c
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.004a6450
add esp, 8
jmp 0x4a69e1
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4a6f71
mov ecx, edi
call fcn.00466790
cdq
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
call fcn.004a6290
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x54], bl
call fcn.00466720
test eax, eax
jne 0x4a69e1
cmp ebx, 1
je 0x4a6f9e
cmp ebx, 2
jne 0x4a69e1
mov edi, dword [esi + 0x6c]
mov edx, 5
push 0
push 0x50a738
mov ecx, esi
call fcn.00471c20
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.00472610
jmp 0x4a69e1
test ecx, ecx
je 0x4a6ff4
lea edx, [esp + 0x14]
call fcn.00455ff0
test eax, eax
je 0x4a6ff4
cmp dword [esp + 0x14], 0
jg 0x4a6ffc
mov dword [esp + 0x14], 0x7fffffff
mov ebp, dword [esp + 0x30]
xor edx, edx
push ebp
mov ecx, ebx
call fcn.00498a30
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0
push 1
push dword [esp + 0x1c]
call fcn.00471380
add esp, 0xc
mov edx, 0x3c
mov ecx, esi
push 0
push 0
push ebp
call fcn.00471380
add esp, 0xc
mov edx, 0x50
mov ecx, esi
mov edi, eax
push 0
push 0
push 1
call fcn.00471380
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 0xffffffffffffffff
push 1
call fcn.00471380
add esp, 0xc
mov edx, 0x30
mov ecx, esi
push 0
push edi
push 1
call fcn.00471380
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00471d90
jmp 0x4a69e1
test ecx, ecx
jne 0x4a70a2
mov eax, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.00455ff0
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.00466350
jmp 0x4a69e1
test ecx, ecx
jne 0x4a7110
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
jne 0x4a70f4
cdq
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.004663d0
cdq
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
call fcn.00455ff0
test eax, eax
je 0x4a7131
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call fcn.004663d0
cmp dword [esp + 0x14], 0
mov edx, 1
mov ecx, dword [esp + 0x2c]
setne al
movzx eax, al
push eax
call fcn.004a61e0
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test al, al
je 0x4a7161
or ecx, 0x20
jmp 0x4a7164
and ecx, 0xffffffdf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, eax
mov dword [eax + 0x24], edx
call fcn.004a6570
jmp 0x4a69e1
test ecx, ecx
je 0x4a721a
lea edx, [esp + 0x70]
call fcn.00455ee0
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x4a71b2
jl 0x4a719d
mov edx, dword [esp + 0x70]
test edx, edx
jae 0x4a71b6
mov edx, dword [0x525100]
mov eax, dword [0x525104]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x4a71b6
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x4a71ca
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x4a721a
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 0x4a720e
cmp edi, dword [esp + 0x30]
je 0x4a71f7
cmp dword [ecx + 4], 0
jne 0x4a720e
push dword [esp + 0x74]
mov ecx, eax
push edx
call fcn.00466470
mov edx, dword [esp + 0x78]
add esp, 8
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
jns 0x4a71e0
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.004d5400
add esp, 0x10
test eax, eax
jne 0x4a725f
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x74]
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
mov ebp, dword [esp + 0x10]
cmp eax, 0xc
je 0x4a69e5
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
jmp 0x4a69e5
test ecx, ecx
jne 0x4a7295
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x50]
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
call fcn.004a6310
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x50]
cmp ecx, eax
je 0x4a69e1
mov ecx, ebx
call fcn.004a6360
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x4a69e5
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x50], al
jmp 0x4a69e5
test ecx, ecx
jne 0x4a72e1
mov edx, dword [0x527314]
mov ecx, esi
call fcn.004a64f0
jmp 0x4a69e1
cmp byte [ecx], 0
je 0x4a731a
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 0x4a7307
cmp dword [esp + 0x1c], eax
jne 0x4a731a
push str.not_a_writable_directory
push ebx
call fcn.00455550
add esp, 8
jmp 0x4a69e1
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x50], 1
ja 0x4a732b
mov ecx, ebx
call fcn.004a6360
push dword [0x527314]
call fcn.00452090
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x4a735a
push eax
push 0x510b30
call fcn.004549a0
add esp, 8
mov dword [0x527314], eax
jmp 0x4a69e1
mov dword [0x527314], 0
jmp 0x4a69e1
test ecx, ecx
jne 0x4a737f
mov edx, dword [0x527310]
mov ecx, esi
call fcn.004a64f0
jmp 0x4a69e1
cmp byte [ecx], 0
je 0x4a73b8
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 0x4a73a5
cmp dword [esp + 0x1c], eax
jne 0x4a73b8
push str.not_a_writable_directory
push ebx
call fcn.00455550
add esp, 8
jmp 0x4a69e1
push dword [0x527310]
call fcn.00452090
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x4a73e7
push eax
push 0x510b30
call fcn.004549a0
add esp, 8
mov dword [0x527310], eax
jmp 0x4a69e1
mov dword [0x527310], 0
jmp 0x4a69e1
test ecx, ecx
jne 0x4a7415
movzx eax, byte [edi + 8]
cdq
sub eax, 1
sbb edx, ecx
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x4f], 0
jne 0x4a7432
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.00455550
add esp, 8
jmp 0x4a69e5
cmp dword [esp + 0x30], 1
je 0x4a69e5
push 1
xor edx, edx
call fcn.004a61e0
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.004a6570
jmp 0x4a69e5
test ecx, ecx
jne 0x4a74c2
mov edx, ebp
mov ecx, esi
call fcn.004a63b0
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 0x4a74a0
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, esi
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
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.004a6450
add esp, 8
jmp 0x4a69e1
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x4f], 0
jne 0x4a74d8
and ebx, 0xffffbfff
push 0
mov edx, 1
call fcn.004a61e0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 0x20]
mov ebp, dword [ecx + 0x24]
test al, al
je 0x4a7501
or ebx, edx
or edi, ebp
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], edi
jmp 0x4a752f
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 0x4a752f
test edi, edi
jne 0x4a752f
mov dword [edx + 0x1f0], edi
mov dword [edx + 0x1f4], edi
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.00471380
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.004a6570
jmp 0x4a69e1
test ecx, ecx
je 0x4a69e1
push dword [esp + 0x34]
mov edx, 2
push ecx
mov ecx, ebx
call fcn.00492c70
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x4a69e1
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4a75a0
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a75a0
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a7598
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4a75c7
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4a75c3
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a75b3
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], 7
call fcn.00498970
mov edx, edi
mov ecx, ebx
call fcn.00495ad0
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 0x4a69e1
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 0x4a763b
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x4a7623
inc dword [esp + 0x4c]
movzx eax, dx
jmp 0x4a7720
test cl, 0x20
je 0x4a762f
mov edi, 2
jmp 0x4a763b
movzx edi, cl
and edi, 0x40
or edi, 0x20
shr edi, 5
test cl, 1
jne 0x4a7644
xor edx, edx
jmp 0x4a7677
mov ecx, dword [esp + 0x18]
mov edx, 1
test ecx, ecx
je 0x4a7673
mov eax, dword [esp + 0x44]
cwde
cmp eax, edx
jl 0x4a7673
mov ecx, dword [ecx + 4]
mov esi, eax
nop
movsx eax, word [ecx]
cmp eax, ebx
je 0x4a766f
inc edx
add ecx, 2
cmp edx, esi
jle 0x4a7660
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x4a7690
cmp edi, 2
jae 0x4a7690
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
jmp 0x4a7698
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x4a76b0
mov dword [esp + 0x24], str.issisi
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test cl, 4
jne 0x4a76c9
mov dword [esp + 0x44], 0x50d316
jmp 0x4a76e8
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a76d2
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.004715b0
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 0x4a7600
jmp 0x4a69e1
test ecx, ecx
je 0x4a69e1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.00492fa0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4a77ab
push dword [esp + 0x34]
lea edx, [eax + 2]
mov ecx, ebx
push dword [esp + 0x30]
call fcn.00492c70
add esp, 8
test eax, eax
je 0x4a69e1
test byte [eax + 0x24], 0x80
je 0x4a69e1
mov edi, dword [eax + 8]
test edi, edi
je 0x4a69e1
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4a77a3
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4a7793
test edi, edi
je 0x4a69e1
mov ecx, dword [edi + 0x18]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4a77cf
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a77cf
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a77c7
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x4a77e2
movzx eax, word [edi + 0x34]
mov ecx, 6
jmp 0x4a77eb
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.00498970
xor ebp, ebp
cmp word [esp + 0x14], bp
je 0x4a69e1
nop dword [eax]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
movsx edx, ax
test ax, ax
jns 0x4a7823
xor eax, eax
jmp 0x4a7830
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.004715b0
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x4a7879
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.004715b0
add esp, 0x18
push 0
push dword [ebx + 0x2c]
mov edx, 0x50
mov ecx, esi
push 1
call fcn.00471380
mov ecx, dword [esp + 0x20]
inc ebp
movzx eax, cx
add esp, 0xc
cmp ebp, eax
jl 0x4a7810
jmp 0x4a69e1
test ecx, ecx
je 0x4a69e1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.00492b60
mov edi, eax
add esp, 4
test edi, edi
je 0x4a69e1
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4a78ec
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a78ec
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a78e4
mov ecx, ebx
mov dword [ebx + 0x2c], 5
call fcn.00498970
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x4a69e1
mov dword [esp + 0x70], 0x513f68
mov dword [esp + 0x74], 0x513f6c
mov dword [esp + 0x78], 0x513930
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.004715b0
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x4a7920
jmp 0x4a69e1
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x4a9078
xor ebx, ebx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + ebx + 4]
test eax, eax
je 0x4a79b0
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x4a7991
mov eax, 0x5062cc
jmp 0x4a7997
mov eax, dword [eax + 0xa8]
push eax
push dword [ecx + ebx]
push edi
push 0x513f94
push 1
push esi
call fcn.004715b0
mov edx, dword [esp + 0x28]
add esp, 0x18
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x4a7974
jmp 0x4a69e1
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov dword [ebx + 0x2c], 2
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x4a9078
nop dword [eax]
mov eax, dword [edi + 8]
push dword [eax]
push ebp
push 0x513f80
push 1
push esi
call fcn.004715b0
mov edi, dword [edi]
add esp, 0x14
inc ebp
test edi, edi
jne 0x4a79e0
jmp 0x4a69e1
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
shr ebp, 5
mov dword [ebx + 0x2c], 6
and ebp, 1
mov ebx, 0x527468
nop dword [eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x4a7a3c
push ebp
push 1
mov edx, edi
mov ecx, esi
call fcn.004a6640
mov edi, dword [edi + 0x24]
add esp, 8
test edi, edi
jne 0x4a7a26
add ebx, 4
cmp ebx, 0x5274c4
jl 0x4a7a20
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x4a9078
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, esi
push ebp
push 0
call fcn.004a6640
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x4a7a60
jmp 0x4a69e1
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x2c], 1
mov edi, dword [edx + 0x170]
test edi, edi
je 0x4a9078
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x513ef8
push 1
push esi
call fcn.004715b0
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x4a7a94
jmp 0x4a69e1
mov edi, 0x5081a8
nop word [eax + eax]
push dword [edi]
push 0x513ef8
push 1
push esi
call fcn.004715b0
add edi, 0x10
add esp, 0x10
cmp edi, 0x5085b8
jl 0x4a7ac0
jmp 0x4a69e1
test ecx, ecx
je 0x4a69e1
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.00492b60
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a69e1
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4a69e1
mov ecx, dword [eax + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x4a7b38
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a7b38
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a7b30
xor ebp, ebp
mov dword [ebx + 0x2c], 8
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.00498970
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x4a7c0b
lea ebp, [edi + 0x24]
nop
movzx eax, byte [edi + 0x19]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x4a7b6c
jmp dword [eax*4 + 0x4a9124]
mov ecx, str.SET_NULL
jmp 0x4a7b94
mov ecx, str.SET_DEFAULT
jmp 0x4a7b94
mov ecx, str.CASCADE
jmp 0x4a7b94
mov ecx, str.RESTRICT
jmp 0x4a7b94
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x4a7ba0
jmp dword [eax*4 + 0x4a9134]
mov eax, str.SET_NULL
jmp 0x4a7bc8
mov eax, str.SET_DEFAULT
jmp 0x4a7bc8
mov eax, str.CASCADE
jmp 0x4a7bc8
mov eax, str.RESTRICT
jmp 0x4a7bc8
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.004715b0
inc ebx
add esp, 0x2c
add ebp, 8
cmp ebx, dword [edi + 0x14]
jl 0x4a7b60
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x4a7b50
jmp 0x4a69e1
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 0x4a9078
nop
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a7c73
push dword [esp + 0x34]
xor edx, edx
push ecx
mov ecx, ebx
call fcn.00492c70
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x4a7c78
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x4a805b
cmp dword [edi + 0x10], 0
je 0x4a805b
mov ecx, dword [edi + 0x48]
mov ebp, 0xfff0bdc0
test ecx, ecx
je 0x4a7cb8
mov eax, dword [edx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x4a7cb8
nop word [eax + eax]
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x4a7cb0
mov edx, ebp
mov ecx, ebx
call fcn.00498970
push dword [edi]
mov edx, ebp
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004924e0
mov ecx, dword [esp + 0x44]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
cmp eax, dword [ebx + 0x2c]
jle 0x4a7ce7
mov dword [ebx + 0x2c], eax
push 0x60
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.004a1200
mov edi, dword [edi]
add esp, 0xc
mov edx, 0x73
mov ecx, esi
push 0
push dword [esp + 0x50]
push 0
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.00472130
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 0x4a7e0a
nop dword [eax + eax]
push dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.00492b60
mov edi, eax
add esp, 4
test edi, edi
je 0x4a7dea
mov dword [esp + 0x28], 0
mov edx, ebp
push dword [edi]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004924e0
add esp, 0xc
lea eax, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 0
push eax
push dword [esp + 0x1c]
call fcn.0049eda0
add esp, 0xc
test eax, eax
jne 0x4a69e1
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a7db3
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x60
push edi
push ebp
call fcn.004a1200
add esp, 0xc
jmp 0x4a7dea
push ebp
push dword [eax + 0x2c]
mov edx, 0x60
mov ecx, esi
push dword [esp + 0x2c]
call fcn.00471380
mov edx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [ebx + 8]
mov ecx, ebx
call fcn.00499080
test eax, eax
je 0x4a7dea
push 0xfffffffffffffff7
mov edx, eax
mov ecx, edi
call fcn.004721c0
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 0x4a7d40
mov edi, dword [esp + 0x48]
cmp dword [ebx + 0x28], ecx
jge 0x4a7e12
mov dword [ebx + 0x28], ecx
push 0
push 0
push 0
mov edx, 0x25
mov ecx, esi
call fcn.00471380
mov ebp, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x4a8037
nop
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.00492b60
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 0x4a7e86
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.0049eda0
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 0x4a7efc
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0x24]
inc ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4a7eac
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.0048aa80
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push 0
push dword [esp + 0x28]
push ebx
call fcn.00471380
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 0x4a7ef4
mov ecx, dword [esp + 0x50]
jmp 0x4a7ea5
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x4a7f69
mov ecx, dword [esp + 0x10]
call fcn.004a1340
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.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push ebx
push edi
call fcn.00472130
push dword [esp + 0x40]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00471380
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x51], 0
jne 0x4a7fa7
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 0x4a7fa7
cmp dword [esp + 0x58], 0
je 0x4a7fa7
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.00471380
add esp, 0xc
mov edx, 0xb
mov ecx, esi
push 0
push dword [esp + 0x28]
push 0
call fcn.00471380
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.00471380
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edi - 1]
push eax
push dword [ebp + 8]
lea eax, [ebx + 2]
push 0x513fd0
push eax
push esi
call fcn.004715b0
add esp, 0x14
mov edx, 0x50
mov ecx, esi
push 0
push 4
push ebx
call fcn.00471380
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
call fcn.00471ac0
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4a801f
mov ecx, dword [esp + 0x10]
call fcn.00452150
mov ebp, dword [ebp + 4]
inc edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x4a7e40
mov eax, dword [esp + 0x14]
push 0
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.00471380
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.00471d90
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a69e1
mov edx, dword [esp + 0x10]
jmp 0x4a7c50
test ecx, ecx
je 0x4a69e1
push 0
mov edx, 1
call fcn.004a61e0
mov ecx, dword [esp + 0x14]
xor edx, edx
add esp, 4
test al, al
setne dl
call fcn.0049eb70
jmp 0x4a69e1
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov edi, dword [esp + 0x30]
movzx eax, byte [eax]
mov al, byte [eax + 0x507cb0]
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 0x4a80ed
lea edx, [esp + 0x14]
call fcn.00455ff0
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.00471380
mov ebp, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], eax
jle 0x4a8a5f
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov dword [esp + 0x20], 0
test edi, edi
js 0x4a8134
cmp eax, edi
jne 0x4a8a44
mov edx, eax
mov ecx, ebx
call fcn.00498970
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 0x4a819d
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 0x4a8181
mov eax, dword [eax + 0x14]
inc edx
inc edi
test eax, eax
jne 0x4a8178
mov ebp, dword [ebp]
cmp edi, esi
cmovle edi, esi
mov esi, edi
test ebp, ebp
jne 0x4a8160
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.00452440
mov edi, eax
add esp, 8
test edi, edi
je 0x4a8a5b
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x4a81fc
nop word [eax + eax]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x24], 0x80
jne 0x4a81e0
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4a81f5
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4a81e7
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4a81d0
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.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push edi
call fcn.00472130
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4a8257
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.00471380
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.004548b0
add esp, 0xc
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.00472130
push 3
push 3
push 2
mov edx, 0x6e
mov ecx, esi
call fcn.00471380
add esp, 0x14
mov ecx, esi
call fcn.004a66d0
mov edx, ebx
mov ecx, esi
call fcn.00471d90
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4a8a30
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 0x4a8a1e
test byte [ebx + 0x24], 0x80
jne 0x4a8321
mov dword [esp + 0x28], 0
jmp 0x4a8344
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x4a8344
nop dword [eax]
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x4a8340
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x4a8330
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.004a4bb0
push 0
push 7
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00471380
mov edi, dword [ebx + 8]
add esp, 0x24
test edi, edi
je 0x4a839e
mov ebp, 8
push 0
push ebp
push 0
mov edx, 0x45
mov ecx, esi
call fcn.00471380
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebp
test edi, edi
jne 0x4a8382
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 1
push 7
call fcn.00471380
add esp, 0xc
mov dword [esp + 0x70], eax
cmp byte [esp + 0x3f], 0x71
je 0x4a8407
movsx ecx, word [ebx + 0x2c]
mov edx, 0x59
dec ecx
push 3
push ecx
push dword [esp + 0x40]
mov ecx, esi
call fcn.00471380
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4a8407
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 0x4a8506
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
movsx eax, word [ebx + 0x28]
cmp ebp, eax
je 0x4a84f2
mov eax, dword [ebx + 4]
cmp byte [eax + edi + 0xc], 0
je 0x4a84f2
push 3
push ebp
push dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.0048aa80
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 0x4a8465
mov eax, 0x527440
jmp 0x4a846d
mov eax, dword [esi + 0x68]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x59
jne 0x4a8483
test edx, edx
jle 0x4a8483
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.00471380
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.004548b0
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
mov edi, eax
call fcn.00471380
add esp, 0x1c
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.00472130
add esp, 8
mov ecx, esi
call fcn.004a66d0
mov edx, ebx
mov ecx, esi
call fcn.00471d90
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 0x4a8420
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x4a861e
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
and eax, 0x200
or eax, 0
jne 0x4a861e
push eax
mov ecx, edi
call fcn.00487180
add esp, 4
mov edx, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x54], edx
jne 0x4a8613
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 0x4a859f
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.0048c8d0
dec edi
lea ebp, [ebp - 0x14]
add esp, 0x10
test edi, edi
jg 0x4a8578
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.0048c4f0
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.00471ac0
mov dword [ebp + 0x34], 0
push dword [ebx]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.004548b0
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.00472130
add esp, 8
mov ecx, esi
call fcn.004a66d0
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00471ac0
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4a861e
mov ecx, edi
call fcn.00487d70
cmp byte [esp + 0x3f], 0x71
je 0x4a8903
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x4a88ff
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 0x4a88f0
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.0049ae20
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.00471380
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.00471380
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x51], 0
jne 0x4a86dc
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.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.row
call fcn.00472130
push 3
push 3
push 7
mov edx, 0x6e
mov ecx, esi
call fcn.00471380
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str._missing_from_index
call fcn.00472130
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.00471380
mov edi, dword [ebx]
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.00471380
add esp, 0xc
mov dword [esp + 0x64], eax
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.00472130
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.00471380
add esp, 0x14
mov ecx, esi
call fcn.004a66d0
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.00471d90
cmp byte [ebx + 0x36], 0
je 0x4a88c9
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 0x4a8802
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi*2]
test eax, eax
js 0x4a87dc
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
cmp byte [eax + ecx*4 + 0xc], 0
jne 0x4a87f9
mov eax, dword [esp + 0x50]
mov ecx, esi
push 0
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.00471380
mov edx, dword [esp + 0x24]
add esp, 0xc
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x4a87c4
mov eax, dword [esp + 0x44]
mov edx, 5
add eax, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push eax
call fcn.00471380
add esp, 0xc
mov edx, 0xb
mov ecx, esi
mov edi, eax
push 0
push dword [esp + 0x1c]
push 0
call fcn.00471380
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00471d90
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.00471380
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x4a8884
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.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.non_unique_entry_in_index
call fcn.00472130
push 0
push dword [esp + 0x70]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00471380
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.00471ac0
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.00471d90
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x4a88ec
mov ecx, dword [eax + 8]
call fcn.00471ac0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x20]
test ebx, ebx
jne 0x4a8648
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.00471380
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.00471d90
cmp byte [esp + 0x3f], 0x71
je 0x4a8a1e
push 0
push 2
push 0
mov edx, 0x73
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.wrong__of_entries_in_index
call fcn.00472130
mov ebx, dword [ebx + 8]
add esp, 8
xor ebp, ebp
test ebx, ebx
je 0x4a8a1e
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
cmp eax, ebx
je 0x4a8a12
mov eax, dword [esp + 0x44]
mov edx, 0x5c
push 0
add eax, ebp
mov ecx, esi
push 3
push eax
call fcn.00471380
add esp, 0xc
lea eax, [ebp + 8]
mov edx, 0x35
mov ecx, esi
push 3
push 0
push eax
call fcn.00471380
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x70], eax
test ecx, ecx
jle 0x4a89c4
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.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.00472130
push 3
push 2
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.00471380
add esp, 0x14
mov ecx, esi
call fcn.004a66d0
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.00471d90
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc ebp
test ebx, ebx
jne 0x4a8970
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x4a82f0
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 0x4a8120
jmp 0x4a8a5f
mov ebp, dword [esp + 0x10]
push 0
push 0x50aec8
mov edx, 7
mov ecx, esi
call fcn.00471c20
mov edi, eax
add esp, 8
test edi, edi
je 0x4a8aa3
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], 0x514064
mov byte [edi + 0x65], 0xff
call fcn.004d2d60
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov ecx, 0x527440
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4a8ab6
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x4a69e5
test ecx, ecx
jne 0x4a8aed
mov ecx, ebx
call fcn.004aa160
test eax, eax
jne 0x4a69e1
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x5056c0]
call fcn.004a64f0
jmp 0x4a69e1
mov eax, dword [esp + 0x10]
mov ecx, 1
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x4a8b27
mov edx, dword [eax + 0x10]
add edx, 0xc
cmp dword [edx - 8], 0
je 0x4a8b17
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 0x4a8b03
test ecx, ecx
je 0x4a69e1
mov eax, dword [str.UTF8]
mov esi, 0x5056c0
test eax, eax
je 0x4a8b79
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.00455680
test eax, eax
je 0x4a8b50
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x4a8b35
jmp 0x4a8b79
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 0x4a69e1
push dword [esp + 0x2c]
push str.unsupported_encoding:__s
push ebx
call fcn.00455550
add esp, 0xc
jmp 0x4a69e1
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [ebp + 8]
mov edx, ebx
call fcn.00472610
cmp dword [esp + 0x2c], 0
je 0x4a8bef
test byte [ebp + 5], 8
jne 0x4a8bef
push 0
push 0x50582c
mov edx, 2
mov ecx, esi
call fcn.00471c20
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.00455ff0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
jmp 0x4a69e1
push 0
push 0x50aca0
mov edx, 3
mov ecx, esi
call fcn.00471c20
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x98], 0xffffffbf
jmp 0x4a69e1
xor edi, edi
mov dword [ebx + 0x2c], 1
cmp edi, 5
ja 0x4a8c31
mov ebx, dword [edi*4 + 0x5095e4]
jmp 0x4a8c33
xor ebx, ebx
inc edi
test ebx, ebx
je 0x4a8c0e
push 0
push 1
push 0
mov edx, 0x73
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push ebx
call fcn.00472130
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.00471380
add esp, 0x14
jmp 0x4a8c23
mov eax, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [eax], 0
cmovne ebp, dword [esp + 0x30]
xor edi, edi
test ecx, ecx
je 0x4a8cc9
mov edx, str.full
call fcn.00455680
test eax, eax
jne 0x4a8c9a
lea edi, [eax + 1]
jmp 0x4a8cc9
mov ecx, dword [esp + 0x2c]
mov edx, str.restart
call fcn.00455680
test eax, eax
jne 0x4a8cb1
lea edi, [eax + 2]
jmp 0x4a8cc9
mov ecx, dword [esp + 0x2c]
mov edx, str.truncate
call fcn.00455680
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.00471380
add esp, 0xc
push 0
push 3
jmp 0x4a6e98
test ecx, ecx
je 0x4a8d21
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00455ff0
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4a8d11
push eax
push 0x4d3660
jmp 0x4a8d15
push 0
push 0
push dword [esp + 0x18]
call fcn.004d37c0
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf8], 0x4d3660
jne 0x4a6b7e
mov eax, dword [eax + 0xfc]
mov ecx, esi
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
push dword [esp + 0x10]
call fcn.004d2240
jmp 0x4a69de
test ecx, ecx
je 0x4a8d83
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00455ff0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
test cl, 2
je 0x4a69e1
jmp 0x4a8d8b
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 0x4a8da7
mov dword [esp + 0x14], edi
jmp 0x4a8dbb
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x4a8f26
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edi, 1
je 0x4a8f12
mov edx, edi
mov ecx, ebx
call fcn.00498970
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 0x4a8f0a
nop
mov edi, dword [ebp + 8]
test dword [edi + 0x24], 0x100
je 0x4a8efb
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 0x4a8e23
test byte [eax + 0x38], 0x80
je 0x4a8e6a
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4a8e16
test cx, cx
je 0x4a8e6a
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x60
push edi
push dword [esp + 0x38]
call fcn.004a1200
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.00471380
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.004548b0
add esp, 0x10
mov edi, eax
test byte [esp + 0x18], 1
mov dword [esp + 0x70], edi
je 0x4a8ed3
mov ecx, ebx
call fcn.0048d9f0
mov edi, eax
mov edx, 0x73
push 0
push edi
push 0
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push dword [esp + 0x74]
call fcn.00472130
push 0
push 1
push edi
mov edx, 0x50
mov ecx, esi
call fcn.00471380
add esp, 0x14
jmp 0x4a8ef7
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.00471380
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.00472130
add esp, 8
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4a8df0
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 0x4a8dc3
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.00471380
add esp, 0xc
jmp 0x4a69e1
test ecx, ecx
je 0x4a8f61
lea edx, [esp + 0x70]
call fcn.00455ee0
test eax, eax
jne 0x4a8f61
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00451bb0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00451bb0
push edx
push eax
mov ecx, esi
call fcn.004a6450
add esp, 0x10
jmp 0x4a69e1
test ecx, ecx
je 0x4a8fc6
lea edx, [esp + 0x70]
call fcn.00455ee0
test eax, eax
jne 0x4a8fc6
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00451cf0
mov edi, dword [esp + 0x7c]
add esp, 8
mov ebx, eax
test edi, edi
jl 0x4a8fc6
mov ecx, dword [esp + 0x70]
jg 0x4a8fac
test ecx, ecx
je 0x4a8fc6
mov eax, ebx
or eax, edx
je 0x4a8fbc
cmp edx, edi
jl 0x4a8fc6
jg 0x4a8fbc
cmp ebx, ecx
jbe 0x4a8fc6
push edi
push ecx
call fcn.00451cf0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00451cf0
push edx
push eax
mov ecx, esi
call fcn.004a6450
add esp, 0x10
jmp 0x4a69e1
test ecx, ecx
je 0x4a9015
lea edx, [esp + 0x70]
call fcn.00455ee0
test eax, eax
jne 0x4a9015
cmp dword [esp + 0x74], eax
jl 0x4a9015
mov eax, dword [esp + 0x70]
jg 0x4a9001
test eax, eax
jb 0x4a9015
and eax, 0x7fffffff
push eax
push 0xb
push dword [esp + 0x18]
call fcn.004d4010
add esp, 0xc
push 0xffffffffffffffff
push 0xb
push dword [esp + 0x18]
call fcn.004d4010
add esp, 0xc
cdq
mov ecx, esi
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
test ecx, ecx
je 0x4a905c
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00455ff0
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.004d2ec0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1d8]
cdq
push edx
push eax
call fcn.004a6450
add esp, 8
jmp 0x4a69e1
mov ebp, edx
jmp 0x4a69e5