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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [0x704034]
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 0x4d186f
cmp dword [edx + 0x74], esi
jne 0x4d1852
test byte [ecx + 0x4c], 8
jne 0x4d1852
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.00499460
mov edx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x4d3e0d
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.004be270
mov edx, eax
add esp, 8
mov dword [esp + 0x1c], edx
test edx, edx
js 0x4d3e0d
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 0x4d18c9
mov ecx, dword [esp + 0xc]
call fcn.004c3690
test eax, eax
jne 0x4d3e0d
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 8]
call fcn.004be070
mov dword [esp + 0x50], eax
test eax, eax
je 0x4d3e0d
cmp dword [ebp + 0x10], 0
je 0x4d1905
push dword [esp + 0x10]
push 0x709164
push dword [esp + 0x10]
call fcn.0047a2b0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
jmp 0x4d1918
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.004be070
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jbe 0x4d1926
mov edi, dword [edi]
jmp 0x4d1928
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.004bcbb0
add esp, 0xc
test eax, eax
jne 0x4d3df3
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.00502fe0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4d19d4
lea edx, [eax + 1]
mov ecx, esi
call fcn.0049b9c0
push 0xffffffffffffffff
push dword [esp + 0x80]
xor edx, edx
mov ecx, esi
push edi
call fcn.0049ba80
mov edx, dword [esp + 0x88]
add esp, 0xc
mov ecx, esi
call fcn.004d14e0
push dword [esp + 0x7c]
call fcn.00477c30
add esp, 4
jmp 0x4d3df3
cmp edi, 0xc
je 0x4d1a0e
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4d19ff
push eax
push 0x709160
push dword [esp + 0x14]
call fcn.0047b1c0
add esp, 0xc
push dword [esp + 0x7c]
call fcn.00477c30
add esp, 4
mov eax, dword [esp + 0xc]
inc dword [eax + 0x24]
mov dword [eax + 0xc], edi
jmp 0x4d3df3
mov ecx, dword [esp + 0x50]
call fcn.004d1640
mov edi, eax
test edi, edi
je 0x4d3df3
test byte [edi + 5], 1
je 0x4d1a38
mov ecx, dword [esp + 0xc]
call fcn.004d5070
test eax, eax
jne 0x4d3df3
mov al, byte [edi + 5]
test al, 2
jne 0x4d1a54
test al, 4
je 0x4d1a4b
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x4d1a58
mov edx, edi
mov ecx, esi
call fcn.004d1280
mov ecx, dword [esp + 0x34]
movzx eax, byte [edi + 4]
cmp eax, 0x27
ja case.0x4d1a65.3
jmp dword [eax*4 + 0x4d3e24]
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, edi
call fcn.0049abc0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4d1aad
mov eax, dword [esp + 0xc]
mov edx, 9
push ecx
push 0x6c6910
mov ecx, esi
add dword [eax + 0x2c], 2
call fcn.0049a130
mov dword [eax + 4], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x7c], 0xfffff830
jmp 0x4d3df0
mov ecx, eax
call fcn.0047be70
mov ecx, eax
call fcn.0047c570
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov edi, eax
call fcn.004c3820
add esp, 4
mov edx, 0x5f
mov ecx, esi
push edi
push 3
push dword [esp + 0x24]
call fcn.004997a0
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.0048e030
jmp 0x4d3df3
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4d1b23
test edi, edi
je 0x4d1b1c
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
jmp 0x4d3de6
xor eax, eax
jmp 0x4d3de6
call fcn.0047be70
mov ecx, dword [esp + 8]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x5c], eax
mov ecx, edi
call fcn.0048e190
add esp, 8
cmp eax, 7
jne 0x4d3df3
mov ecx, dword [esp + 8]
call fcn.004784b0
jmp 0x4d3df3
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 0x4d1b95
push str.fast
push ecx
call fcn.0047b360
add esp, 8
test eax, eax
jne 0x4d1b83
lea edx, [eax + 2]
jmp 0x4d1b91
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d1090
movzx edx, al
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x24]
cmp dword [eax + 4], 0
jne 0x4d1bd2
test edx, edx
js 0x4d1bd2
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 0
jle 0x4d1bd2
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + edi + 4]
call fcn.0048e2f0
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
mov edx, dword [esp + 0x30]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4d1bb1
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
call fcn.0048e2f0
jmp 0x4d3de6
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x1c]
call fcn.004c3730
mov eax, dword [esp + 0x50]
inc dword [edi + 0x2c]
mov edi, dword [edi + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x6c6f10], 0x70
jne 0x4d1c31
push edi
push dword [esp + 0x20]
mov edx, 0xa6
mov ecx, esi
call fcn.004998d0
add esp, 8
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004998d0
jmp 0x4d3df0
mov ecx, dword [esp + 0x34]
call fcn.0047be70
mov ecx, eax
call fcn.0047c570
push eax
push edi
push dword [esp + 0x24]
mov edx, 0xa7
mov ecx, esi
call fcn.004997a0
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004998d0
jmp 0x4d3df0
call fcn.004d10b0
mov edx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d1cc6
cmp edx, 0xffffffff
jne 0x4d1c8b
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x53]
jmp 0x4d1cd7
test eax, eax
jne 0x4d1cc6
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], 2
jle 0x4d1cc3
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.00487e00
mov eax, dword [esp + 8]
lea edi, [edi + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x4d1ca1
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.00487e00
cmp eax, 1
mov edx, str.exclusive
mov eax, str.normal
mov ecx, esi
cmovne edx, eax
call fcn.004d14e0
jmp 0x4d3df3
test ecx, ecx
je 0x4d1d45
call fcn.0047b060
mov dword [esp + 0x64], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp edi, 6
je 0x4d1d45
mov ecx, dword [edi*4 + 0x6c5f5c]
test ecx, ecx
je 0x4d1d45
push eax
push ecx
push dword [esp + 0x3c]
call fcn.0047b3d0
add esp, 0xc
test eax, eax
je 0x4d1d2f
mov eax, dword [esp + 0x64]
inc edi
jmp 0x4d1d02
cmp edi, 2
jne 0x4d1d68
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x10000000
or eax, 0
je 0x4d1d6d
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 4], 0
jne 0x4d1d71
mov dword [esp + 0x1c], 0
mov dword [ecx + 4], 1
jmp 0x4d1d71
cmp edi, 0xffffffff
je 0x4d1d4d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x4d1dd3
mov edx, edi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x10]
cmp dword [edx + eax + 4], 0
je 0x4d1dbf
cmp edi, dword [esp + 0x1c]
je 0x4d1d9c
cmp dword [ecx + 4], 0
jne 0x4d1dbf
mov edx, edi
mov ecx, esi
call fcn.0049abc0
push dword [esp + 0x14]
mov edx, 7
mov ecx, esi
push 1
push edi
call fcn.004997a0
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 0x4d1d86
push 1
push 1
mov edx, 0x51
mov ecx, esi
call fcn.004998d0
jmp 0x4d3df0
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 0x4d1e38
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x68]
call fcn.0047bbd0
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
jg 0x4d1e34
jl 0x4d1e2d
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
jae 0x4d1e38
or eax, 0xffffffff
or ecx, eax
jmp 0x4d1e38
mov eax, dword [esp + 0x68]
push ecx
push eax
mov ecx, edi
call fcn.00487f70
push edx
push eax
mov ecx, esi
call fcn.004d13b0
add esp, 0x10
jmp 0x4d3df3
mov edi, dword [esp + 0x2c]
mov edi, dword [edi + 4]
test ecx, ecx
jne 0x4d1e69
mov ecx, edi
call fcn.0048e3e0
jmp 0x4d3de6
call fcn.004d10f0
mov ecx, dword [esp + 8]
mov edx, eax
mov dword [esp + 0x10], eax
mov byte [ecx + 0x54], al
mov ecx, edi
call fcn.0048e360
test eax, eax
jne 0x4d3df3
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4d1e9c
cmp eax, 2
jne 0x4d3df3
mov edi, dword [esi + 0x6c]
mov edx, 5
push ecx
push 0x6c9910
mov ecx, esi
call fcn.0049a130
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.0049abc0
jmp 0x4d3df3
test ecx, ecx
je 0x4d1ef4
lea edx, [esp + 0x64]
call fcn.0047bce0
test eax, eax
je 0x4d1ef4
mov edi, dword [esp + 0x64]
test edi, edi
jg 0x4d1ef9
mov edi, closesocket
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004c3820
add esp, 4
mov edx, 0x46
mov ecx, esi
push 1
push edi
call fcn.004998d0
push dword [esp + 0x24]
mov edx, 0x3b
mov ecx, esi
call fcn.00499870
add esp, 0xc
mov edx, 0x51
mov ecx, esi
mov edi, eax
push 1
call fcn.00499870
add esp, 4
mov edx, 0x53
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.004998d0
push edi
push 1
mov edx, 0x2f
mov ecx, esi
call fcn.004998d0
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0049a2c0
jmp 0x4d3df3
test ecx, ecx
jne 0x4d1f83
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x50]
jmp 0x4d3de6
call fcn.0047be70
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.0048e030
jmp 0x4d3df3
test ecx, ecx
jne 0x4d1fce
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
and eax, 0x20
or eax, ecx
je 0x4d1b1c
mov edi, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [edi + 4]
call fcn.0048e0b0
jmp 0x4d3de6
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 1
call fcn.0047bce0
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4d1ff5
mov edi, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [edi + 4]
call fcn.0048e0b0
mov ecx, dword [esp + 0x34]
test esi, esi
setne dl
call fcn.004d1090
mov ecx, dword [esp + 8]
test al, al
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
je 0x4d201f
or dword [ecx + 0x20], 0x20
call fcn.004d1560
jmp 0x4d3df3
and dword [ecx + 0x20], 0xffffffdf
call fcn.004d1560
jmp 0x4d3df3
test ecx, ecx
je 0x4d20d3
lea edx, [esp + 0x68]
call fcn.0047bbd0
mov edx, dword [esp + 0x6c]
test edx, edx
jg 0x4d2065
jl 0x4d2050
mov eax, dword [esp + 0x68]
test eax, eax
jae 0x4d2069
mov eax, dword [0x70b8f0]
mov edx, dword [0x70b8f4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4d2069
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 8]
cmp dword [ecx + 4], 0
jne 0x4d207d
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov edi, dword [edi + 0x14]
sub edi, 1
js 0x4d20d3
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 0x4d20c3
cmp edi, dword [esp + 0x1c]
je 0x4d20a9
cmp dword [ecx + 4], 0
jne 0x4d20c3
push dword [esp + 0x6c]
mov ecx, eax
push dword [esp + 0x6c]
call fcn.0048e100
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 0x4d2092
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.00502fe0
add esp, 0x10
test eax, eax
jne 0x4d210b
push dword [esp + 0x6c]
push dword [esp + 0x6c]
jmp 0x4d3de9
cmp eax, 0xc
je 0x4d3df3
mov ecx, dword [esp + 0xc]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x4d3df3
test ecx, ecx
jne 0x4d2134
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x50]
jmp 0x4d3de6
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004d11e0
jmp 0x4d3df3
test ecx, ecx
jne 0x4d215a
mov edx, dword [0x716a78]
mov ecx, esi
call fcn.004d14e0
jmp 0x4d3df3
cmp byte [ecx], 0
je 0x4d2193
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 0x4d2180
cmp dword [esp + 0x64], eax
jne 0x4d2193
push 0x709178
push dword [esp + 0x10]
call fcn.0047b1c0
jmp 0x4d3df0
mov eax, dword [esp + 8]
cmp byte [eax + 0x50], 1
ja 0x4d21a6
mov ecx, dword [esp + 0xc]
call fcn.004d1190
push dword [0x716a78]
call fcn.00477c30
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4d21d2
push eax
push 0x7091bc
call fcn.0047a390
mov dword [0x716a78], eax
jmp 0x4d3df0
mov dword [0x716a78], 0
jmp 0x4d3df3
test ecx, ecx
jne 0x4d21f7
mov edx, dword [0x716a74]
mov ecx, esi
call fcn.004d14e0
jmp 0x4d3df3
cmp byte [ecx], 0
je 0x4d2230
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 0x4d221d
cmp dword [esp + 0x64], eax
jne 0x4d2230
push str.not_a_writable_directory
push dword [esp + 0x10]
call fcn.0047b1c0
jmp 0x4d3df0
push dword [0x716a74]
call fcn.00477c30
mov eax, dword [esp + 0x38]
add esp, 4
cmp byte [eax], 0
je 0x4d225c
push eax
push 0x7091f8
call fcn.0047a390
mov dword [0x716a74], eax
jmp 0x4d3df0
mov dword [0x716a74], 0
jmp 0x4d3df3
test ecx, ecx
jne 0x4d227d
mov edi, dword [esp + 0x2c]
movzx eax, byte [edi + 8]
dec eax
jmp 0x4d3de6
mov edx, dword [esp + 8]
cmp byte [edx + 0x4f], 0
jne 0x4d229a
push str.Safety_level_may_not_be_changed_inside_a_transaction
push dword [esp + 0x10]
call fcn.0047b1c0
jmp 0x4d3df0
cmp dword [esp + 0x1c], 1
je 0x4d3df3
push 1
xor edx, edx
call fcn.004d0fe0
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.004d1560
jmp 0x4d3df3
test ecx, ecx
jne 0x4d231c
mov edx, edi
mov ecx, esi
call fcn.004d1280
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 0x4d2304
xor eax, eax
mov ecx, 1
push eax
push ecx
jmp 0x4d3de9
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
jmp 0x4d3de9
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 0x4d2339
and eax, 0xffffbfff
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
xor dl, dl
call fcn.004d1090
test al, al
je 0x4d2358
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x18]
or dword [eax + 0x20], edx
or dword [eax + 0x24], edi
jmp 0x4d238c
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 0x4d238c
test edi, edi
jne 0x4d238c
mov dword [ecx + 0x1e0], edi
mov dword [ecx + 0x1e4], edi
mov edx, 0x9e
mov ecx, esi
call fcn.00499810
mov ecx, dword [esp + 8]
call fcn.004d1560
jmp 0x4d3df3
test ecx, ecx
je 0x4d3df3
push dword [esp + 0x38]
mov edx, 2
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004bd420
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d3df3
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d5220
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x18], 0
call fcn.004be3f0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
mov dword [eax + 0x2c], 7
call fcn.004c3730
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
call fcn.004c05c0
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 0x4d3df3
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 0x4d245a
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x4d245a
inc dword [esp + 0x18]
jmp 0x4d2552
test byte [esp + 0x2b], 1
jne 0x4d2465
xor edx, edx
jmp 0x4d24a5
cmp dword [esp + 0x10], 0
mov edx, 1
je 0x4d24a5
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 0x2a]
cwde
mov dword [esp + 0x64], eax
cmp eax, edx
jl 0x4d24a5
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 0x4d24a1
inc edx
add ecx, 2
cmp edx, esi
jle 0x4d2490
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d24b9
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
jmp 0x4d24c1
mov dword [esp + 0x20], 0
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
mov dword [esp + 0x24], str.issisii
jne 0x4d24d9
mov dword [esp + 0x24], str.issisi
test byte [esp + 0x2b], 4
jne 0x4d24ea
mov dword [esp + 0x38], 0x716a67
jmp 0x4d251a
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 0x4d2500
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.00499a60
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 0x4d2434
jmp 0x4d3df3
test ecx, ecx
je 0x4d3df3
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bd5e0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4d25d2
push dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
lea edx, [eax + 2]
push dword [esp + 0x38]
call fcn.004bd420
add esp, 8
test eax, eax
je 0x4d3df3
test byte [eax + 0x24], 0x20
je 0x4d3df3
mov ecx, eax
call fcn.004be3f0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d3df3
mov edx, dword [eax + 0x18]
mov ecx, dword [esp + 8]
call fcn.004d5220
mov ecx, dword [edi + 8]
or ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
je 0x4d2601
mov eax, dword [esp + 0xc]
movzx ecx, word [edx + 0x34]
mov dword [eax + 0x2c], 6
mov eax, ecx
jmp 0x4d2610
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.004c3730
mov ecx, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x18], edx
test cx, cx
je 0x4d3df3
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 0x4d2658
xor ecx, ecx
jmp 0x4d266b
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.00499a60
mov eax, dword [edi + 8]
add esp, 0x18
or eax, dword [edi + 0xc]
je 0x4d26bd
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.00499a60
add esp, 0x18
mov eax, dword [esp + 0xc]
mov edx, 0x51
mov ecx, esi
push dword [eax + 0x2c]
push 1
call fcn.004998d0
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 0x4d2640
jmp 0x4d3df3
test ecx, ecx
je 0x4d3df3
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bd2f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4d3df3
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d5220
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [ecx + 0x2c], 5
call fcn.004c3730
mov edi, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edi, edi
je 0x4d3df3
mov dword [esp + 0x68], 0x709224
mov dword [esp + 0x6c], 0x70922c
mov dword [esp + 0x70], 0x709238
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.00499a60
mov ecx, dword [esp + 0x30]
add esp, 0x20
mov edi, dword [edi + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4d2760
jmp 0x4d3df3
mov eax, dword [esp + 0xc]
xor edi, edi
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x4d3df3
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 0x4d27ef
mov ecx, eax
call fcn.00496a50
push eax
push dword [edx]
push edi
push 0x709240
push 1
push esi
call fcn.00499a60
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 0x4d27c4
jmp 0x4d3df3
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 0x4d3df3
mov eax, dword [edi + 8]
push dword [eax]
push ecx
push 0x70923c
push 1
push esi
call fcn.00499a60
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [edi]
inc ecx
mov dword [esp + 0x10], ecx
test edi, edi
jne 0x4d2828
jmp 0x4d3df3
mov eax, dword [esp + 0xc]
mov dword [eax + 0x2c], 2
mov eax, 0x717070
mov dword [esp + 0x10], eax
mov edi, dword [eax]
test edi, edi
je 0x4d2899
nop dword [eax]
test dword [edi + 4], 0x40000
jne 0x4d288e
push 1
push dword [edi + 0x20]
push 0x709248
push 1
push esi
call fcn.00499a60
add esp, 0x14
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x4d2870
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, 0x7170cc
jl 0x4d2866
mov edx, dword [esp + 8]
mov edi, dword [edx + 0x17c]
test edi, edi
je 0x4d3df3
nop dword [eax]
mov eax, dword [edi + 8]
push 0
push dword [eax + 0x20]
push 0x709244
push 1
push esi
call fcn.00499a60
mov edi, dword [edi]
add esp, 0x14
test edi, edi
jne 0x4d28c0
jmp 0x4d3df3
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [eax + 0x2c], 1
mov edi, dword [edx + 0x160]
test edi, edi
je 0x4d3df3
mov eax, dword [edi + 8]
push dword [eax + 4]
push 0x709250
push 1
push esi
call fcn.00499a60
mov edi, dword [edi]
add esp, 0x10
test edi, edi
jne 0x4d2900
jmp 0x4d3df3
mov edi, 0x6c7390
push dword [edi]
push 0x70924c
push 1
push esi
call fcn.00499a60
add edi, 0x10
add esp, 0x10
cmp edi, 0x6c7790
jl 0x4d2926
jmp 0x4d3df3
test ecx, ecx
je 0x4d3df3
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0xc]
call fcn.004bd2f0
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x4d3df3
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4d3df3
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d5220
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x20], 0
mov dword [ecx + 0x2c], 8
call fcn.004c3730
xor eax, eax
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x14], edx
jle 0x4d2a0e
lea eax, [edi + 0x24]
mov dword [esp + 0x18], eax
mov cl, byte [edi + 0x19]
push str.NONE
call fcn.004d15f0
mov cl, byte [edi + 0x1a]
push eax
call fcn.004d15f0
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.00499a60
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 0x4d29b3
mov eax, dword [esp + 0x20]
mov edi, dword [edi + 4]
inc eax
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4d29a1
jmp 0x4d3df3
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 0x4d3df3
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4d2a71
push dword [esp + 0x38]
xor edx, edx
push ecx
mov ecx, edi
call fcn.004bd420
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x4d2a76
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edi
test edi, edi
je 0x4d2e0f
cmp dword [edi + 0x10], 0
je 0x4d2e0f
mov edx, dword [edi + 0x48]
mov ecx, dword [esp + 8]
call fcn.004d5220
mov ecx, dword [esp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], eax
call fcn.004c3730
push dword [edi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push 0
push dword [edi + 0x1c]
call fcn.004bcc40
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 0x4d2ad9
mov dword [ecx + 0x2c], eax
push 0x61
push edi
push dword [esp + 0x44]
xor edx, edx
call fcn.004cbef0
mov edx, dword [esp + 0x38]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.004999b0
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 0x4d2bd7
push dword [esp + 0x38]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0xc]
call fcn.004bd2f0
mov edi, eax
add esp, 4
test edi, edi
je 0x4d2bb7
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.004bcc40
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.004c9890
add esp, 0xc
test eax, eax
jne 0x4d3df3
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4d2b90
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x44]
call fcn.004cbef0
add esp, 0xc
jmp 0x4d2bb7
push dword [esp + 0x3c]
mov edx, 0x61
mov ecx, esi
push dword [eax + 0x2c]
push dword [esp + 0x38]
call fcn.004997a0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
call fcn.0049a7b0
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 0x4d2b12
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x28], ecx
jge 0x4d2be3
mov dword [eax + 0x28], ecx
push 0
mov edx, 0x24
mov ecx, esi
call fcn.00499870
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 0x4d2ded
nop
push dword [esp + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0xc]
call fcn.004bd2f0
add esp, 4
mov dword [esp + 0x64], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x4d2c54
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.004c9890
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 0x4d2cd7
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 0x4d2c8e
mov ecx, dword [ecx + edi*4]
jmp 0x4d2c90
mov ecx, dword [edx]
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0
mov ecx, esi
call fcn.004b4a80
add esp, 0xc
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.004998d0
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 0x4d2c81
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4d2d2e
mov edi, dword [esp + 0x3c]
push dword [edi + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004cc030
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.00499c10
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.00499e40
add esp, 0x10
jmp 0x4d2d64
cmp dword [esp + 0x64], 0
je 0x4d2d60
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.004997a0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, esi
call fcn.00499940
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 0x4d2d7e
mov edx, 0x49
inc eax
push eax
push 0
call fcn.004998d0
mov eax, dword [esp + 0x24]
add esp, 8
dec eax
push eax
push dword [edi + 8]
mov eax, dword [esp + 0x34]
push 0x709280
add eax, 2
push eax
push esi
call fcn.00499a60
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 4
push dword [esp + 0x30]
call fcn.004998d0
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, esi
call fcn.00499f90
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
call fcn.00477d20
mov edi, dword [edi + 4]
inc dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x4d2c10
mov eax, dword [esp + 0x4c]
inc eax
mov edx, 5
push eax
push 0
mov ecx, esi
call fcn.004998d0
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, esi
call fcn.0049a2c0
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x4d2a52
jmp 0x4d3df3
test ecx, ecx
je 0x4d3df3
xor dl, dl
call fcn.004d1090
mov ecx, dword [esp + 8]
movzx edx, al
call fcn.004c9710
jmp 0x4d3df3
mov eax, dword [esp + 0x50]
or edx, 0xffffffff
mov edi, dword [esp + 0xc]
movzx eax, byte [eax]
mov al, byte [eax + 0x6c6f10]
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 0x4d2e9d
lea edx, [esp + 0x44]
call fcn.0047bce0
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.004998d0
mov eax, dword [esp + 0x10]
xor edx, edx
add esp, 8
mov dword [esp + 0x30], edx
cmp dword [eax + 0x14], edx
jle 0x4d38ad
mov ecx, dword [esp + 0x1c]
nop word [eax + eax]
mov dword [esp + 0x20], 0
test ecx, ecx
js 0x4d2ee4
cmp edx, ecx
jne 0x4d389f
mov ecx, edi
call fcn.004c3730
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 0x4d2f50
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 0x4d2f39
nop dword [eax + eax]
mov ecx, dword [ecx + 0x14]
inc edx
inc edi
test ecx, ecx
jne 0x4d2f30
mov eax, dword [esp + 0x20]
cmp edi, eax
mov esi, dword [esi]
cmovg eax, edi
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4d2f13
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 8]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.00478070
mov edi, eax
add esp, 8
test edi, edi
je 0x4d38ad
mov eax, dword [esp + 0x44]
xor edx, edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d2fbc
mov ecx, dword [eax + 8]
test byte [ecx + 0x24], 0x20
jne 0x4d2f95
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 0x4d2fb2
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 0x4d2fa0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4d2f81
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.00499c10
mov eax, dword [esp + 0x44]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.0049a2a0
push 2
mov edx, 0x32
call fcn.00499870
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.0047a2b0
add esp, 0x10
mov edx, 0x71
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.00499c10
add esp, 0x14
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 2
call fcn.004997a0
add esp, 0xc
mov ecx, esi
call fcn.004d16e0
mov edx, edi
mov ecx, esi
call fcn.0049a2c0
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 8]
mov dword [esp + 0x48], edi
test edi, edi
je 0x4d388f
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 0x4d387d
test byte [edi + 0x24], 0x20
jne 0x4d30c1
mov dword [esp + 0x18], 0
jmp 0x4d30cc
mov ecx, edi
call fcn.004be3f0
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.004cf6a0
push 7
push 0
mov edx, 0x46
mov ecx, esi
call fcn.004998d0
mov edi, dword [edi + 8]
add esp, 0x20
test edi, edi
je 0x4d3132
mov eax, 8
mov dword [esp + 0x44], eax
nop dword [eax]
push eax
push 0
mov edx, 0x46
mov ecx, esi
call fcn.004998d0
mov eax, dword [esp + 0x4c]
add esp, 8
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x44], eax
test edi, edi
jne 0x4d3110
push 0
push dword [esp + 0x30]
mov edx, 0x24
mov ecx, esi
call fcn.004998d0
push 1
push 7
mov edx, 0x53
mov ecx, esi
call fcn.004998d0
mov edi, dword [esp + 0x48]
add esp, 0x10
cmp byte [esp + 0x2b], 0x71
mov dword [esp + 0x68], eax
je 0x4d3198
movsx ecx, word [edi + 0x2a]
mov edx, 0x5a
dec ecx
push 3
push ecx
push dword [esp + 0x34]
mov ecx, esi
call fcn.004997a0
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4d3198
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 0x4d3271
xor edx, edx
mov dword [esp + 0x20], edx
movsx eax, word [edi + 0x28]
cmp ecx, eax
je 0x4d3259
mov eax, dword [edi + 4]
cmp byte [edx + eax + 0xc], 0
je 0x4d3259
push 3
push ecx
push dword [esp + 0x34]
mov edx, edi
mov ecx, esi
call fcn.004b4a80
mov eax, dword [esi + 0x6c]
add esp, 0xc
test eax, eax
jle 0x4d31f4
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.00499870
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.0047a2b0
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
mov edx, 0x71
mov ecx, esi
call fcn.00499c10
add esp, 0x24
mov ecx, esi
call fcn.004d16e0
mov edx, edi
mov ecx, esi
call fcn.0049a2c0
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 0x4d31b0
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4d337c
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
and eax, 0x200
or eax, 0
jne 0x4d337c
push eax
call fcn.004b0ac0
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [ecx + 0x51], 0
jne 0x4d3373
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 0x4d3305
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.004b68d0
mov ecx, dword [esp + 0x54]
lea esi, [esi - 0x18]
dec edi
add esp, 0x10
test edi, edi
jg 0x4d32e0
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.004b6520
mov edx, dword [esp + 0x54]
mov ecx, esi
call fcn.00499f90
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.0047a2b0
add esp, 0x1c
mov edx, 0x71
mov ecx, esi
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
call fcn.00499c10
add esp, 0x14
mov ecx, esi
call fcn.004d16e0
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.00499f90
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
test edx, edx
je 0x4d337c
call fcn.004b15f0
cmp byte [esp + 0x2b], 0x71
je 0x4d3675
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4d3675
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 0x4d3662
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.004c61b0
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.004998d0
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.00499e40
push str.row
mov edx, 3
mov dword [esp + 0x80], eax
mov ecx, esi
call fcn.004999b0
add esp, 0x34
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 7
call fcn.004997a0
add esp, 0xc
mov edx, 4
mov ecx, esi
push str._missing_from_index
call fcn.004999b0
add esp, 4
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.004997a0
add esp, 0xc
mov edx, 4
mov ecx, esi
push dword [edi]
call fcn.004999b0
add esp, 4
mov dword [esp + 0x58], eax
mov edx, 0x6c
mov ecx, esi
push 3
push 3
push 4
call fcn.004997a0
add esp, 0xc
mov ecx, esi
call fcn.004d16e0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x5c], eax
test ecx, ecx
jns 0x4d34b9
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d34c8
mov eax, 0x716eec
jmp 0x4d34d1
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 0x4d35f3
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 0x4d3547
nop word [eax + eax]
mov eax, dword [eax + 4]
movsx ecx, word [eax + edi*2]
test ecx, ecx
js 0x4d351b
mov eax, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x4d3536
mov eax, dword [esp + 0x40]
mov ecx, esi
push edx
add eax, edi
mov edx, 0x32
push eax
call fcn.004998d0
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 0x4d3500
push dword [esp + 0x24]
mov edx, 5
mov ecx, esi
call fcn.00499870
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.00499940
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4d3571
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3580
mov eax, 0x716eec
jmp 0x4d3589
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.00499e40
push str.non_unique_entry_in_index
mov edx, 3
mov ecx, esi
call fcn.004999b0
mov edx, dword [esp + 0x6c]
add esp, 0x14
mov ecx, esi
call fcn.00499940
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d35ea
push edx
mov edx, esi
call fcn.00499f40
add esp, 4
jmp 0x4d35f3
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 0x4d3601
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3610
mov eax, 0x716eec
jmp 0x4d3619
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 0x4d365e
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 0x4d364a
push edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 8]
call fcn.00499f40
add esp, 4
jmp 0x4d365e
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 0x4d33b0
mov edi, dword [esp + 0x68]
mov edx, 5
push edi
push dword [esp + 0x30]
mov ecx, esi
call fcn.004998d0
mov edx, dword [esi + 0x6c]
lea ecx, [edi - 1]
add esp, 8
test ecx, ecx
jns 0x4d369a
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d36a9
mov eax, 0x716eec
jmp 0x4d36b2
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 0x4d387d
push str.wrong__of_entries_in_index
mov edx, 2
mov ecx, esi
call fcn.004999b0
mov eax, dword [esp + 0x3c]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4d387d
mov ecx, dword [esp + 0x18]
mov edx, 8
mov dword [esp + 0x40], edx
cmp ecx, eax
je 0x4d3869
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d3727
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.00499760
mov edx, dword [esp + 0x4c]
add esp, 0xc
jmp 0x4d3760
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 0x4d3780
push 3
push 0
push edx
mov edx, 0x35
mov ecx, esi
call fcn.00499760
add esp, 0xc
mov edi, eax
jmp 0x4d37b3
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 0x4d37ca
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.004999b0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4d37fe
push 3
push 2
push 4
mov edx, 0x6c
mov ecx, esi
call fcn.00499760
add esp, 0xc
jmp 0x4d3831
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.004d16e0
mov edx, dword [esi + 0x6c]
test edi, edi
jns 0x4d3842
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4d3851
mov eax, 0x716eec
jmp 0x4d385a
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 0x4d36f4
mov edi, dword [esp + 0x48]
mov edi, dword [edi]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4d3090
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 0x4d2ed0
push ecx
push 0x6ca530
mov edx, 7
mov ecx, esi
call fcn.0049a130
mov edx, eax
add esp, 8
test edx, edx
je 0x4d38f5
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], 0x70931c
mov byte [edx + 0x65], 0xff
mov dword [edx + 0x74], ecx
mov eax, dword [esi]
mov ecx, 0x716eec
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4d3908
mov ecx, dword [esi + 0x68]
lea eax, [edx - 2]
mov dword [ecx + 0xc], eax
jmp 0x4d3df3
test ecx, ecx
jne 0x4d3943
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.004d5070
test eax, eax
jne 0x4d3df3
mov eax, dword [edi]
mov ecx, esi
movzx edx, byte [eax + 0x4e]
mov edx, dword [edx*8 + 0x6c5f10]
call fcn.004d14e0
jmp 0x4d3df3
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 0x4d3df3
mov eax, dword [str.UTF8]
mov esi, 0x6c5f10
test eax, eax
je 0x4d399f
mov edx, eax
call fcn.0047b390
test eax, eax
je 0x4d3983
mov eax, dword [esi + 8]
add esi, 8
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x4d3968
jmp 0x4d39a8
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x4d3992
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 0x4d3df3
push dword [esp + 0x34]
push str.unsupported_encoding:__s
push dword [esp + 0x14]
call fcn.0047b1c0
add esp, 0xc
jmp 0x4d3df3
mov eax, dword [edi + 8]
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
call fcn.0049abc0
cmp dword [esp + 0x34], 0
je 0x4d3a1a
test byte [edi + 5], 8
jne 0x4d3a1a
push ecx
push 0x6c6f04
mov edx, 2
mov ecx, esi
call fcn.0049a130
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.0047be70
mov dword [esi + 0x20], eax
jmp 0x4d3df3
push ecx
push 0x6c6204
mov edx, 3
mov ecx, esi
call fcn.0049a130
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 0x4d3df3
mov eax, dword [esp + 0xc]
xor edi, edi
push edi
mov dword [eax + 0x2c], 1
call fcn.00503630
add esp, 4
test eax, eax
je 0x4d3a94
push eax
mov edx, 1
mov ecx, esi
inc edi
call fcn.004999b0
add esp, 4
mov edx, 0x51
mov ecx, esi
push 1
push 1
call fcn.004998d0
push edi
call fcn.00503630
add esp, 0xc
test eax, eax
jne 0x4d3a66
and dword [esi + 0x98], 0xffffffbf
jmp 0x4d3df3
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 0x4d3afd
mov edx, str.full
call fcn.0047b390
test eax, eax
jne 0x4d3ace
lea edi, [eax + 1]
jmp 0x4d3afd
mov ecx, dword [esp + 0x34]
mov edx, str.restart
call fcn.0047b390
test eax, eax
jne 0x4d3ae5
lea edi, [eax + 2]
jmp 0x4d3afd
mov ecx, dword [esp + 0x34]
mov edx, str.truncate
call fcn.0047b390
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.004997a0
add esp, 0xc
mov edx, 0x51
mov ecx, esi
push 3
push 1
call fcn.004998d0
jmp 0x4d3df0
test ecx, ecx
je 0x4d3b49
call fcn.0047be70
push eax
push dword [esp + 0xc]
call fcn.00501430
add esp, 8
mov eax, dword [esp + 8]
cmp dword [eax + 0xf8], 0x5013f0
jne 0x4d1b1c
mov eax, dword [eax + 0xfc]
jmp 0x4d3de6
push dword [esp + 8]
call fcn.004ffb60
add esp, 4
jmp 0x4d3df3
test ecx, ecx
je 0x4d3b93
call fcn.0047be70
mov ecx, eax
mov dword [esp + 0x10], ecx
test cl, 2
je 0x4d3df3
jmp 0x4d3b9b
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 0x4d3bbb
mov dword [esp + 0x18], edi
jmp 0x4d3bcf
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x18], eax
cmp edi, eax
jg 0x4d3d37
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edi, 1
je 0x4d3d23
mov edx, edi
call fcn.004c3730
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 0x4d3d13
nop word [eax + eax]
mov edi, dword [edi + 8]
test dword [edi + 0x24], 0x100
je 0x4d3d01
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 0x4d3c43
test byte [eax + 0x38], 0x80
je 0x4d3c8c
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4d3c36
test cx, cx
je 0x4d3c8c
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0xc]
push 0x61
push edi
push dword [esp + 0x24]
call fcn.004cbef0
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.004997a0
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.0047a2b0
add esp, 0x10
mov edx, eax
test byte [esp + 0x10], 1
je 0x4d3ce5
mov ecx, dword [esp + 0xc]
call fcn.004b7a60
push 0xfffffffffffffff9
push edx
mov edi, eax
mov edx, 0x71
push 0
push edi
push 0
mov ecx, esi
call fcn.00499c10
add esp, 0x14
mov edx, 0x51
mov ecx, esi
push 1
push edi
call fcn.004998d0
add esp, 8
jmp 0x4d3cfd
push 0xfffffffffffffff9
push edx
push 0
push 0
push 0
mov edx, 0x8c
mov ecx, esi
call fcn.00499c10
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 0x4d3c10
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 0x4d3bd7
mov edx, 0x9e
mov ecx, esi
call fcn.00499810
jmp 0x4d3df3
test ecx, ecx
je 0x4d3d69
lea edx, [esp + 0x68]
call fcn.0047bbd0
test eax, eax
jne 0x4d3d69
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00477790
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00477790
push edx
push eax
mov ecx, esi
call fcn.004d13b0
add esp, 0x10
jmp 0x4d3df3
test ecx, ecx
je 0x4d3dba
lea edx, [esp + 0x68]
call fcn.0047bbd0
test eax, eax
jne 0x4d3dba
cmp dword [esp + 0x6c], eax
jl 0x4d3dba
mov eax, dword [esp + 0x68]
jg 0x4d3da1
test eax, eax
jb 0x4d3dba
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 0x4d3de6
test ecx, ecx
je 0x4d3ddc
call fcn.0047be70
push eax
push dword [esp + 0xc]
call fcn.00500bc0
add esp, 8
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x1c8]
cdq
push edx
push eax
mov ecx, esi
call fcn.004d13b0
add esp, 8
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 8]
call fcn.00477d20
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 8]
call fcn.00477d20
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.00620676
mov esp, ebp
pop ebp
ret