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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [esp + 0x24], eax
mov edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov esi, dword [edx + 8]
mov ecx, dword [edx]
mov dword [esp + 8], ecx
mov dword [esp + 0x3c], esi
test esi, esi
jne 0x4d13cf
cmp dword [edx + 0x74], esi
jne 0x4d13b2
test byte [ecx + 0x4c], 8
jne 0x4d13b2
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00498fc0
mov edx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x4d396d
or dword [esi + 0x98], 0x40
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x2c], 2
mov edx, edi
push eax
call fcn.004bddd0
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
js 0x4d396d
mov ecx, dword [esp + 8]
shl eax, 4
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 0x10]
add edi, eax
mov dword [esp + 0x2c], edi
cmp edx, 1
jne 0x4d1429
mov ecx, dword [esp + 0xc]
call fcn.004c31f0
test eax, eax
jne 0x4d396d
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 8]
call fcn.004bdbd0
mov dword [esp + 0x50], eax
test eax, eax
je 0x4d396d
cmp dword [ebp + 0x10], 0
je 0x4d1465
push dword [esp + 0x10]
push 0x708164
push dword [esp + 0x10]
call fcn.00479e10
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
jmp 0x4d1478
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.004bdbd0
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jbe 0x4d1486
mov edi, dword [edi]
jmp 0x4d1488
xor edi, edi
push edi
push ecx
push dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, 0x13
mov dword [esp + 0x44], edi
call fcn.004bc700
add esp, 0xc
test eax, eax
jne 0x4d3953
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
push ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc]
push 0xe
push edi
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
push eax
mov dword [eax + 0x19c], 0
call fcn.00502b50
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4d1534
lea edx, [eax + 1]
mov ecx, esi
call fcn.0049b520
push 0xffffffffffffffff
push dword [esp + 0x80]
xor edx, edx
mov ecx, esi
push edi
call fcn.0049b5e0
mov edx, dword [esp + 0x88]
add esp, 0xc
mov ecx, esi
call fcn.004d1040
push dword [esp + 0x7c]
call fcn.00477790
add esp, 4
jmp 0x4d3953
cmp edi, 0xc
je 0x4d156e
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4d155f
push eax
push 0x708160
push dword [esp + 0x14]
call fcn.0047ad30
add esp, 0xc
push dword [esp + 0x7c]
call fcn.00477790
add esp, 4
mov eax, dword [esp + 0xc]
inc dword [eax + 0x24]
mov dword [eax + 0xc], edi
jmp 0x4d3953
mov ecx, dword [esp + 0x50]
call fcn.004d11a0
mov edi, eax
test edi, edi
je 0x4d3953
test byte [edi + 5], 1
je 0x4d1598
mov ecx, dword [esp + 0xc]
call fcn.004d4bd0
test eax, eax
jne 0x4d3953
mov al, byte [edi + 5]
test al, 2
jne 0x4d15b4
test al, 4
je 0x4d15ab
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4d15b8
mov edx, edi
mov ecx, esi
call fcn.004d0de0
mov ecx, dword [esp + 0x34]
movzx eax, byte [edi + 4]
cmp eax, 0x27
ja case.0x4d15c5.3
jmp dword [eax*4 + 0x4d3984]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, edi
call fcn.0049a720
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4d160d
mov eax, dword [esp + 0xc]
mov edx, 9
push ecx
push 0x6c5600
mov ecx, esi
add dword [eax + 0x2c], 2
call fcn.00499c90
mov dword [eax + 4], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x7c], 0xfffff830
jmp 0x4d3950
mov ecx, eax
call fcn.0047b9e0
mov ecx, eax
call fcn.0047c0e0
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov edi, eax
call fcn.004c3380
add esp, 4
mov edx, 0x5f
mov ecx, esi
push edi
push 3
push dword [esp + 0x24]
call fcn.00499300
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov dword [eax + 0x50], edi
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x50]
call fcn.0048db90
jmp 0x4d3953
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4d1683
test edi, edi
je 0x4d167c
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
jmp 0x4d3946
xor eax, eax
jmp 0x4d3946
call fcn.0047b9e0
mov ecx, dword [esp + 8]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x5c], eax
mov ecx, edi
call fcn.0048dcf0
add esp, 8
cmp eax, 7
jne 0x4d3953
mov ecx, dword [esp + 8]
call fcn.00478010
jmp 0x4d3953
mov edi, dword [esp + 0x2c]
or edx, 0xffffffff
mov dword [esp + 0x30], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x64], eax
test ecx, ecx
je 0x4d16f5
push str.fast
push ecx
call fcn.0047aed0
add esp, 8
test eax, eax
jne 0x4d16e3
lea edx, [eax + 2]
jmp 0x4d16f1
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d0bf0
movzx edx, al
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jne 0x4d1732
test edx, edx
js 0x4d1732
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 0
jle 0x4d1732
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + edi + 4]
call fcn.0048de50
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
mov edx, dword [esp + 0x30]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4d1711
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
call fcn.0048de50
jmp 0x4d3946
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x1c]
call fcn.004c3290
mov eax, dword [esp + 0x50]
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x6c5f00], 0x70
jne 0x4d1791
push edi
push dword [esp + 0x20]
mov edx, 0xa6
mov ecx, esi
call fcn.00499430
add esp, 8
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.00499430
jmp 0x4d3950
mov ecx, dword [esp + 0x34]
call fcn.0047b9e0
mov ecx, eax
call fcn.0047c0e0
push eax
push edi
push dword [esp + 0x24]
mov edx, 0xa7
mov ecx, esi
call fcn.00499300
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.00499430
jmp 0x4d3950
call fcn.004d0c10
mov edx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d1826
cmp edx, 0xffffffff
jne 0x4d17eb
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x53]
jmp 0x4d1837
test eax, eax
jne 0x4d1826
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 2
jle 0x4d1823
mov edi, 0x20
lea esi, [edi - 0x1e]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.00487960
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4d1801
mov esi, dword [esp + 0x3c]
mov byte [eax + 0x53], dl
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.00487960
cmp eax, 1
mov edx, str.exclusive
mov eax, str.normal
mov ecx, esi
cmovne edx, eax
call fcn.004d1040
jmp 0x4d3953
test ecx, ecx
je 0x4d18a5
call fcn.0047abd0
mov dword [esp + 0x64], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp edi, 6
je 0x4d18a5
mov ecx, dword [edi*4 + 0x6c4de8]
test ecx, ecx
je 0x4d18a5
push eax
push ecx
push dword [esp + 0x3c]
call fcn.0047af40
add esp, 0xc
test eax, eax
je 0x4d188f
mov eax, dword [esp + 0x64]
inc edi
jmp 0x4d1862
cmp edi, 2
jne 0x4d18c8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x4d18cd
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 4], 0
jne 0x4d18d1
mov dword [esp + 0x1c], 0
mov dword [ecx + 4], 1
jmp 0x4d18d1
cmp edi, 0xffffffff
je 0x4d18ad
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x4d1933
mov edx, edi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x10]
cmp dword [edx + eax + 4], 0
je 0x4d191f
cmp edi, dword [esp + 0x1c]
je 0x4d18fc
cmp dword [ecx + 4], 0
jne 0x4d191f
mov edx, edi
mov ecx, esi
call fcn.0049a720
push dword [esp + 0x14]
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.00499300
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
sub edx, 0x10
sub edi, 1
mov eax, dword [esp + 8]
mov dword [esp + 0x10], edx
jns 0x4d18e6
push 1
push 1
mov edx, 0x51
mov ecx, esi
call fcn.00499430
jmp 0x4d3950
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
mov edx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, 0xfffffffe
mov dword [esp + 0x68], eax
test edx, edx
je 0x4d1998
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x68]
call fcn.0047b740
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
jg 0x4d1994
jl 0x4d198d
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
jae 0x4d1998
or eax, 0xffffffff
or ecx, eax
jmp 0x4d1998
mov eax, dword [esp + 0x68]
push ecx
push eax
mov ecx, edi
call fcn.00487ad0
push edx
push eax
mov ecx, esi
call fcn.004d0f10
add esp, 0x10
jmp 0x4d3953
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4d19c9
mov ecx, edi
call fcn.0048df40
jmp 0x4d3946
call fcn.004d0c50
mov ecx, dword [esp + 8]
mov edx, eax
mov dword [esp + 0x10], eax
mov byte [ecx + 0x54], al
mov ecx, edi
call fcn.0048dec0
test eax, eax
jne 0x4d3953
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4d19fc
cmp eax, 2
jne 0x4d3953
mov edi, dword [esi + 0x6c]
mov edx, 5
push ecx
push 0x6c8940
mov ecx, esi
call fcn.00499c90
mov edx, dword [esp + 0x24]
lea ecx, [edi + 4]
add esp, 8
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [eax + 4], edx
mov dword [eax + 0x5c], ecx
mov ecx, esi
mov dword [eax + 0x18], edx
mov dword [eax + 0x54], edx
call fcn.0049a720
jmp 0x4d3953
test ecx, ecx
je 0x4d1a54
lea edx, [esp + 0x64]
call fcn.0047b850
test eax, eax
je 0x4d1a54
mov edi, dword [esp + 0x64]
test edi, edi
jg 0x4d1a59
mov edi, closesocket
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004c3380
add esp, 4
mov edx, 0x46
mov ecx, esi
push 1
push edi
call fcn.00499430
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.004993d0
add esp, 0xc
mov edx, 0x51
mov ecx, esi
mov edi, eax
push 1
call fcn.004993d0
add esp, 4
mov edx, 0x53
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.00499430
push edi
push 1
mov edx, 0x2f
mov ecx, esi
call fcn.00499430
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.00499e20
jmp 0x4d3953
test ecx, ecx
jne 0x4d1ae3
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x50]
jmp 0x4d3946
call fcn.0047b9e0
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
mov dword [ecx + 0x50], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edx + 0x50]
call fcn.0048db90
jmp 0x4d3953
test ecx, ecx
jne 0x4d1b2e
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
je 0x4d167c
mov edi, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [edi + 4]
call fcn.0048dc10
jmp 0x4d3946
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
call fcn.0047b850
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4d1b55
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [edi + 4]
call fcn.0048dc10
mov ecx, dword [esp + 0x34]
test esi, esi
setne dl
call fcn.004d0bf0
mov ecx, dword [esp + 8]
test al, al
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
je 0x4d1b7f
or dword [ecx + 0x20], 0x20
call fcn.004d10c0
jmp 0x4d3953
and dword [ecx + 0x20], 0xffffffdf
call fcn.004d10c0
jmp 0x4d3953
test ecx, ecx
je 0x4d1c33
lea edx, [esp + 0x68]
call fcn.0047b740
mov edx, dword [esp + 0x6c]
test edx, edx
jg 0x4d1bc5
jl 0x4d1bb0
mov eax, dword [esp + 0x68]
test eax, eax
jae 0x4d1bc9
mov eax, dword [0x70a8f0]
mov edx, dword [0x70a8f4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4d1bc9
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 8]
cmp dword [ecx + 4], 0
jne 0x4d1bdd
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x4d1c33
mov esi, dword [esp + 8]
mov edx, edi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x10]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x4d1c23
cmp edi, dword [esp + 0x1c]
je 0x4d1c09
cmp dword [ecx + 4], 0
jne 0x4d1c23
push dword [esp + 0x6c]
mov ecx, eax
push dword [esp + 0x6c]
call fcn.0048dc60
mov ecx, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x10]
sub edx, 0x10
sub edi, 1
mov dword [esp + 0x10], edx
jns 0x4d1bf2
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0xffffffff
push eax
push 0x12
push dword [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
call fcn.00502b50
add esp, 0x10
test eax, eax
jne 0x4d1c6b
push dword [esp + 0x6c]
push dword [esp + 0x6c]
jmp 0x4d3949
cmp eax, 0xc
je 0x4d3953
mov ecx, dword [esp + 0xc]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x4d3953
test ecx, ecx
jne 0x4d1c94
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x50]
jmp 0x4d3946
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004d0d40
jmp 0x4d3953
test ecx, ecx
jne 0x4d1cba
mov edx, dword [0x715a78]
mov ecx, esi
call fcn.004d1040
jmp 0x4d3953
cmp byte [ecx], 0
je 0x4d1cf3
mov eax, dword [esp + 8]
lea edx, [esp + 0x64]
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 0x4d1ce0
cmp dword [esp + 0x64], eax
jne 0x4d1cf3
push 0x708178
push dword [esp + 0x10]
call fcn.0047ad30
jmp 0x4d3950
mov eax, dword [esp + 8]
cmp byte [eax + 0x50], 1
ja 0x4d1d06
mov ecx, dword [esp + 0xc]
call fcn.004d0cf0
push dword [0x715a78]
call fcn.00477790
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4d1d32
push eax
push 0x7081bc
call fcn.00479ef0
mov dword [0x715a78], eax
jmp 0x4d3950
mov dword [0x715a78], 0
jmp 0x4d3953
test ecx, ecx
jne 0x4d1d57
mov edx, dword [0x715a74]
mov ecx, esi
call fcn.004d1040
jmp 0x4d3953
cmp byte [ecx], 0
je 0x4d1d90
mov eax, dword [esp + 8]
lea edx, [esp + 0x64]
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 0x4d1d7d
cmp dword [esp + 0x64], eax
jne 0x4d1d90
push str.not_a_writable_directory
push dword [esp + 0x10]
call fcn.0047ad30
jmp 0x4d3950
push dword [0x715a74]
call fcn.00477790
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4d1dbc
push eax
push 0x7081f8
call fcn.00479ef0
mov dword [0x715a74], eax
jmp 0x4d3950
mov dword [0x715a74], 0
jmp 0x4d3953
test ecx, ecx
jne 0x4d1ddd
mov edi, dword [esp + 0x2c]
movzx eax, byte [edi + 8]
dec eax
jmp 0x4d3946
mov edx, dword [esp + 8]
cmp byte [edx + 0x4f], 0
jne 0x4d1dfa
push str.Safety_level_may_not_be_changed_inside_a_transaction
push dword [esp + 0x10]
call fcn.0047ad30
jmp 0x4d3950
cmp dword [esp + 0x1c], 1
je 0x4d3953
push 1
xor edx, edx
call fcn.004d0b40
mov edi, dword [esp + 0x30]
inc eax
add esp, 4
mov ecx, 1
and eax, 7
cmove eax, ecx
mov byte [edi + 9], cl
mov ecx, dword [esp + 8]
mov byte [edi + 8], al
call fcn.004d10c0
jmp 0x4d3953
test ecx, ecx
jne 0x4d1e7c
mov edx, edi
mov ecx, esi
call fcn.004d0de0
mov edx, dword [esp + 8]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
and ecx, dword [edx + 0x20]
and eax, dword [edx + 0x24]
or ecx, eax
je 0x4d1e64
xor eax, eax
mov ecx, 1
push eax
push ecx
jmp 0x4d3949
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
jmp 0x4d3949
mov ecx, dword [esp + 8]
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x4f], 0
jne 0x4d1e99
and eax, 0xffffbfff
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d0bf0
test al, al
je 0x4d1eb8
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
or dword [eax + 0x20], edx
or dword [eax + 0x24], edi
jmp 0x4d1eec
mov esi, dword [esp + 8]
mov eax, edi
mov ecx, dword [esp + 0x18]
not eax
not ecx
and dword [esi + 0x20], ecx
mov ecx, esi
mov esi, dword [esp + 0x3c]
and dword [ecx + 0x24], eax
cmp dword [esp + 0x18], 0x80000
jne 0x4d1eec
test edi, edi
jne 0x4d1eec
mov dword [ecx + 0x1e0], edi
mov dword [ecx + 0x1e4], edi
mov edx, 0x9e
mov ecx, esi
call fcn.00499370
mov ecx, dword [esp + 8]
call fcn.004d10c0
jmp 0x4d3953
test ecx, ecx
je 0x4d3953
push dword [esp + 0x38]
mov edx, 2
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004bcf80
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d3953
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d4d80
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x18], 0
call fcn.004bdf50
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [eax + 0x2c], 7
call fcn.004c3290
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
call fcn.004c0120
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
movzx eax, word [eax + 0x2a]
mov dword [esp + 0x40], edx
cmp cx, ax
jge 0x4d3953
mov al, byte [edx + 0xf]
mov byte [esp + 0x2b], al
movzx eax, al
shr eax, 1
and eax, 1
mov dword [esp + 0x54], eax
je 0x4d1fba
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4d1fba
inc dword [esp + 0x18]
jmp 0x4d20b2
test byte [esp + 0x2b], 1
jne 0x4d1fc5
xor edx, edx
jmp 0x4d2005
cmp dword [esp + 0x10], 0
mov edx, 1
je 0x4d2005
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 0x2a]
cwde
mov dword [esp + 0x64], eax
cmp eax, edx
jl 0x4d2005
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov ecx, dword [eax + 4]
nop dword [eax]
movsx eax, word [ecx]
cmp eax, dword [esp + 0x30]
je 0x4d2001
inc edx
add ecx, 2
cmp edx, esi
jle 0x4d1ff0
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d2019
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
jmp 0x4d2021
mov dword [esp + 0x20], 0
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x4d2039
mov dword [esp + 0x24], str.issisi
test byte [esp + 0x2b], 4
jne 0x4d204a
mov dword [esp + 0x38], 0x715a67
jmp 0x4d207a
mov eax, dword [ecx]
mov ecx, eax
mov dword [esp + 0x48], eax
lea eax, [ecx + 1]
mov dword [esp + 0x64], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d2060
mov eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x64]
inc eax
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
push dword [esp + 0x54]
xor eax, eax
cmp byte [ecx + 0xc], al
push edx
push dword [esp + 0x28]
setne al
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push dword [ecx]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x40]
push 1
push esi
call fcn.004995c0
mov ecx, dword [esp + 0x58]
add esp, 0x28
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
inc ecx
add edx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edx
movzx eax, word [eax + 0x2a]
cwde
cmp ecx, eax
jl 0x4d1f94
jmp 0x4d3953
test ecx, ecx
je 0x4d3953
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bd140
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4d2132
push dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
lea edx, [eax + 2]
push dword [esp + 0x38]
call fcn.004bcf80
add esp, 8
test eax, eax
je 0x4d3953
test byte [eax + 0x24], 0x20
je 0x4d3953
mov ecx, eax
call fcn.004bdf50
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d3953
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 8]
call fcn.004d4d80
mov ecx, dword [edi + 8]
or ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
je 0x4d2161
mov eax, dword [esp + 0xc]
movzx ecx, word [edx + 0x34]
mov dword [eax + 0x2c], 6
mov eax, ecx
jmp 0x4d2170
mov ecx, dword [esp + 0xc]
movzx eax, word [edx + 0x32]
mov dword [ecx + 0x2c], 3
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x48], eax
call fcn.004c3290
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x18], edx
test cx, cx
je 0x4d3953
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx*2]
mov dword [esp + 0x64], eax
test ax, ax
jns 0x4d21b8
xor ecx, ecx
jmp 0x4d21cb
movsx ecx, ax
mov eax, dword [esp + 0x48]
add ecx, ecx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*8]
mov eax, dword [esp + 0x64]
push ecx
cwde
push eax
push edx
push str.iisX
push 1
push esi
call fcn.004995c0
mov eax, dword [edi + 8]
add esp, 0x18
or eax, dword [edi + 0xc]
je 0x4d221d
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [esp + 0x18]
movzx eax, word [eax + 0x32]
cmp edx, eax
setl cl
push ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
push dword [eax + edx*4]
mov eax, dword [ecx + 0x1c]
movzx eax, byte [eax + edx]
push eax
push str.isiX
push 4
push esi
call fcn.004995c0
add esp, 0x18
mov eax, dword [esp + 0xc]
mov edx, 0x51
mov ecx, esi
push dword [eax + 0x2c]
push 1
call fcn.00499430
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x20]
inc edx
movzx eax, cx
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x4d21a0
jmp 0x4d3953
test ecx, ecx
je 0x4d3953
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bce40
mov edi, eax
add esp, 4
test edi, edi
je 0x4d3953
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d4d80
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [ecx + 0x2c], 5
call fcn.004c3290
mov edi, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edi, edi
je 0x4d3953
mov dword [esp + 0x68], 0x708224
mov dword [esp + 0x6c], 0x70822c
mov dword [esp + 0x70], 0x708238
nop dword [eax]
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 + 0x6c]
xor eax, eax
cmp byte [edi + 0x36], al
setne al
push eax
push dword [edi]
push ecx
push str.isisi
push 1
push esi
call fcn.004995c0
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov edi, dword [edi + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4d22c0
jmp 0x4d3953
mov eax, dword [esp + 0xc]
xor edi, edi
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x4d3953
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov edx, dword [edx + 0x10]
add edx, ecx
mov eax, dword [edx + 4]
test eax, eax
je 0x4d234f
mov ecx, eax
call fcn.004965b0
push eax
push dword [edx]
push edi
push 0x708240
push 1
push esi
call fcn.004995c0
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 8]
inc edi
add ecx, 0x10
mov dword [esp + 0x10], ecx
cmp edi, dword [edx + 0x14]
jl 0x4d2324
jmp 0x4d3953
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x10], ecx
mov dword [eax + 0x2c], 2
mov edi, dword [edx + 0x18c]
test edi, edi
je 0x4d3953
mov eax, dword [edi + 8]
push dword [eax]
push ecx
push 0x70823c
push 1
push esi
call fcn.004995c0
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [edi]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4d2388
jmp 0x4d3953
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], 2
mov eax, 0x716070
mov dword [esp + 0x10], eax
mov edi, dword [eax]
test edi, edi
je 0x4d23f9
nop dword [eax]
test dword [edi + 4], 0x40000
jne 0x4d23ee
push 1
push dword [edi + 0x20]
push 0x708248
push 1
push esi
call fcn.004995c0
add esp, 0x14
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x4d23d0
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, 0x7160cc
jl 0x4d23c6
mov edx, dword [esp + 8]
mov edi, dword [edx + 0x17c]
test edi, edi
je 0x4d3953
nop dword [eax]
mov eax, dword [edi + 8]
push 0
push dword [eax + 0x20]
push 0x708244
push 1
push esi
call fcn.004995c0
mov edi, dword [edi]
add esp, 0x14
test edi, edi
jne 0x4d2420
jmp 0x4d3953
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 1
mov edi, dword [edx + 0x160]
test edi, edi
je 0x4d3953
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x708250
push 1
push esi
call fcn.004995c0
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x4d2460
jmp 0x4d3953
mov edi, 0x6c72a0
push dword [edi]
push 0x70824c
push 1
push esi
call fcn.004995c0
add edi, 0x10
add esp, 0x10
cmp edi, str.0123456789ABCDEF
jl 0x4d2486
jmp 0x4d3953
test ecx, ecx
je 0x4d3953
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bce40
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x4d3953
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4d3953
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d4d80
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x20], 0
mov dword [ecx + 0x2c], 8
call fcn.004c3290
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x14], edx
jle 0x4d256e
lea eax, [edi + 0x24]
mov dword [esp + 0x18], eax
mov cl, byte [edi + 0x19]
push str.NONE
call fcn.004d1150
mov cl, byte [edi + 0x1a]
push eax
call fcn.004d1150
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x74]
add ecx, ecx
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
push dword [edi + 8]
push edx
push dword [esp + 0x3c]
push str.iissssss
push 1
push esi
call fcn.004995c0
mov edx, dword [esp + 0x3c]
add esp, 0x2c
add dword [esp + 0x18], 8
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [edi + 0x14]
jl 0x4d2513
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 4]
inc eax
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4d2501
jmp 0x4d3953
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x2c]
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x24], eax
inc eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4d3953
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4d25d1
push dword [esp + 0x38]
xor edx, edx
push ecx
mov ecx, edi
call fcn.004bcf80
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x4d25d6
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x4d296f
cmp dword [edi + 0x10], 0
je 0x4d296f
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d4d80
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.004c3290
push dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0x1c]
call fcn.004bc790
mov ecx, dword [esp + 0x30]
add esp, 0xc
movsx eax, word [edi + 0x2a]
inc ecx
add eax, ecx
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x2c]
jle 0x4d2639
mov dword [ecx + 0x2c], eax
push 0x61
push edi
push dword [esp + 0x44]
xor edx, edx
call fcn.004cba50
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.00499510
mov eax, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, 1
mov dword [esp + 0x30], ecx
test eax, eax
je 0x4d2737
push dword [esp + 0x38]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc]
call fcn.004bce40
mov edi, eax
add esp, 4
test edi, edi
je 0x4d2717
push dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0x1c]
mov dword [esp + 0x20], 0
call fcn.004bc790
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
add esp, 0xc
mov edx, edi
push 0
push eax
push dword [esp + 0x20]
call fcn.004c93f0
add esp, 0xc
test eax, eax
jne 0x4d3953
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4d26f0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x44]
call fcn.004cba50
add esp, 0xc
jmp 0x4d2717
push dword [esp + 0x3c]
mov edx, 0x61
mov ecx, esi
push dword [eax + 0x2c]
push dword [esp + 0x38]
call fcn.00499300
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.0049a310
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4d2672
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], ecx
jge 0x4d2743
mov dword [eax + 0x28], ecx
push 0
mov edx, 0x24
mov ecx, esi
call fcn.004993d0
mov edi, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x3c], edi
test edi, edi
je 0x4d294d
nop
push dword [esp + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0xc]
call fcn.004bce40
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x4d27b4
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.004c93f0
add esp, 0xc
mov eax, dword [esp + 0xc]
xor edi, edi
mov ecx, dword [esp + 0x3c]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x30], eax
cmp dword [ecx + 0x14], edi
jle 0x4d2837
mov eax, dword [esp + 0x24]
lea edx, [ecx + 0x24]
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4d27ee
mov ecx, dword [ecx + edi*4]
jmp 0x4d27f0
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0
mov ecx, esi
call fcn.004b45d0
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.00499430
mov ecx, dword [esp + 0x44]
inc edi
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x18]
add edx, 8
inc eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
cmp edi, dword [ecx + 0x14]
jl 0x4d27e1
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4d288e
mov edi, dword [esp + 0x3c]
push dword [edi + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004cbb90
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, 0x5c
push eax
push ecx
push dword [edi + 0x14]
lea eax, [ecx + 1]
mov ecx, esi
push eax
call fcn.00499770
add esp, 0x14
mov edx, 0x1d
mov ecx, esi
push 0
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x28]
call fcn.004999a0
add esp, 0x10
jmp 0x4d28c4
cmp dword [esp + 0x64], 0
je 0x4d28c0
mov eax, dword [esp + 0x24]
mov edx, 0x1e
inc eax
mov ecx, esi
push eax
mov eax, dword [esi + 0x6c]
add eax, 2
push eax
push dword [esp + 0x24]
call fcn.00499300
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
call fcn.004994a0
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, esi
mov edx, 0x80
test byte [eax + 0x24], 0x20
mov eax, dword [esp + 0x2c]
je 0x4d28de
mov edx, 0x49
inc eax
push eax
push 0
call fcn.00499430
mov eax, dword [esp + 0x24]
add esp, 8
dec eax
push eax
push dword [edi + 8]
mov eax, dword [esp + 0x34]
push 0x708280
add eax, 2
push eax
push esi
call fcn.004995c0
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 4
push dword [esp + 0x30]
call fcn.00499430
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, esi
call fcn.00499af0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
call fcn.00477880
mov edi, dword [edi + 4]
inc dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x4d2770
mov eax, dword [esp + 0x4c]
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.00499430
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, esi
call fcn.00499e20
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4d25b2
jmp 0x4d3953
test ecx, ecx
je 0x4d3953
xor dl, dl
call fcn.004d0bf0
mov ecx, dword [esp + 8]
movzx edx, al
call fcn.004c9270
jmp 0x4d3953
mov eax, dword [esp + 0x50]
or edx, 0xffffffff
mov edi, dword [esp + 0xc]
movzx eax, byte [eax]
mov al, byte [eax + 0x6c5f00]
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x24]
cmp dword [eax], 0
mov eax, dword [esp + 0x1c]
cmove eax, edx
mov dword [edi + 0x2c], 6
mov dword [esp + 0x1c], eax
mov eax, 0x64
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], eax
test ecx, ecx
je 0x4d29fd
lea edx, [esp + 0x44]
call fcn.0047b850
mov eax, dword [esp + 0x44]
mov ecx, 0x64
test eax, eax
cmovle eax, ecx
mov dword [esp + 0x64], eax
dec eax
mov edx, 0x46
push 1
push eax
mov ecx, esi
call fcn.00499430
mov eax, dword [esp + 0x10]
xor edx, edx
add esp, 8
mov dword [esp + 0x30], edx
cmp dword [eax + 0x14], edx
jle 0x4d340d
mov ecx, dword [esp + 0x1c]
nop word [eax + eax]
mov dword [esp + 0x20], 0
test ecx, ecx
js 0x4d2a44
cmp edx, ecx
jne 0x4d33ff
mov ecx, edi
call fcn.004c3290
mov eax, dword [esp + 8]
xor edx, edx
mov ecx, dword [esp + 0x30]
shl ecx, 4
mov dword [esp + 0x54], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax + 0xc]
add eax, 8
mov dword [esp + 0x44], eax
mov eax, dword [eax + 8]
test eax, eax
je 0x4d2ab0
mov esi, eax
mov eax, dword [esi + 8]
xor edi, edi
mov ecx, dword [eax + 8]
test byte [eax + 0x24], 0x20
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
test ecx, ecx
je 0x4d2a99
nop dword [eax + eax]
mov ecx, dword [ecx + 0x14]
inc edx
inc edi
test ecx, ecx
jne 0x4d2a90
mov eax, dword [esp + 0x20]
cmp edi, eax
mov esi, dword [esi]
cmovg eax, edi
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4d2a73
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00477bd0
mov edi, eax
add esp, 8
test edi, edi
je 0x4d340d
mov eax, dword [esp + 0x44]
xor edx, edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d2b1c
mov ecx, dword [eax + 8]
test byte [ecx + 0x24], 0x20
jne 0x4d2af5
mov eax, dword [ecx + 0x1c]
inc edx
mov dword [edi + edx*4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4d2b12
nop dword [eax]
mov eax, dword [ecx + 0x2c]
inc edx
mov dword [edi + edx*4], eax
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4d2b00
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4d2ae1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [edi], edx
add ecx, 8
push 0xfffffffffffffff1
mov eax, dword [eax + 0x2c]
cmp eax, ecx
push edi
cmovg ecx, eax
mov eax, dword [esp + 0x14]
push 1
push edx
push 2
mov dword [eax + 0x2c], ecx
mov edx, 0x92
mov ecx, esi
mov byte [eax + 0x13], 0
mov dword [eax + 0x1c], 0
call fcn.00499770
mov eax, dword [esp + 0x44]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.00499e00
push 2
mov edx, 0x32
call fcn.004993d0
mov edx, dword [esp + 0xc]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x54]
push 0xfffffffffffffff9
push ecx
mov ecx, dword [edx + 0x10]
push dword [eax + ecx]
push str._in_database__s__n
push edx
call fcn.00479e10
add esp, 0x10
mov edx, 0x71
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.00499770
add esp, 0x14
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 2
call fcn.00499300
add esp, 0xc
mov ecx, esi
call fcn.004d1240
mov edx, edi
mov ecx, esi
call fcn.00499e20
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 8]
mov dword [esp + 0x48], edi
test edi, edi
je 0x4d33ef
nop word [eax + eax]
mov edi, dword [edi + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x54], 0
mov dword [esp + 0x40], 0xffffffff
cmp dword [edi + 0x1c], 1
jl 0x4d33dd
test byte [edi + 0x24], 0x20
jne 0x4d2c21
mov dword [esp + 0x18], 0
jmp 0x4d2c2c
mov ecx, edi
call fcn.004bdf50
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x30]
mov edx, edi
push eax
push 0
push 1
push 0
push 0x61
call fcn.004cf200
push 7
push 0
mov edx, 0x46
mov ecx, esi
call fcn.00499430
mov edi, dword [edi + 8]
add esp, 0x20
test edi, edi
je 0x4d2c92
mov eax, 8
mov dword [esp + 0x44], eax
nop dword [eax]
push eax
push 0
mov edx, 0x46
mov ecx, esi
call fcn.00499430
mov eax, dword [esp + 0x4c]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x44], eax
test edi, edi
jne 0x4d2c70
push 0
push dword [esp + 0x30]
mov edx, 0x24
mov ecx, esi
call fcn.00499430
push 1
push 7
mov edx, 0x53
mov ecx, esi
call fcn.00499430
mov edi, dword [esp + 0x48]
add esp, 0x10
cmp byte [esp + 0x2b], 0x71
mov dword [esp + 0x68], eax
je 0x4d2cf8
movsx ecx, word [edi + 0x2a]
mov edx, 0x5a
dec ecx
push 3
push ecx
push dword [esp + 0x34]
mov ecx, esi
call fcn.00499300
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4d2cf8
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x44], ecx
cmp ax, word [edi + 0x2a]
jge 0x4d2dd1
xor edx, edx
mov dword [esp + 0x20], edx
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x4d2db9
mov eax, dword [edi + 4]
cmp byte [edx + eax + 0xc], 0
je 0x4d2db9
push 3
push ecx
push dword [esp + 0x34]
mov edx, edi
mov ecx, esi
call fcn.004b45d0
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4d2d54
lea ecx, [eax + eax*4]
mov edx, 0x80
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
push 3
mov edx, 0x33
mov ecx, esi
call fcn.004993d0
mov edx, dword [esp + 0x3c]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push str.NULL_value_in__s._s
push dword [esp + 0x14]
call fcn.00479e10
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
mov edx, 0x71
mov ecx, esi
call fcn.00499770
add esp, 0x24
mov ecx, esi
call fcn.004d1240
mov edx, edi
mov ecx, esi
call fcn.00499e20
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
movsx eax, word [edi + 0x2a]
inc ecx
add edx, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x20], edx
cmp ecx, eax
jl 0x4d2d10
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4d2edc
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
and eax, 0x200
or eax, 0
jne 0x4d2edc
push eax
call fcn.004b0610
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [ecx + 0x51], 0
jne 0x4d2ed3
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x38]
dec ecx
mov dword [esp + 0x44], ecx
lea eax, [ecx - 1]
mov dword [edi + 0x38], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [edi + 0x34], eax
mov edi, dword [edx]
dec edi
test edi, edi
jle 0x4d2e65
lea eax, [edi + edi*2]
lea esi, [eax*8 + 4]
add esi, edx
nop
push 0
push ecx
push dword [esi]
push dword [esp + 0x18]
call fcn.004b6420
mov ecx, dword [esp + 0x54]
lea esi, [esi - 0x18]
dec edi
add esp, 0x10
test edi, edi
jg 0x4d2e40
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
push 0x10
push dword [esp + 0x50]
push dword [edx + 4]
push edi
call fcn.004b6070
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.00499af0
mov dword [edi + 0x34], 0
mov edi, dword [esp + 0x48]
push dword [edi]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x20]
call fcn.00479e10
add esp, 0x1c
mov edx, 0x71
mov ecx, esi
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
call fcn.00499770
add esp, 0x14
mov ecx, esi
call fcn.004d1240
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.00499af0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test edx, edx
je 0x4d2edc
call fcn.004b1140
cmp byte [esp + 0x2b], 0x71
je 0x4d31d5
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4d31d5
mov ecx, dword [esp + 0x10]
mov eax, 8
sub eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
nop dword [eax]
mov eax, dword [ecx + 0x38]
dec eax
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x38], eax
cmp dword [esp + 0x18], edi
je 0x4d31c2
push dword [esp + 0x40]
lea eax, [esp + 0x64]
mov edx, edi
push dword [esp + 0x58]
push eax
push 0
push 0
push dword [esp + 0x40]
call fcn.004c5d10
mov ecx, dword [esp + 0x3c]
mov edx, 0x53
add ecx, dword [esp + 0x5c]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], edi
call fcn.00499430
movzx ecx, word [edi + 0x34]
mov edx, 0x1d
push ecx
push dword [esp + 0x64]
mov ecx, esi
push dword [esp + 0x74]
push dword [esp + 0x50]
call fcn.004999a0
push str.row
mov edx, 3
mov dword [esp + 0x80], eax
mov ecx, esi
call fcn.00499510
add esp, 0x34
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 7
call fcn.00499300
add esp, 0xc
mov edx, 4
mov ecx, esi
push str._missing_from_index
call fcn.00499510
add esp, 4
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.00499300
add esp, 0xc
mov edx, 4
mov ecx, esi
push dword [edi]
call fcn.00499510
add esp, 4
mov dword [esp + 0x58], eax
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.00499300
add esp, 0xc
mov ecx, esi
call fcn.004d1240
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x5c], eax
test ecx, ecx
jns 0x4d3019
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3028
mov eax, 0x715eec
jmp 0x4d3031
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [edi + 0x36], 0
je 0x4d3153
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edi, edi
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
cmp cx, word [eax + 0x32]
jae 0x4d30a7
nop word [eax + eax]
mov eax, dword [eax + 4]
movsx ecx, word [eax + edi*2]
test ecx, ecx
js 0x4d307b
mov eax, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x4d3096
mov eax, dword [esp + 0x40]
mov ecx, esi
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.00499430
mov edx, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x14]
inc edi
movzx eax, word [eax + 0x32]
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x4d3060
push dword [esp + 0x24]
mov edx, 5
mov ecx, esi
call fcn.004993d0
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004994a0
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4d30d1
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d30e0
mov eax, 0x715eec
jmp 0x4d30e9
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x14]
mov ecx, esi
mov dword [eax + 8], edx
mov edx, 0x26
movzx eax, word [edi + 0x32]
push eax
push dword [esp + 0x44]
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.004999a0
push str.non_unique_entry_in_index
mov edx, 3
mov ecx, esi
call fcn.00499510
mov edx, dword [esp + 0x6c]
add esp, 0x14
mov ecx, esi
call fcn.004994a0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d314a
push edx
mov edx, esi
call fcn.00499aa0
add esp, 4
jmp 0x4d3153
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x4d3161
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3170
mov eax, 0x715eec
jmp 0x4d3179
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x60]
test edx, edx
je 0x4d31be
mov eax, dword [esp + 0xc]
not edx
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d31aa
push edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 8]
call fcn.00499aa0
add esp, 4
jmp 0x4d31be
mov edi, dword [esp + 0xc]
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0xc]
mov edi, dword [edi + 0x14]
inc dword [esp + 0x24]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4d2f10
mov edi, dword [esp + 0x68]
mov edx, 5
push edi
push dword [esp + 0x30]
mov ecx, esi
call fcn.00499430
mov edx, dword [esi + 0x6c]
lea ecx, [edi - 1]
add esp, 8
test ecx, ecx
jns 0x4d31fa
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3209
mov eax, 0x715eec
jmp 0x4d3212
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmp byte [esp + 0x2b], 0x71
mov dword [eax + 8], edx
je 0x4d33dd
push str.wrong__of_entries_in_index
mov edx, 2
mov ecx, esi
call fcn.00499510
mov eax, dword [esp + 0x3c]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4d33dd
mov ecx, dword [esp + 0x18]
mov edx, 8
mov dword [esp + 0x40], edx
cmp ecx, eax
je 0x4d33c9
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d3287
mov eax, dword [esp + 0x10]
mov ecx, esi
push 0
add eax, 0xfffffff8
add eax, edx
mov edx, 0x5d
push 3
push eax
call fcn.004992c0
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4d32c0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff8
mov dword [ecx + 0x10], 0
add eax, edx
mov dword [ecx + 4], eax
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4d32e0
push 3
push 0
push edx
mov edx, 0x35
mov ecx, esi
call fcn.004992c0
add esp, 0xc
mov edi, eax
jmp 0x4d3313
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 3
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4d332a
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x20]
mov edx, 4
mov ecx, esi
push dword [eax]
call fcn.00499510
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4d335e
push 3
push 2
push 4
mov edx, 0x6c
mov ecx, esi
call fcn.004992c0
add esp, 0xc
jmp 0x4d3391
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x6c
mov dword [eax + ecx*4 + 4], 4
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 3
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
call fcn.004d1240
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4d33a2
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d33b1
mov eax, 0x715eec
jmp 0x4d33ba
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
inc edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edx
test eax, eax
jne 0x4d3254
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4d2bf0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [eax + 0x14]
jl 0x4d2a30
push ecx
push 0x6c9530
mov edx, 7
mov ecx, esi
call fcn.00499c90
mov edx, eax
add esp, 8
test edx, edx
je 0x4d3455
mov eax, dword [str.database_disk_image_is_malformed]
mov ecx, 1
sub ecx, dword [esp + 0x64]
test eax, eax
mov dword [edx + 8], ecx
mov ecx, str.unknown_error
cmovne ecx, eax
mov byte [edx + 0x29], 0xff
mov dword [edx + 0x38], 0x70831c
mov byte [edx + 0x65], 0xff
mov dword [edx + 0x74], ecx
mov eax, dword [esi]
mov ecx, 0x715eec
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4d3468
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x4d3953
test ecx, ecx
jne 0x4d34a3
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004d4bd0
test eax, eax
jne 0x4d3953
mov eax, dword [edi]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x6c4f20]
call fcn.004d1040
jmp 0x4d3953
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x10]
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x4e]
and al, 5
cmp al, 1
je 0x4d3953
mov eax, dword [str.UTF8]
mov esi, 0x6c4f20
test eax, eax
je 0x4d34ff
mov edx, eax
call fcn.0047af00
test eax, eax
je 0x4d34e3
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x4d34c8
jmp 0x4d3508
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x4d34f2
mov ecx, 2
mov eax, dword [esp + 8]
mov byte [eax + 0x4e], cl
mov eax, dword [edi + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x4d3953
push dword [esp + 0x34]
push str.unsupported_encoding:__s
push dword [esp + 0x14]
call fcn.0047ad30
add esp, 0xc
jmp 0x4d3953
mov eax, dword [edi + 8]
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
call fcn.0049a720
cmp dword [esp + 0x34], 0
je 0x4d357a
test byte [edi + 5], 8
jne 0x4d357a
push ecx
push 0x6c6028
mov edx, 2
mov ecx, esi
call fcn.00499c90
mov ecx, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
call fcn.0047b9e0
mov dword [esi + 0x20], eax
jmp 0x4d3953
push ecx
push 0x6c4fa4
mov edx, 3
mov ecx, esi
call fcn.00499c90
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [eax + 4], ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x20], ecx
and dword [esi + 0x98], 0xffffffbf
jmp 0x4d3953
mov eax, dword [esp + 0xc]
xor edi, edi
push edi
mov dword [eax + 0x2c], 1
call fcn.005031a0
add esp, 4
test eax, eax
je 0x4d35f4
push eax
mov edx, 1
mov ecx, esi
inc edi
call fcn.00499510
add esp, 4
mov edx, 0x51
mov ecx, esi
push 1
push 1
call fcn.00499430
push edi
call fcn.005031a0
add esp, 0xc
test eax, eax
jne 0x4d35c6
and dword [esi + 0x98], 0xffffffbf
jmp 0x4d3953
mov eax, dword [esp + 0x24]
mov edi, 0xa
cmp dword [eax], 0
cmovne edi, dword [esp + 0x1c]
mov dword [esp + 0x68], edi
xor edi, edi
test ecx, ecx
je 0x4d365d
mov edx, str.full
call fcn.0047af00
test eax, eax
jne 0x4d362e
lea edi, [eax + 1]
jmp 0x4d365d
mov ecx, dword [esp + 0x34]
mov edx, str.restart
call fcn.0047af00
test eax, eax
jne 0x4d3645
lea edi, [eax + 2]
jmp 0x4d365d
mov ecx, dword [esp + 0x34]
mov edx, str.truncate
call fcn.0047af00
test eax, eax
mov ecx, 3
cmove edi, ecx
mov eax, dword [esp + 0xc]
mov edx, 6
push 1
push edi
push dword [esp + 0x70]
mov ecx, esi
mov dword [eax + 0x2c], 3
call fcn.00499300
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 3
push 1
call fcn.00499430
jmp 0x4d3950
test ecx, ecx
je 0x4d36a9
call fcn.0047b9e0
push eax
push dword [esp + 0xc]
call fcn.00500f90
add esp, 8
mov eax, dword [esp + 8]
cmp dword [eax + 0xf8], 0x500f50
jne 0x4d167c
mov eax, dword [eax + 0xfc]
jmp 0x4d3946
push dword [esp + 8]
call fcn.004ff6c0
add esp, 4
jmp 0x4d3953
test ecx, ecx
je 0x4d36f3
call fcn.0047b9e0
mov ecx, eax
mov dword [esp + 0x10], ecx
test cl, 2
je 0x4d3953
jmp 0x4d36fb
mov dword [esp + 0x10], 0xfffe
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x64], eax
inc eax
cmp dword [esp + 0x38], 0
mov dword [ecx + 0x28], eax
je 0x4d371b
mov dword [esp + 0x18], edi
jmp 0x4d372f
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x18], eax
cmp edi, eax
jg 0x4d3897
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edi, 1
je 0x4d3883
mov edx, edi
call fcn.004c3290
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax + 0xc]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x48], edi
test edi, edi
je 0x4d3873
nop word [eax + eax]
mov edi, dword [edi + 8]
test dword [edi + 0x24], 0x100
je 0x4d3861
mov ax, word [edi + 0x2c]
add ax, 0x2e
movzx ecx, ax
mov eax, dword [edi + 8]
mov dword [esp + 0x68], ecx
test eax, eax
je 0x4d37a3
test byte [eax + 0x38], 0x80
je 0x4d37ec
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d3796
test cx, cx
je 0x4d37ec
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x24]
call fcn.004cba50
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, 0x21
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 + 0x6c]
call fcn.00499300
mov edx, dword [esp + 0x14]
add esp, 0xc
push dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x18]
push dword [ecx + eax]
push str.ANALYZE___w_.__w_
push edx
call fcn.00479e10
add esp, 0x10
mov edx, eax
test byte [esp + 0x10], 1
je 0x4d3845
mov ecx, dword [esp + 0xc]
call fcn.004b75b0
push 0xfffffffffffffff9
push edx
mov edi, eax
mov edx, 0x71
push 0
push edi
push 0
mov ecx, esi
call fcn.00499770
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.00499430
add esp, 8
jmp 0x4d385d
push 0xfffffffffffffff9
push edx
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.00499770
add esp, 0x14
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4d3770
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
inc edi
add eax, 0x10
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
cmp edi, edx
jle 0x4d3737
mov edx, 0x9e
mov ecx, esi
call fcn.00499370
jmp 0x4d3953
test ecx, ecx
je 0x4d38c9
lea edx, [esp + 0x68]
call fcn.0047b740
test eax, eax
jne 0x4d38c9
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.004772f0
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004772f0
push edx
push eax
mov ecx, esi
call fcn.004d0f10
add esp, 0x10
jmp 0x4d3953
test ecx, ecx
je 0x4d391a
lea edx, [esp + 0x68]
call fcn.0047b740
test eax, eax
jne 0x4d391a
cmp dword [esp + 0x6c], eax
jl 0x4d391a
mov eax, dword [esp + 0x68]
jg 0x4d3901
test eax, eax
jb 0x4d391a
mov ecx, 8
and eax, 0x7fffffff
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 8]
mov dword [ecx + 0x98], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x98]
jmp 0x4d3946
test ecx, ecx
je 0x4d393c
call fcn.0047b9e0
push eax
push dword [esp + 0xc]
call fcn.00500720
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x1c8]
cdq
push edx
push eax
mov ecx, esi
call fcn.004d0f10
add esp, 8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 8]
call fcn.00477880
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 8]
call fcn.00477880
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret