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

Disassembly:
sub esp, 0x88
mov eax, dword [0x5a800c]
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.00510c40
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x509b83
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.004f67b0
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
js 0x509b83
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 0x509a15
mov ecx, ebx
call fcn.004fba40
test eax, eax
jne 0x509b83
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x509b83
push 0
push dword [edx + 4]
mov edx, dword [edx]
call fcn.004b5860
add esp, 8
mov dword [esp + 0x5c], eax
mov ecx, eax
call fcn.004b8730
cmp dword [esp + 0x5c], 0
je 0x509b83
cmp dword [esp + 0xa4], 0
je 0x509a67
push dword [esp + 0x18]
push 0x5889a0
push dword [esp + 0x18]
call fcn.004b7a30
add esp, 0xc
jmp 0x509a95
mov eax, dword [esp + 0x18]
test eax, eax
je 0x509a93
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
push 0
push dword [eax + 4]
call fcn.004b5860
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
call fcn.004b8730
mov eax, dword [esp + 0x2c]
jmp 0x509a99
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebp + 4], 0
jbe 0x509aa3
mov ebp, dword [edi]
jmp 0x509aa5
xor ebp, ebp
push ebp
push eax
push dword [esp + 0x64]
mov edx, 0x13
mov dword [esp + 0x40], ebp
mov ecx, ebx
call fcn.004f55c0
add esp, 0xc
test eax, eax
jne 0x509b61
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.005385a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x509b9c
lea edx, [eax + 1]
mov ecx, esi
call fcn.004d65d0
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x509b44
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x74]
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
call fcn.004d3840
add esp, 0xc
mov edx, dword [esp + 0x84]
mov ecx, esi
call fcn.00509670
push dword [esp + 0x84]
call fcn.004b5210
add esp, 4
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, ebp
call fcn.004b52d0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x509b83
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.004b52d0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055929f
add esp, 0x88
ret
cmp ebp, 0xc
je 0x509bd2
mov eax, dword [esp + 0x84]
test eax, eax
je 0x509bca
push eax
push 0x5855cc
push ebx
call fcn.004b86d0
add esp, 0xc
push dword [esp + 0x84]
call fcn.004b5210
add esp, 4
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], ebp
jmp 0x509b61
mov ecx, dword [esp + 0x5c]
call fcn.00509740
mov ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x509b61
test byte [ebp + 5], 1
je 0x509bfe
mov ecx, ebx
call fcn.0050d2e0
test eax, eax
jne 0x509b61
mov al, byte [ebp + 5]
test al, 2
jne 0x509c1a
test al, 4
je 0x509c11
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x509c1e
mov edx, ebp
mov ecx, esi
call fcn.00509530
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ebp + 4]
cmp eax, 0x28
ja case.0x509c2b.3
jmp dword [eax*4 + 0x50c200]
mov ebp, dword [esp + 0x30]
mov ecx, esi
mov edx, ebp
call fcn.004d5780
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x509c70
add dword [ebx + 0x2c], 2
lea edx, [eax + 9]
push eax
push 0x579408
mov ecx, esi
call fcn.004d4d90
add esp, 8
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x7c], 0xfffff830
jmp 0x509b61
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, eax
call fcn.004b9170
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x509c9c
cmp ebp, 0x80000000
jne 0x509c9a
mov ebp, 0x7fffffff
jmp 0x509c9c
neg ebp
push dword [esp + 0x30]
xor edx, edx
mov ecx, ebx
call fcn.004fbba0
add esp, 4
mov edx, 0x5e
mov ecx, esi
push ebp
push 3
push dword [esp + 0x38]
call fcn.004d44f0
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.004c94c0
jmp 0x509b61
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x509d12
test edi, edi
je 0x509cfe
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.004b9170
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
mov dword [eax + 0x5c], edx
call fcn.004c9700
add esp, 8
cmp eax, 7
jne 0x509b61
mov ecx, dword [esp + 0x10]
call fcn.004b59a0
jmp 0x509b61
mov ebp, dword [edi + 4]
or edx, 0xffffffff
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x509d92
mov edx, str.fast
call fcn.004b8800
test eax, eax
jne 0x509d74
lea edx, [eax + 2]
jmp 0x509d8e
mov ecx, dword [esp + 0x2c]
mov edx, 1
push 0
call fcn.00509360
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 0x509dcd
test edx, edx
js 0x509dcd
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x509dcd
xor edi, edi
mov esi, eax
nop
mov ecx, dword [esi + 0x10]
mov ecx, dword [edi + ecx + 4]
call fcn.004c9820
mov edx, dword [esp + 0x24]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x509db0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.004c9820
cdq
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
mov ebp, dword [esp + 0x30]
mov ecx, ebx
mov edx, ebp
call fcn.004fbae0
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x579d40], 0x70
jne 0x509e16
push 0
mov edx, 0xa8
jmp 0x509e4b
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x509e45
lea edx, [esp + 0x18]
call fcn.004b9170
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x509e45
cmp eax, 0x80000000
jne 0x509e43
mov eax, 0x7fffffff
jmp 0x509e45
neg eax
push eax
mov edx, 0xa9
push edi
push ebp
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, 0x50
mov ecx, esi
push 0
push 1
push edi
call fcn.004d44f0
add esp, 0xc
jmp 0x509b61
mov ebx, str.normal
mov ebp, str.exclusive
test ecx, ecx
je 0x509ea1
mov edx, ebp
call fcn.004b8800
test eax, eax
jne 0x509e8e
lea edx, [eax + 1]
jmp 0x509ea4
mov ecx, dword [esp + 0x2c]
mov edx, ebx
call fcn.004b8800
test eax, eax
jne 0x509ea1
xor edx, edx
jmp 0x509ea4
or edx, 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
cmp dword [eax + 4], 0
jne 0x509f17
mov eax, dword [esp + 0x10]
cmp edx, 0xffffffff
jne 0x509ed3
movzx eax, byte [eax + 0x53]
mov ecx, esi
cmp eax, 1
cmove ebx, ebp
mov edx, ebx
call fcn.00509670
jmp 0x509b61
mov ebp, 2
cmp dword [eax + 0x14], ebp
jle 0x509f0f
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.004c3ed0
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 0x10]
inc ebp
cmp ebp, dword [esi + 0x14]
jl 0x509ee4
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.004c3ed0
cmp eax, 1
mov ecx, esi
cmove ebx, ebp
mov edx, ebx
call fcn.00509670
jmp 0x509b61
test ecx, ecx
je 0x509f8d
mov edi, ecx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x509f41
sub edi, ecx
and edi, 0x3fffffff
xor ebx, ebx
cmp ebx, 6
je 0x509f8d
mov eax, dword [ebx*4 + 0x578cb4]
test eax, eax
je 0x509f8d
push edi
push eax
push dword [esp + 0x34]
call fcn.004b8840
add esp, 0xc
test eax, eax
je 0x509f77
inc ebx
jmp 0x509f52
cmp ebx, 2
jne 0x509fa9
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x509fae
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x509fb2
xor edx, edx
mov dword [ecx + 4], 1
mov dword [esp + 0x30], edx
jmp 0x509fb6
cmp ebx, 0xffffffff
je 0x509f90
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x50a014
mov ebp, edi
shl ebp, 4
nop word [eax + eax]
mov eax, dword [eax + 0x10]
cmp dword [eax + ebp + 4], 0
je 0x50a000
cmp edi, edx
je 0x509fe4
cmp dword [ecx + 4], 0
jne 0x50a000
mov edx, edi
mov ecx, esi
call fcn.004d5780
push ebx
push 1
push edi
mov edx, 7
mov ecx, esi
call fcn.004d44f0
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 0x509fd0
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
jmp 0x509b61
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 0x50a080
lea edx, [esp + 0x70]
mov ecx, eax
call fcn.004b9060
mov edx, dword [esp + 0x74]
cmp edx, 0xffffffff
jg 0x50a07c
jl 0x50a06d
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jae 0x50a080
or ecx, 0xffffffff
or edx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
jmp 0x50a080
mov ecx, dword [esp + 0x70]
cmp edx, 0xffffffff
jl 0x50a0ac
jg 0x50a08c
cmp ecx, 0xffffffff
jb 0x50a0ac
mov dword [edi + 0xa0], ecx
mov eax, dword [esp + 0x74]
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xd8]
test eax, eax
je 0x50a0ac
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.005095d0
add esp, 8
jmp 0x509b61
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x50a0f1
mov ecx, edi
call fcn.004c9900
cdq
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
call fcn.00509410
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x54], bl
call fcn.004c9890
test eax, eax
jne 0x509b61
cmp ebx, 1
je 0x50a11e
cmp ebx, 2
jne 0x509b61
mov edi, dword [esi + 0x6c]
mov edx, 5
push 0
push 0x57c7c4
mov ecx, esi
call fcn.004d4d90
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.004d5780
jmp 0x509b61
test ecx, ecx
je 0x50a174
lea edx, [esp + 0x14]
call fcn.004b9170
test eax, eax
je 0x50a174
cmp dword [esp + 0x14], 0
jg 0x50a17c
mov dword [esp + 0x14], 0x7fffffff
mov ebp, dword [esp + 0x30]
xor edx, edx
push ebp
mov ecx, ebx
call fcn.004fbba0
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0
push 1
push dword [esp + 0x1c]
call fcn.004d44f0
add esp, 0xc
mov edx, 0x3c
mov ecx, esi
push 0
push 0
push ebp
call fcn.004d44f0
add esp, 0xc
mov edx, 0x50
mov ecx, esi
mov edi, eax
push 0
push 0
push 1
call fcn.004d44f0
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 0xffffffffffffffff
push 1
call fcn.004d44f0
add esp, 0xc
mov edx, 0x30
mov ecx, esi
push 0
push edi
push 1
call fcn.004d44f0
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.004d4f00
jmp 0x509b61
test ecx, ecx
jne 0x50a222
mov eax, dword [edi + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.004b9170
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.004c94c0
jmp 0x509b61
test ecx, ecx
jne 0x50a290
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
jne 0x50a274
cdq
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.004c9540
cdq
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
call fcn.004b9170
test eax, eax
je 0x50a2b1
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
call fcn.004c9540
cmp dword [esp + 0x14], 0
mov edx, 1
mov ecx, dword [esp + 0x2c]
setne al
movzx eax, al
push eax
call fcn.00509360
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test al, al
je 0x50a2e1
or ecx, 0x20
jmp 0x50a2e4
and ecx, 0xffffffdf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
mov ecx, eax
mov dword [eax + 0x24], edx
call fcn.005096f0
jmp 0x509b61
test ecx, ecx
je 0x50a39a
lea edx, [esp + 0x70]
call fcn.004b9060
mov eax, dword [esp + 0x74]
test eax, eax
jg 0x50a332
jl 0x50a31d
mov edx, dword [esp + 0x70]
test edx, edx
jae 0x50a336
mov edx, dword [0x5a8110]
mov eax, dword [0x5a8114]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
jmp 0x50a336
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x50a34a
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], eax
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x50a39a
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 0x50a38e
cmp edi, dword [esp + 0x30]
je 0x50a377
cmp dword [ecx + 4], 0
jne 0x50a38e
push dword [esp + 0x74]
mov ecx, eax
push edx
call fcn.004c95e0
mov edx, dword [esp + 0x78]
add esp, 8
mov ecx, dword [esp + 0x28]
sub ebp, 0x10
sub edi, 1
jns 0x50a360
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.005385a0
add esp, 0x10
test eax, eax
jne 0x50a3df
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x74]
call fcn.005095d0
add esp, 8
jmp 0x509b61
mov ebp, dword [esp + 0x10]
cmp eax, 0xc
je 0x509b65
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], eax
jmp 0x509b65
test ecx, ecx
jne 0x50a415
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x50]
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
call fcn.00509490
mov esi, dword [ebx]
mov dword [esp + 0x1c], eax
movzx ecx, byte [esi + 0x50]
cmp ecx, eax
je 0x509b61
mov ecx, ebx
call fcn.005094e0
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x509b65
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x50], al
jmp 0x509b65
test ecx, ecx
jne 0x50a461
mov edx, dword [0x5aac28]
mov ecx, esi
call fcn.00509670
jmp 0x509b61
cmp byte [ecx], 0
je 0x50a49a
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 0x50a487
cmp dword [esp + 0x1c], eax
jne 0x50a49a
push str.not_a_writable_directory
push ebx
call fcn.004b86d0
add esp, 8
jmp 0x509b61
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x50], 1
ja 0x50a4ab
mov ecx, ebx
call fcn.005094e0
push dword [0x5aac28]
call fcn.004b5210
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x50a4da
push eax
push 0x5855cc
call fcn.004b7b20
add esp, 8
mov dword [0x5aac28], eax
jmp 0x509b61
mov dword [0x5aac28], 0
jmp 0x509b61
test ecx, ecx
jne 0x50a4ff
mov edx, dword [0x5aac24]
mov ecx, esi
call fcn.00509670
jmp 0x509b61
cmp byte [ecx], 0
je 0x50a538
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 0x50a525
cmp dword [esp + 0x1c], eax
jne 0x50a538
push str.not_a_writable_directory
push ebx
call fcn.004b86d0
add esp, 8
jmp 0x509b61
push dword [0x5aac24]
call fcn.004b5210
mov eax, dword [esp + 0x30]
add esp, 4
cmp byte [eax], 0
je 0x50a567
push eax
push 0x5855cc
call fcn.004b7b20
add esp, 8
mov dword [0x5aac24], eax
jmp 0x509b61
mov dword [0x5aac24], 0
jmp 0x509b61
test ecx, ecx
jne 0x50a595
movzx eax, byte [edi + 8]
cdq
sub eax, 1
sbb edx, ecx
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
mov ebp, dword [esp + 0x10]
cmp byte [ebp + 0x4f], 0
jne 0x50a5b2
push str.Safety_level_may_not_be_changed_inside_a_transaction
push ebx
call fcn.004b86d0
add esp, 8
jmp 0x509b65
cmp dword [esp + 0x30], 1
je 0x509b65
push 1
xor edx, edx
call fcn.00509360
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.005096f0
jmp 0x509b65
test ecx, ecx
jne 0x50a642
mov edx, ebp
mov ecx, esi
call fcn.00509530
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 0x50a620
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, esi
call fcn.005095d0
add esp, 8
jmp 0x509b61
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.005095d0
add esp, 8
jmp 0x509b61
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp byte [eax + 0x4f], 0
jne 0x50a658
and ebx, 0xffffbfff
push 0
mov edx, 1
call fcn.00509360
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 0x20]
mov ebp, dword [ecx + 0x24]
test al, al
je 0x50a681
or ebx, edx
or edi, ebp
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x24], edi
jmp 0x50a6af
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 0x50a6af
test edi, edi
jne 0x50a6af
mov dword [edx + 0x1f0], edi
mov dword [edx + 0x1f4], edi
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.004d44f0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
call fcn.005096f0
jmp 0x509b61
test ecx, ecx
je 0x509b61
push dword [esp + 0x34]
mov edx, 2
push ecx
mov ecx, ebx
call fcn.004f5de0
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x509b61
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x50a720
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x50a720
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x50a718
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x50a747
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x50a743
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x50a733
mov dword [esp + 0x18], ecx
mov ecx, ebx
mov dword [ebx + 0x2c], 7
call fcn.004fbae0
mov edx, edi
mov ecx, ebx
call fcn.004f8c40
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 0x509b61
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 0x50a7bb
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x50a7a3
inc dword [esp + 0x4c]
movzx eax, dx
jmp 0x50a8a0
test cl, 0x20
je 0x50a7af
mov edi, 2
jmp 0x50a7bb
movzx edi, cl
and edi, 0x40
or edi, 0x20
shr edi, 5
test cl, 1
jne 0x50a7c4
xor edx, edx
jmp 0x50a7f7
mov ecx, dword [esp + 0x18]
mov edx, 1
test ecx, ecx
je 0x50a7f3
mov eax, dword [esp + 0x44]
cwde
cmp eax, edx
jl 0x50a7f3
mov ecx, dword [ecx + 4]
mov esi, eax
nop
movsx eax, word [ecx]
cmp eax, ebx
je 0x50a7ef
inc edx
add ecx, 2
cmp edx, esi
jle 0x50a7e0
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x50a810
cmp edi, 2
jae 0x50a810
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
jmp 0x50a818
mov dword [esp + 0x14], 0
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x50a830
mov dword [esp + 0x24], str.issisi
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test cl, 4
jne 0x50a849
mov dword [esp + 0x44], 0x57f662
jmp 0x50a868
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a852
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.004d4720
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 0x50a780
jmp 0x509b61
test ecx, ecx
je 0x509b61
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004f6110
mov edi, eax
add esp, 4
test edi, edi
jne 0x50a92b
push dword [esp + 0x34]
lea edx, [eax + 2]
mov ecx, ebx
push dword [esp + 0x30]
call fcn.004f5de0
add esp, 8
test eax, eax
je 0x509b61
test byte [eax + 0x24], 0x80
je 0x509b61
mov edi, dword [eax + 8]
test edi, edi
je 0x509b61
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x50a923
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x50a913
test edi, edi
je 0x509b61
mov ecx, dword [edi + 0x18]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x50a94f
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x50a94f
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x50a947
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x50a962
movzx eax, word [edi + 0x34]
mov ecx, 6
jmp 0x50a96b
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.004fbae0
xor ebp, ebp
cmp word [esp + 0x14], bp
je 0x509b61
nop dword [eax]
mov eax, dword [edi + 4]
movzx eax, word [eax + ebp*2]
movsx edx, ax
test ax, ax
jns 0x50a9a3
xor eax, eax
jmp 0x50a9b0
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.004d4720
mov ecx, dword [esp + 0x70]
add esp, 0x18
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x50a9f9
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.004d4720
add esp, 0x18
push 0
push dword [ebx + 0x2c]
mov edx, 0x50
mov ecx, esi
push 1
call fcn.004d44f0
mov ecx, dword [esp + 0x20]
inc ebp
movzx eax, cx
add esp, 0xc
cmp ebp, eax
jl 0x50a990
jmp 0x509b61
test ecx, ecx
je 0x509b61
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004f5cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x509b61
mov ecx, dword [edi + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x50aa6c
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x50aa6c
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x50aa64
mov ecx, ebx
mov dword [ebx + 0x2c], 5
call fcn.004fbae0
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x509b61
mov dword [esp + 0x70], 0x588a08
mov dword [esp + 0x74], 0x588a04
mov dword [esp + 0x78], 0x5883c4
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.004d4720
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x50aaa0
jmp 0x509b61
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x50c1f8
xor ebx, ebx
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx + ebx + 4]
test eax, eax
je 0x50ab30
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x50ab11
mov eax, 0x57835c
jmp 0x50ab17
mov eax, dword [eax + 0xa8]
push eax
push dword [ecx + ebx]
push edi
push 0x588a2c
push 1
push esi
call fcn.004d4720
mov edx, dword [esp + 0x28]
add esp, 0x18
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x50aaf4
jmp 0x509b61
mov edx, dword [esp + 0x10]
xor ebp, ebp
mov dword [ebx + 0x2c], 2
mov edi, dword [edx + 0x19c]
test edi, edi
je 0x50c1f8
nop dword [eax]
mov eax, dword [edi + 8]
push dword [eax]
push ebp
push 0x588a28
push 1
push esi
call fcn.004d4720
mov edi, dword [edi]
add esp, 0x14
inc ebp
test edi, edi
jne 0x50ab60
jmp 0x509b61
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x18]
shr ebp, 5
mov dword [ebx + 0x2c], 6
and ebp, 1
mov ebx, 0x5ab1c0
nop dword [eax + eax]
mov edi, dword [ebx]
test edi, edi
je 0x50abbc
push ebp
push 1
mov edx, edi
mov ecx, esi
call fcn.005097c0
mov edi, dword [edi + 0x24]
add esp, 8
test edi, edi
jne 0x50aba6
add ebx, 4
cmp ebx, 0x5ab21c
jl 0x50aba0
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x50c1f8
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, esi
push ebp
push 0
call fcn.005097c0
mov edi, dword [edi]
add esp, 8
test edi, edi
jne 0x50abe0
jmp 0x509b61
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x2c], 1
mov edi, dword [edx + 0x170]
test edi, edi
je 0x50c1f8
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x588968
push 1
push esi
call fcn.004d4720
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x50ac14
jmp 0x509b61
mov edi, 0x57a200
nop word [eax + eax]
push dword [edi]
push 0x588968
push 1
push esi
call fcn.004d4720
add edi, 0x10
add esp, 0x10
cmp edi, str.first_value
jl 0x50ac40
jmp 0x509b61
test ecx, ecx
je 0x509b61
push dword [esp + 0x34]
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.004f5cd0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x509b61
mov edi, dword [eax + 0x10]
test edi, edi
je 0x509b61
mov ecx, dword [eax + 0x48]
mov edx, 0xfff0bdc0
test ecx, ecx
je 0x50acb8
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x50acb8
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x50acb0
xor ebp, ebp
mov dword [ebx + 0x2c], 8
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.004fbae0
nop dword [eax]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x50ad8b
lea ebp, [edi + 0x24]
nop
movzx eax, byte [edi + 0x19]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x50acec
jmp dword [eax*4 + 0x50c2a4]
mov ecx, str.SET_NULL
jmp 0x50ad14
mov ecx, str.SET_DEFAULT
jmp 0x50ad14
mov ecx, str.CASCADE
jmp 0x50ad14
mov ecx, str.RESTRICT
jmp 0x50ad14
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffff9
cmp eax, 3
ja case.default.0x50ad20
jmp dword [eax*4 + 0x50c2b4]
mov eax, str.SET_NULL
jmp 0x50ad48
mov eax, str.SET_DEFAULT
jmp 0x50ad48
mov eax, str.CASCADE
jmp 0x50ad48
mov eax, str.RESTRICT
jmp 0x50ad48
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.004d4720
inc ebx
add esp, 0x2c
add ebp, 8
cmp ebx, dword [edi + 0x14]
jl 0x50ace0
mov ebp, dword [esp + 0x14]
mov edi, dword [edi + 4]
inc ebp
mov dword [esp + 0x14], ebp
test edi, edi
jne 0x50acd0
jmp 0x509b61
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 0x50c1f8
nop
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x50adf3
push dword [esp + 0x34]
xor edx, edx
push ecx
mov ecx, ebx
call fcn.004f5de0
mov edx, dword [esp + 0x18]
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x50adf8
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x50b1db
cmp dword [edi + 0x10], 0
je 0x50b1db
mov ecx, dword [edi + 0x48]
mov ebp, 0xfff0bdc0
test ecx, ecx
je 0x50ae38
mov eax, dword [edx + 0x10]
xor ebp, ebp
add eax, 0xc
cmp dword [eax], ecx
je 0x50ae38
nop word [eax + eax]
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x50ae30
mov edx, ebp
mov ecx, ebx
call fcn.004fbae0
push dword [edi]
mov edx, ebp
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004f5650
mov ecx, dword [esp + 0x44]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
cmp eax, dword [ebx + 0x2c]
jle 0x50ae67
mov dword [ebx + 0x2c], eax
push 0x60
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00504380
mov edi, dword [edi]
add esp, 0xc
mov edx, 0x73
mov ecx, esi
push 0
push dword [esp + 0x50]
push 0
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004d52a0
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 0x50af8a
nop dword [eax + eax]
push dword [esp + 0x34]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
call fcn.004f5cd0
mov edi, eax
add esp, 4
test edi, edi
je 0x50af6a
mov dword [esp + 0x28], 0
mov edx, ebp
push dword [edi]
mov ecx, ebx
push 0
push dword [edi + 0x1c]
call fcn.004f5650
add esp, 0xc
lea eax, [esp + 0x28]
mov edx, edi
mov ecx, ebx
push 0
push eax
push dword [esp + 0x1c]
call fcn.00501f10
add esp, 0xc
test eax, eax
jne 0x509b61
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x50af33
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x60
push edi
push ebp
call fcn.00504380
add esp, 0xc
jmp 0x50af6a
push ebp
push dword [eax + 0x2c]
mov edx, 0x60
mov ecx, esi
push dword [esp + 0x2c]
call fcn.004d44f0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov edi, dword [ebx + 8]
mov ecx, ebx
call fcn.004fc1f0
test eax, eax
je 0x50af6a
push 0xfffffffffffffff7
mov edx, eax
mov ecx, edi
call fcn.004d5330
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 0x50aec0
mov edi, dword [esp + 0x48]
cmp dword [ebx + 0x28], ecx
jge 0x50af92
mov dword [ebx + 0x28], ecx
push 0
push 0
push 0
mov edx, 0x25
mov ecx, esi
call fcn.004d44f0
mov ebp, dword [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test ebp, ebp
je 0x50b1b7
nop
push dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
call fcn.004f5cd0
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 0x50b006
lea ecx, [esp + 0x50]
mov edx, eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov ecx, ebx
call fcn.00501f10
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 0x50b07c
mov ebx, dword [esp + 0x38]
lea eax, [ebp + 0x24]
inc ebx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x50b02c
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.004edbf0
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push 0
push dword [esp + 0x28]
push ebx
call fcn.004d44f0
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 0x50b074
mov ecx, dword [esp + 0x50]
jmp 0x50b025
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
test edx, edx
je 0x50b0e9
mov ecx, dword [esp + 0x10]
call fcn.005044c0
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.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push ebx
push edi
call fcn.004d52a0
push dword [esp + 0x40]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.004d44f0
mov ecx, dword [esi]
add esp, 0x14
cmp byte [ecx + 0x51], 0
jne 0x50b127
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 0x50b127
cmp dword [esp + 0x58], 0
je 0x50b127
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.004d44f0
add esp, 0xc
mov edx, 0xb
mov ecx, esi
push 0
push dword [esp + 0x28]
push 0
call fcn.004d44f0
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.004d44f0
mov edi, dword [esp + 0x2c]
add esp, 0xc
lea eax, [edi - 1]
push eax
push dword [ebp + 8]
lea eax, [ebx + 2]
push 0x588a7c
push eax
push esi
call fcn.004d4720
add esp, 0x14
mov edx, 0x50
mov ecx, esi
push 0
push 4
push ebx
call fcn.004d44f0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, esi
call fcn.004d4c30
mov edx, dword [esp + 0x50]
test edx, edx
je 0x50b19f
mov ecx, dword [esp + 0x10]
call fcn.004b52d0
mov ebp, dword [ebp + 4]
inc edi
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], edi
test ebp, ebp
jne 0x50afc0
mov eax, dword [esp + 0x14]
push 0
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.004d44f0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.004d4f00
mov eax, dword [esp + 0x44]
test eax, eax
je 0x509b61
mov edx, dword [esp + 0x10]
jmp 0x50add0
test ecx, ecx
je 0x509b61
push 0
mov edx, 1
call fcn.00509360
mov ecx, dword [esp + 0x14]
xor edx, edx
add esp, 4
test al, al
setne dl
call fcn.00501ce0
jmp 0x509b61
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov edi, dword [esp + 0x30]
movzx eax, byte [eax]
mov al, byte [eax + 0x579d40]
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 0x50b26d
lea edx, [esp + 0x14]
call fcn.004b9170
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.004d44f0
mov ebp, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x14], eax
jle 0x50bbdf
xor ecx, ecx
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov dword [esp + 0x20], 0
test edi, edi
js 0x50b2b4
cmp eax, edi
jne 0x50bbc4
mov edx, eax
mov ecx, ebx
call fcn.004fbae0
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 0x50b31d
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 0x50b301
mov eax, dword [eax + 0x14]
inc edx
inc edi
test eax, eax
jne 0x50b2f8
mov ebp, dword [ebp]
cmp edi, esi
cmovle edi, esi
mov esi, edi
test ebp, ebp
jne 0x50b2e0
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.004b55c0
mov edi, eax
add esp, 8
test edi, edi
je 0x50bbdb
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x50b37c
nop word [eax + eax]
mov ecx, dword [ebp + 8]
test byte [ecx + 0x24], 0x80
jne 0x50b360
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x50b375
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x50b367
mov ebp, dword [ebp]
test ebp, ebp
jne 0x50b350
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.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff1
push edi
call fcn.004d52a0
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x50b3d7
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.004d44f0
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.004b7a30
add esp, 0xc
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004d52a0
push 3
push 3
push 2
mov edx, 0x6e
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
mov ecx, esi
call fcn.00509850
mov edx, ebx
mov ecx, esi
call fcn.004d4f00
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x50bbb0
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 0x50bb9e
test byte [ebx + 0x24], 0x80
jne 0x50b4a1
mov dword [esp + 0x28], 0
jmp 0x50b4c4
mov ebp, dword [ebx + 8]
mov dword [esp + 0x28], ebp
test ebp, ebp
je 0x50b4c4
nop dword [eax]
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
je 0x50b4c0
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x50b4b0
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.00507d30
push 0
push 7
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004d44f0
mov edi, dword [ebx + 8]
add esp, 0x24
test edi, edi
je 0x50b51e
mov ebp, 8
push 0
push ebp
push 0
mov edx, 0x45
mov ecx, esi
call fcn.004d44f0
mov edi, dword [edi + 0x14]
add esp, 0xc
inc ebp
test edi, edi
jne 0x50b502
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x25
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, 0x52
mov ecx, esi
push 0
push 1
push 7
call fcn.004d44f0
add esp, 0xc
mov dword [esp + 0x70], eax
cmp byte [esp + 0x3f], 0x71
je 0x50b587
movsx ecx, word [ebx + 0x2c]
mov edx, 0x59
dec ecx
push 3
push ecx
push dword [esp + 0x40]
mov ecx, esi
call fcn.004d44f0
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x50b587
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 0x50b686
xor edi, edi
mov dword [esp + 0x18], edi
nop dword [eax + eax]
movsx eax, word [ebx + 0x28]
cmp ebp, eax
je 0x50b672
mov eax, dword [ebx + 4]
cmp byte [eax + edi + 0xc], 0
je 0x50b672
push 3
push ebp
push dword [esp + 0x40]
mov edx, ebx
mov ecx, esi
call fcn.004edbf0
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 0x50b5e5
mov eax, 0x5ab14c
jmp 0x50b5ed
mov eax, dword [esi + 0x68]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x59
jne 0x50b603
test edx, edx
jle 0x50b603
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.004d44f0
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.004b7a30
push 0
push 3
push 0
mov edx, 0x73
mov ecx, esi
mov edi, eax
call fcn.004d44f0
add esp, 0x1c
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004d52a0
add esp, 8
mov ecx, esi
call fcn.00509850
mov edx, ebx
mov ecx, esi
call fcn.004d4f00
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 0x50b5a0
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x50b79e
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x20]
and eax, 0x200
or eax, 0
jne 0x50b79e
push eax
mov ecx, edi
call fcn.004ea2f0
add esp, 4
mov edx, eax
cmp byte [edi + 0x51], 0
mov dword [esp + 0x54], edx
jne 0x50b793
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 0x50b71f
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.004efa40
dec edi
lea ebp, [ebp - 0x14]
add esp, 0x10
test edi, edi
jg 0x50b6f8
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.004ef660
mov edx, dword [esp + 0x28]
mov ecx, esi
call fcn.004d4c30
mov dword [ebp + 0x34], 0
push dword [ebx]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.004b7a30
add esp, 0x1c
mov edx, 0x73
mov ecx, esi
mov edi, eax
push 0
push 3
push 0
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004d52a0
add esp, 8
mov ecx, esi
call fcn.00509850
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004d4c30
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x50b79e
mov ecx, edi
call fcn.004eaee0
cmp byte [esp + 0x3f], 0x71
je 0x50ba83
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x50ba7f
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 0x50ba70
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.004fdf90
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.004d44f0
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.004d44f0
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x51], 0
jne 0x50b85c
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.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.row
call fcn.004d52a0
push 3
push 3
push 7
mov edx, 0x6e
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str._missing_from_index
call fcn.004d52a0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004d44f0
mov edi, dword [ebx]
add esp, 0x14
mov edx, 0x73
mov ecx, esi
push 0
push 4
push 0
call fcn.004d44f0
add esp, 0xc
mov dword [esp + 0x64], eax
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004d52a0
push 3
push 3
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
mov ecx, esi
call fcn.00509850
mov edx, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.004d4f00
cmp byte [ebx + 0x36], 0
je 0x50ba49
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 0x50b982
mov eax, dword [ebx + 4]
movsx eax, word [eax + edi*2]
test eax, eax
js 0x50b95c
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
cmp byte [eax + ecx*4 + 0xc], 0
jne 0x50b979
mov eax, dword [esp + 0x50]
mov ecx, esi
push 0
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.004d44f0
mov edx, dword [esp + 0x24]
add esp, 0xc
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x50b944
mov eax, dword [esp + 0x44]
mov edx, 5
add eax, dword [esp + 0x20]
mov ecx, esi
push 0
push 0
push eax
call fcn.004d44f0
add esp, 0xc
mov edx, 0xb
mov ecx, esi
mov edi, eax
push 0
push dword [esp + 0x1c]
push 0
call fcn.004d44f0
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.004d4f00
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.004d44f0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x50ba04
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.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.non_unique_entry_in_index
call fcn.004d52a0
push 0
push dword [esp + 0x70]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.004d44f0
add esp, 0x14
mov edx, edi
mov ecx, esi
call fcn.004d4c30
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.004d4f00
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x40]
test edx, edx
je 0x50ba6c
mov ecx, dword [eax + 8]
call fcn.004d4c30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x20]
test ebx, ebx
jne 0x50b7c8
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.004d44f0
add esp, 0xc
lea edx, [edi - 1]
mov ecx, esi
call fcn.004d4f00
cmp byte [esp + 0x3f], 0x71
je 0x50bb9e
push 0
push 2
push 0
mov edx, 0x73
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push str.wrong__of_entries_in_index
call fcn.004d52a0
mov ebx, dword [ebx + 8]
add esp, 8
xor ebp, ebp
test ebx, ebx
je 0x50bb9e
mov eax, dword [esp + 0x28]
nop dword [eax + eax]
cmp eax, ebx
je 0x50bb92
mov eax, dword [esp + 0x44]
mov edx, 0x5c
push 0
add eax, ebp
mov ecx, esi
push 3
push eax
call fcn.004d44f0
add esp, 0xc
lea eax, [ebp + 8]
mov edx, 0x35
mov ecx, esi
push 3
push 0
push eax
call fcn.004d44f0
mov ecx, dword [esi + 0x6c]
add esp, 0xc
mov dword [esp + 0x70], eax
test ecx, ecx
jle 0x50bb44
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.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push edi
call fcn.004d52a0
push 3
push 2
push 4
mov edx, 0x6e
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
mov ecx, esi
call fcn.00509850
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.004d4f00
mov eax, dword [esp + 0x28]
mov ebx, dword [ebx + 0x14]
inc ebp
test ebx, ebx
jne 0x50baf0
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x50b470
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 0x50b2a0
jmp 0x50bbdf
mov ebp, dword [esp + 0x10]
push 0
push 0x57d058
mov edx, 7
mov ecx, esi
call fcn.004d4d90
mov edi, eax
add esp, 8
test edi, edi
je 0x50bc23
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], 0x588afc
mov byte [edi + 0x65], 0xff
call fcn.00535ef0
mov dword [edi + 0x74], eax
mov eax, dword [esi]
mov ecx, 0x5ab14c
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x50bc36
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x509b65
test ecx, ecx
jne 0x50bc6d
mov ecx, ebx
call fcn.0050d2e0
test eax, eax
jne 0x509b61
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x577740]
call fcn.00509670
jmp 0x509b61
mov eax, dword [esp + 0x10]
mov ecx, 1
mov esi, dword [eax + 0x14]
test esi, esi
jle 0x50bca7
mov edx, dword [eax + 0x10]
add edx, 0xc
cmp dword [edx - 8], 0
je 0x50bc97
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 0x50bc83
test ecx, ecx
je 0x509b61
mov eax, dword [str.UTF8]
mov esi, 0x577740
test eax, eax
je 0x50bcf9
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.004b8800
test eax, eax
je 0x50bcd0
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x50bcb5
jmp 0x50bcf9
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 0x509b61
push dword [esp + 0x2c]
push str.unsupported_encoding:__s
push ebx
call fcn.004b86d0
add esp, 0xc
jmp 0x509b61
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [ebp + 8]
mov edx, ebx
call fcn.004d5780
cmp dword [esp + 0x2c], 0
je 0x50bd6f
test byte [ebp + 5], 8
jne 0x50bd6f
push 0
push 0x577920
mov edx, 2
mov ecx, esi
call fcn.004d4d90
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.004b9170
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
jmp 0x509b61
push 0
push 0x57c874
mov edx, 3
mov ecx, esi
call fcn.004d4d90
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x98], 0xffffffbf
jmp 0x509b61
xor edi, edi
mov dword [ebx + 0x2c], 1
cmp edi, 5
ja 0x50bdb1
mov ebx, dword [edi*4 + 0x57a61c]
jmp 0x50bdb3
xor ebx, ebx
inc edi
test ebx, ebx
je 0x50bd8e
push 0
push 1
push 0
mov edx, 0x73
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0
push ebx
call fcn.004d52a0
push 0
push 1
push 1
mov edx, 0x50
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
jmp 0x50bda3
mov eax, dword [esp + 0x28]
mov ebp, 0xa
cmp dword [eax], 0
cmovne ebp, dword [esp + 0x30]
xor edi, edi
test ecx, ecx
je 0x50be49
mov edx, str.full
call fcn.004b8800
test eax, eax
jne 0x50be1a
lea edi, [eax + 1]
jmp 0x50be49
mov ecx, dword [esp + 0x2c]
mov edx, str.restart
call fcn.004b8800
test eax, eax
jne 0x50be31
lea edi, [eax + 2]
jmp 0x50be49
mov ecx, dword [esp + 0x2c]
mov edx, str.truncate
call fcn.004b8800
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.004d44f0
add esp, 0xc
push 0
push 3
jmp 0x50a018
test ecx, ecx
je 0x50bea1
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.004b9170
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x50be91
push eax
push 0x5367f0
jmp 0x50be95
push 0
push 0
push dword [esp + 0x18]
call fcn.00536950
add esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xf8], 0x5367f0
jne 0x509cfe
mov eax, dword [eax + 0xfc]
mov ecx, esi
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
push dword [esp + 0x10]
call fcn.005353d0
jmp 0x509b5e
test ecx, ecx
je 0x50bf03
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.004b9170
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
test cl, 2
je 0x509b61
jmp 0x50bf0b
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 0x50bf27
mov dword [esp + 0x14], edi
jmp 0x50bf3b
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x50c0a6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp edi, 1
je 0x50c092
mov edx, edi
mov ecx, ebx
call fcn.004fbae0
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 0x50c08a
nop
mov edi, dword [ebp + 8]
test dword [edi + 0x24], 0x100
je 0x50c07b
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 0x50bfa3
test byte [eax + 0x38], 0x80
je 0x50bfea
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x50bf96
test cx, cx
je 0x50bfea
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push 0x60
push edi
push dword [esp + 0x38]
call fcn.00504380
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.004d44f0
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.004b7a30
add esp, 0x10
mov edi, eax
test byte [esp + 0x18], 1
mov dword [esp + 0x70], edi
je 0x50c053
mov ecx, ebx
call fcn.004f0b60
mov edi, eax
mov edx, 0x73
push 0
push edi
push 0
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push dword [esp + 0x74]
call fcn.004d52a0
push 0
push 1
push edi
mov edx, 0x50
mov ecx, esi
call fcn.004d44f0
add esp, 0x14
jmp 0x50c077
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
mov edx, eax
mov ecx, esi
push 0xfffffffffffffff9
push edi
call fcn.004d52a0
add esp, 8
mov edx, dword [esp + 0x10]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x50bf70
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 0x50bf43
push 0
push 0
push 0
mov edx, 0x9e
mov ecx, esi
call fcn.004d44f0
add esp, 0xc
jmp 0x509b61
test ecx, ecx
je 0x50c0e1
lea edx, [esp + 0x70]
call fcn.004b9060
test eax, eax
jne 0x50c0e1
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.004b4d20
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004b4d20
push edx
push eax
mov ecx, esi
call fcn.005095d0
add esp, 0x10
jmp 0x509b61
test ecx, ecx
je 0x50c146
lea edx, [esp + 0x70]
call fcn.004b9060
test eax, eax
jne 0x50c146
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004b4e60
mov edi, dword [esp + 0x7c]
add esp, 8
mov ebx, eax
test edi, edi
jl 0x50c146
mov ecx, dword [esp + 0x70]
jg 0x50c12c
test ecx, ecx
je 0x50c146
mov eax, ebx
or eax, edx
je 0x50c13c
cmp edx, edi
jl 0x50c146
jg 0x50c13c
cmp ebx, ecx
jbe 0x50c146
push edi
push ecx
call fcn.004b4e60
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004b4e60
push edx
push eax
mov ecx, esi
call fcn.005095d0
add esp, 0x10
jmp 0x509b61
test ecx, ecx
je 0x50c195
lea edx, [esp + 0x70]
call fcn.004b9060
test eax, eax
jne 0x50c195
cmp dword [esp + 0x74], eax
jl 0x50c195
mov eax, dword [esp + 0x70]
jg 0x50c181
test eax, eax
jb 0x50c195
and eax, 0x7fffffff
push eax
push 0xb
push dword [esp + 0x18]
call fcn.005371b0
add esp, 0xc
push 0xffffffffffffffff
push 0xb
push dword [esp + 0x18]
call fcn.005371b0
add esp, 0xc
cdq
mov ecx, esi
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
test ecx, ecx
je 0x50c1dc
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.004b9170
push dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.00536050
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1d8]
cdq
push edx
push eax
call fcn.005095d0
add esp, 8
jmp 0x509b61
mov ebp, edx
jmp 0x509b65