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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5ec
push esi
push edi
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
mov dl, byte [ecx + 0x79]
mov byte [ebp - 0x1c], dl
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x50], 0xbdf20da3
je 0x4cedd4
mov eax, 0x15
jmp 0x4d49d4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 7
jne 0x4cedee
jmp 0x4d490e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x22c], 0
je 0x4cee2a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x22c]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax + 0x22c], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x234], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xe8], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
and ecx, 4
test ecx, ecx
je 0x4cee53
jmp 0x4d4979
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x14], eax
jmp 0x4cee67
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4d48cf
call fcn.004b88cf
test eax, eax
je 0x4cee7f
jmp 0x4d490e
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
add ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x98], 0
je 0x4cef16
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa0]
cmp ecx, dword [ebp - 0x18]
jne 0x4cef0d
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b82b7
add esp, 4
test eax, eax
je 0x4ceebf
jmp 0x4d4930
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0xc]
call dword [edx + 0x98]
add esp, 4
test eax, eax
je 0x4ceef1
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b826e
add esp, 4
mov dword [ebp - 8], 4
jmp 0x4cee5e
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b826e
add esp, 4
test eax, eax
je 0x4cef0d
jmp 0x4d4930
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x568], ecx
mov edx, dword [ebp - 0x568]
sub edx, 1
mov dword [ebp - 0x568], edx
cmp dword [ebp - 0x568], 0x8c
ja case.0x4cef48.10
mov eax, dword [ebp - 0x568]
jmp dword [eax*4 + 0x4d49da]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4cef61
jmp 0x4d4979
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x14]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
mov eax, dword [ebp + 8]
mov dword [eax + ecx*4 + 0x90], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x220]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x220], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4cef48.10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x220], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x220]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4 + 0x90]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x80], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4cf038
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004b75af
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004c9d83
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4cf064
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 5
mov eax, 5
jmp 0x4d49d4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
jmp 0x4d49d4
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00481880
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 4]
push eax
call fcn.004b8db1
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 4
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00481880
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 4]
push eax
call fcn.004b8e43
add esp, 4
mov ecx, dword [ebp - 4]
fstp qword [ecx + 8]
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 8
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 0x1c]
and edx, 0xff
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b8920
add esp, 8
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.00481880
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1c]
and edx, 0xff
cmp edx, 1
je case.0x4cef48.23
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
push 0
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b9173
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b8920
add esp, 8
test eax, eax
je 0x4cf1e9
jmp 0x4d490e
mov eax, dword [ebp - 4]
push eax
call fcn.004b895f
add esp, 4
test eax, eax
je 0x4cf1fe
jmp 0x4d490e
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
and dx, 0xffbf
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
or dl, 0x80
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x10], 0xffffffff
jne 0x4cf23a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.004b7482
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0xa2
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ebp - 0x1c]
mov byte [ecx + 0x1b], dl
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x75
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00481880
add esp, 4
shr eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
je 0x4cf32a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004b8762
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4cf2fd
jmp 0x4d490e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4cf315
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004b7482
add esp, 4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0xffffffff
jmp case.0x4cef48.116
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4cf342
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004b7482
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x5383c0
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b9173
add esp, 0x14
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
sub edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
push 0x80
mov ecx, dword [ebp - 0x24]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x44]
add eax, ecx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b9024
add esp, 0xc
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004d4c52
add esp, 8
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
neg eax
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
push pe_nt_image_headers32
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b9024
add esp, 0xc
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4cf436
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x100
test ecx, ecx
je 0x4cf436
mov edx, dword [ebp - 4]
push edx
call fcn.004b8a0d
add esp, 4
test eax, eax
je 0x4cf436
jmp 0x4d490e
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x70], edx
mov esi, dword [ebp - 0x70]
mov ecx, 0x10
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x100
test ecx, ecx
je 0x4cf483
mov edx, dword [ebp - 4]
push edx
call fcn.004b8a0d
add esp, 4
test eax, eax
je 0x4cf483
jmp 0x4d490e
mov dword [ebp - 0x2c], 0
jmp 0x4cf49e
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x40
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 4]
jge 0x4cf505
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dx, word [ecx + 0x58]
and edx, 0x100
test edx, edx
je 0x4cf4d4
mov eax, dword [ebp - 0x70]
add eax, 0x40
push eax
call fcn.004b8a0d
add esp, 4
test eax, eax
je 0x4cf4d4
jmp 0x4d490e
mov esi, dword [ebp - 0x70]
add esi, 0x40
mov ecx, 0x10
mov edi, dword [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x200
test edx, edx
je 0x4cf503
mov eax, dword [ebp - 0x70]
add eax, 0x20
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x10], eax
jmp 0x4cf48c
mov ecx, 0x10
lea esi, [ebp - 0x6c]
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x200
test eax, eax
je 0x4cf530
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.004b90df
add esp, 8
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
xor ecx, ecx
sub ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x78], ecx
jmp 0x4cf58d
mov edx, dword [ebp - 0x78]
add edx, 0x40
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jae 0x4cf5bf
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x100
test edx, edx
je 0x4cf5bd
mov eax, dword [ebp - 0x78]
push eax
call fcn.004b8a0d
add esp, 4
test eax, eax
je 0x4cf5bd
jmp 0x4d490e
jmp 0x4cf584
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
add edx, 2
or edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], edx
jmp 0x4cf5dc
mov ecx, dword [ebp - 0x78]
add ecx, 0x40
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 4]
ja 0x4cf5fe
mov eax, dword [ebp - 0x78]
push eax
call fcn.004b8ae7
add esp, 4
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004cebd0
add esp, 4
jmp 0x4cf5d3
mov edx, dword [ebp + 8]
mov byte [edx + 0x234], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [eax + 0x22c], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, 0x64
jmp 0x4d49d4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 2
mov dword [ebp - 0x80], edx
mov eax, 1
sub eax, dword [ebp - 0x80]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], 0
jmp 0x4cf69b
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x8c]
add eax, 0x40
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x84]
cmp ecx, dword [ebp - 0x80]
jge 0x4cf713
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4cf6c5
mov dword [ebp - 0x94], 0xffffffff
jmp 0x4cf713
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4cf6f9
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004b8bb5
add esp, 8
test eax, eax
je 0x4cf6f9
jmp 0x4d490e
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x94], eax
jmp 0x4cf67d
cmp dword [ebp - 0x94], 0
jge 0x4cf74c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4cf735
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4cf893
push 1
mov eax, dword [ebp - 0x94]
add eax, 2
push eax
call fcn.004b73c0
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4cf774
jmp 0x4d490e
mov dword [ebp - 0x88], 0
mov ecx, 1
sub ecx, dword [ebp - 0x80]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
jmp 0x4cf7ca
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x8c]
add edx, 0x40
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x80]
jge 0x4cf81e
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x88]
push eax
call fcn.00485ec0
add esp, 0xc
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x88], ecx
jmp 0x4cf7ac
mov edx, dword [ebp - 0x90]
add edx, dword [ebp - 0x88]
mov byte [edx], 0
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x88]
mov byte [eax + 1], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4cf856
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x88]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x62
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x1b], cl
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
mov dword [edx + 0x10], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
mov ecx, dword [ebp - 0xa0]
xor edx, edx
mov dx, word [ecx + 0x18]
or eax, edx
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
and eax, 1
test eax, eax
je 0x4cf91d
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4cf8ea
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4cf90f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4cfca9
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov ax, word [edx + 0x18]
and ecx, eax
and ecx, 4
cmp ecx, 4
jne 0x4cfb0e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov dword [ebp - 0xb0], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x56c], edx
mov eax, dword [ebp - 0x56c]
sub eax, 0x4d
mov dword [ebp - 0x56c], eax
cmp dword [ebp - 0x56c], 3
ja case.default.0x4cf99a
mov ecx, dword [ebp - 0x56c]
jmp dword [ecx*4 + 0x4d4c0e]
mov edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
adc eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], eax
jmp 0x4cfaab
mov ecx, dword [ebp - 0xb0]
sub ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
sbb edx, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
jmp 0x4cfaab
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.004a3d10
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4cfaab
mov ecx, dword [ebp - 0xa8]
or ecx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4cfa3a
jmp 0x4cfcae
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00490680
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4cfaab
mov eax, dword [ebp - 0xa8]
or eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4cfa7e
jmp 0x4cfcae
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00490730
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4cfac7
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4cfaec
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xac]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 4
jmp 0x4cfca9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8e43
add esp, 4
fstp qword [ebp - 0xb8]
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004b8e43
add esp, 4
fstp qword [ebp - 0xc0]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x570], ecx
mov edx, dword [ebp - 0x570]
sub edx, 0x4d
mov dword [ebp - 0x570], edx
cmp dword [ebp - 0x570], 3
ja case.default.0x4cfb60
mov eax, dword [ebp - 0x570]
jmp dword [eax*4 + 0x4d4c1e]
fld qword [ebp - 0xc0]
fadd qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4cfc31
fld qword [ebp - 0xc0]
fsub qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4cfc31
fld qword [ebp - 0xc0]
fmul qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4cfc31
fld qword [ebp - 0xb8]
fcomp qword [0x50a208]
fnstsw ax
test ah, 0x40
je 0x4cfbc4
jmp 0x4cfcae
fld qword [ebp - 0xc0]
fdiv qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4cfc31
fld qword [ebp - 0xb8]
call fcn.004f0820
mov dword [ebp - 0xc4], eax
fld qword [ebp - 0xc0]
call fcn.004f0820
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc4]
fcomp qword [0x50a208]
fnstsw ax
test ah, 0x40
je 0x4cfc12
jmp 0x4cfcae
mov eax, dword [ebp - 0xc8]
cdq
idiv dword [ebp - 0xc4]
mov dword [ebp - 0x574], edx
fild dword [ebp - 0x574]
fstp qword [ebp - 0xc0]
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4cfc4d
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4cfc72
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 8
mov eax, dword [ebp - 0x9c]
and eax, 8
test eax, eax
jne 0x4cfca9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8ee2
add esp, 4
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4cfcca
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4cfcef
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x124], ecx
mov edx, 1
sub edx, dword [ebp - 0x130]
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
jmp 0x4cfd58
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x12c]
add edx, 0x40
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x130]
jge 0x4cfd8c
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x12c]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.004cebd0
add esp, 4
jmp 0x4cfd3a
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffffb
jne 0x4cfdad
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
jmp 0x4cfdc7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx]
mov dword [ebp - 0x120], edx
mov word [ebp - 0x100], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0xd4], 0
mov eax, dword [ebp - 0x120]
xor ecx, ecx
mov cl, byte [eax + 3]
test ecx, ecx
je 0x4cfe06
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b82b7
add esp, 4
test eax, eax
je 0x4cfe1b
jmp 0x4d4930
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x120]
call dword [edx + 0x10]
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b826e
add esp, 4
test eax, eax
je 0x4cfe51
jmp 0x4d4930
call fcn.004b88cf
test eax, eax
je 0x4cfe5f
jmp 0x4d490e
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
cmp dword [ebp - 0x11c], 0
je 0x4cfea7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004ca84a
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x11c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0xfffffff9
mov eax, dword [ebp - 0xd4]
and eax, 0xff
test eax, eax
je 0x4cfee1
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004b0250
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004b75af
add esp, 0xc
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004b8920
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b90df
add esp, 8
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
mov eax, dword [ebp - 0x13c]
xor ecx, ecx
mov cx, word [eax + 0x18]
or edx, ecx
and edx, 1
test edx, edx
je 0x4cff72
push 2
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x13c]
push edx
call fcn.004b8db1
add esp, 4
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b8db1
add esp, 4
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x578]
sub eax, 0x49
mov dword [ebp - 0x578], eax
cmp dword [ebp - 0x578], 3
ja case.default.0x4cffd4
mov ecx, dword [ebp - 0x578]
jmp dword [ecx*4 + 0x4d4c2e]
mov edx, dword [ebp - 0x138]
and edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x134]
and eax, dword [ebp - 0x140]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], eax
jmp case.default.0x4cffd4
mov ecx, dword [ebp - 0x138]
or ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x134]
or edx, dword [ebp - 0x140]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], edx
jmp case.default.0x4cffd4
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004aa1c0
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
jmp case.default.0x4cffd4
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004f0980
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4d008b
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d00b0
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov eax, dword [ebp - 0x134]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f1d
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
cdq
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp case.0x4cef48.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004ced04
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0xc
test edx, edx
jne 0x4d0156
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4d013c
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4d0190
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 4], 0
setne al
cdq
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], eax
jmp 0x4d021f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f4d
add esp, 4
mov edx, dword [ebp - 4]
fld qword [edx + 8]
call fcn.004f0820
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 4]
fild qword [ebp - 0x14c]
fcomp qword [eax + 8]
fnstsw ax
test ah, 1
je 0x4d01e5
mov ecx, dword [ebp - 0x14c]
add ecx, 1
mov edx, dword [ebp - 0x148]
adc edx, 0
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x4d021f
mov ecx, dword [ebp - 4]
fild qword [ebp - 0x14c]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x40
je 0x4d021f
mov edx, dword [ebp - 0x14c]
add edx, 1
mov eax, dword [ebp - 0x148]
adc eax, 0
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d023b
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x148]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004ced04
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 4
test edx, edx
jne 0x4d02b9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x4d0294
mov dword [ebp - 8], 0x14
jmp 0x4d4937
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4d02ab
push 1
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d02de
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d02d5
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4d02ff
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f4d
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d0319
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x10
sar eax, 3
mov ecx, dword [ebp - 4]
mov dx, word [ecx + 0x18]
or dx, ax
mov eax, dword [ebp - 4]
mov word [eax + 0x18], dx
mov cl, byte [ebp - 0x1c]
push ecx
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.004ced04
add esp, 0xc
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
and cx, 0xffe3
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d0378
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x10
test eax, eax
jne 0x4d03ab
mov cl, byte [ebp - 0x1c]
push ecx
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.004ced04
add esp, 0xc
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
or cl, 0x10
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
mov eax, dword [ebp - 4]
mov cx, word [eax + 0x18]
and cx, 0xfff1
mov edx, dword [ebp - 4]
mov word [edx + 0x18], cx
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d03df
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f7b
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d0400
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f1d
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d0421
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f4d
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
mov eax, dword [ebp - 0x154]
xor ecx, ecx
mov cx, word [eax + 0x18]
or edx, ecx
mov dword [ebp - 0x150], edx
mov edx, dword [ebp - 0x150]
and edx, 1
test edx, edx
je 0x4d0504
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
test ecx, ecx
je 0x4d04b8
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8fc5
add esp, 0xc
mov edx, dword [ebp - 0x154]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004b8fc5
add esp, 0xc
jmp 0x4d0504
push 2
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4d04ed
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
and edx, 0x100
test edx, edx
je 0x4d04eb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d04ff
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
and edx, 0xff
mov byte [ebp - 0x15c], dl
movsx eax, byte [ebp - 0x15c]
test eax, eax
je 0x4d0552
mov cl, byte [ebp - 0x1c]
push ecx
mov dl, byte [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.004ced04
add esp, 0xc
mov cl, byte [ebp - 0x1c]
push ecx
mov dl, byte [ebp - 0x15c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ced04
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
call fcn.004b930c
add esp, 0xc
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp - 0x57c]
sub ecx, 0x42
mov dword [ebp - 0x57c], ecx
cmp dword [ebp - 0x57c], 4
ja case.default.0x4d059d
mov edx, dword [ebp - 0x57c]
jmp dword [edx*4 + 0x4d4c3e]
xor eax, eax
cmp dword [ebp - 0x158], 0
sete al
mov dword [ebp - 0x158], eax
jmp 0x4d061a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setne cl
mov dword [ebp - 0x158], ecx
jmp 0x4d061a
xor edx, edx
cmp dword [ebp - 0x158], 0
setl dl
mov dword [ebp - 0x158], edx
jmp 0x4d061a
xor eax, eax
cmp dword [ebp - 0x158], 0
setle al
mov dword [ebp - 0x158], eax
jmp 0x4d061a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setg cl
mov dword [ebp - 0x158], ecx
jmp 0x4d061a
xor edx, edx
cmp dword [ebp - 0x158], 0
setge dl
mov dword [ebp - 0x158], edx
push 2
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4d0648
cmp dword [ebp - 0x158], 0
je 0x4d0646
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4d0669
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
mov eax, dword [ebp - 0x158]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d0696
mov dword [ebp - 0x160], 2
jmp 0x4d06e2
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f1d
add esp, 4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov edx, dword [ebp - 0x580]
mov eax, dword [ecx]
or eax, dword [edx + 4]
test eax, eax
jne 0x4d06cc
mov dword [ebp - 0x584], 1
jmp 0x4d06d6
mov dword [ebp - 0x584], 0
mov ecx, dword [ebp - 0x584]
mov dword [ebp - 0x160], ecx
mov edx, dword [ebp - 0x168]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d0701
mov dword [ebp - 0x164], 2
jmp 0x4d0753
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x588], edx
mov eax, dword [ebp - 0x588]
mov ecx, dword [ebp - 0x588]
mov edx, dword [eax]
or edx, dword [ecx + 4]
test edx, edx
jne 0x4d073d
mov dword [ebp - 0x58c], 1
jmp 0x4d0747
mov dword [ebp - 0x58c], 0
mov eax, dword [ebp - 0x58c]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x3c
jne 0x4d077f
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x50a830]
mov dword [ebp - 0x160], edx
jmp 0x4d079d
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x50a83c]
mov dword [ebp - 0x160], edx
push 2
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x160], 2
jne 0x4d07c8
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4d07e6
xor eax, eax
cmp dword [ebp - 0x160], 0
sete al
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 8
test ecx, ecx
je 0x4d0852
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d0817
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x53
je 0x4d0836
mov ecx, dword [ebp - 4]
fld qword [ecx + 8]
fcomp qword [0x50a208]
fnstsw ax
test ah, 1
je 0x4d0844
mov edx, dword [ebp - 4]
fld qword [edx + 8]
fchs
mov eax, dword [ebp - 4]
fstp qword [eax + 8]
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 8
jmp 0x4d08f1
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 4
test eax, eax
je 0x4d08ce
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d087e
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x53
je 0x4d08ac
mov eax, dword [ebp - 4]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
cmp dword [ecx + 4], 0
jg 0x4d08c3
jl 0x4d08ac
mov edx, dword [ebp - 0x590]
cmp dword [edx], 0
jae 0x4d08c3
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
neg ecx
mov edx, dword [eax + 4]
adc edx, 0
neg edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp 0x4d08f1
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d08e0
jmp 0x4d08f1
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f7b
add esp, 4
jmp 0x4d07fb
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d090b
jmp case.0x4cef48.10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x594]
mov ecx, dword [ebp - 0x594]
mov edx, dword [eax]
or edx, dword [ecx + 4]
test edx, edx
jne 0x4d0941
mov dword [ebp - 0x598], 1
jmp 0x4d094b
mov dword [ebp - 0x598], 0
mov eax, dword [ebp - 0x598]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d097d
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f1d
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
not ecx
mov edx, dword [eax + 4]
not edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d09c9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x16c], edx
jmp 0x4d0a22
mov eax, dword [ebp - 4]
push eax
call fcn.004b8e43
add esp, 4
fcomp qword [0x50a208]
fnstsw ax
test ah, 0x40
jne 0x4d09ee
mov dword [ebp - 0x59c], 1
jmp 0x4d09f8
mov dword [ebp - 0x59c], 0
mov ecx, dword [ebp - 0x59c]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x48
jne 0x4d0a22
xor ecx, ecx
cmp dword [ebp - 0x16c], 0
sete cl
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d0a3e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
cmp dword [ebp - 0x16c], 0
je 0x4d0a5c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jge 0x4d0a84
mov ecx, dword [ebp - 0x170]
neg ecx
mov dword [ebp - 0x170], ecx
mov edx, 1
sub edx, dword [ebp - 0x170]
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 0
jmp 0x4d0ac7
mov ecx, dword [ebp - 0x174]
add ecx, 1
mov dword [ebp - 0x174], ecx
mov edx, dword [ebp - 0x178]
add edx, 0x40
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x170]
jge 0x4d0af8
mov ecx, dword [ebp - 0x178]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 1
test edx, edx
je 0x4d0af6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d0af8
jmp 0x4d0aa9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jle 0x4d0b14
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004d4c52
add esp, 8
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jge 0x4d0b3c
mov ecx, dword [ebp - 0x17c]
neg ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x180], 0
jmp 0x4d0b57
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x17c]
jge 0x4d0b8a
mov ecx, dword [ebp - 0x180]
add ecx, 1
sub ecx, dword [ebp - 0x17c]
shl ecx, 6
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx + 0x18]
and eax, 1
test eax, eax
jne 0x4d0b8a
jmp 0x4d0b48
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x17c]
jl 0x4d0ba4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jle 0x4d0bc0
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [eax + 0x50], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1ec], 0
mov word [ebp - 0x1c4], 0
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x19c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
cmp dword [ecx], 0
je 0x4d0d2a
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.004ca9f6
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d0c6c
jmp 0x4d4937
mov dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4d0c9f
mov dword [ebp - 0x188], 0
jmp 0x4d0d19
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
cmp eax, dword [edx + 0x60]
jne 0x4d0cd0
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x70]
mov dword [ebp - 0x1f4], ecx
jmp 0x4d0d19
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4d0d03
lea ecx, [ebp - 0x1fc]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004c0aa0
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x188], eax
jmp 0x4d0d19
lea ecx, [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004c0d69
add esp, 8
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x18c], ecx
jmp 0x4d0da7
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d0d7f
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x198], 0
jmp 0x4d0da7
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x18c], 0
cmp dword [ebp - 0x188], 0
jne 0x4d0db5
jmp case.0x4cef48.10
cmp dword [ebp - 0x1ec], 0
je 0x4d0df2
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x60]
cmp ecx, dword [eax + 0x60]
jne 0x4d0df2
mov edx, dword [ebp - 0x1ec]
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0x190], edx
jmp 0x4d1142
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0
jne 0x4d0e35
push 1
mov edx, dword [ebp - 0x18c]
shl edx, 1
shl edx, 2
push edx
call fcn.004b73c0
add esp, 8
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0x68], ecx
cmp dword [ebp - 0x194], 0
jne 0x4d0e43
jmp 0x4d490e
mov edx, dword [ebp - 0x18c]
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x190]
mov dword [edx + 0x6c], eax
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x188]
mov dword [ecx + 0x64], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 0x60], edx
cmp dword [ebp - 0x1f4], 0
je 0x4d0e9f
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e0], eax
jmp 0x4d0f20
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4d0ecc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.004c10b5
add esp, 8
mov dword [ebp - 0x1e0], eax
jmp 0x4d0ee8
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x198]
push eax
call fcn.004c1179
add esp, 8
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [ebp - 0x188]
jb 0x4d0f13
mov edx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1f4], edx
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 0x1e0]
mov dword [eax + 0x70], ecx
jmp 0x4d0f20
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 0x1e0]
xor ecx, ecx
mov cl, byte [eax]
mov dword [ebp - 0x204], ecx
cmp dword [ebp - 0x204], 0x7f
ja 0x4d0f45
mov dword [ebp - 0x5a0], 1
jmp 0x4d0f61
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
call fcn.004b8658
add esp, 8
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x200], ecx
cmp dword [ebp - 0x1f4], 0
jne 0x4d0fc9
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x204]
jae 0x4d0fc9
lea eax, [ebp - 0x1dc]
push eax
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
mov dl, byte [ecx + 0x21]
push edx
mov eax, dword [ebp - 0x204]
push eax
push 0
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.004b960a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d0fbd
jmp 0x4d128d
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0x1e0]
add eax, dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x1e0]
add ecx, dword [ebp - 0x200]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x1e4], 0
jmp 0x4d1008
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x18c]
jae 0x4d10ef
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x20c]
jae 0x4d10d7
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x204]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x208]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x194]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x194]
cmp dword [ecx + eax*4], 0x7f
ja 0x4d1078
mov dword [ebp - 0x5a4], 1
jmp 0x4d109d
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x194]
lea ecx, [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x208]
push edx
call fcn.004b8658
add esp, 8
mov dword [ebp - 0x5a4], eax
mov eax, dword [ebp - 0x208]
add eax, dword [ebp - 0x5a4]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004cac5f
add esp, 4
mov ecx, dword [ebp - 0x204]
add ecx, eax
mov dword [ebp - 0x204], ecx
jmp 0x4d10ea
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x190]
mov dword [eax + edx*4], 0
jmp 0x4d0ff9
mov ecx, dword [ebp - 0x1c4]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x4d1111
lea edx, [ebp - 0x1dc]
push edx
call fcn.004b8d28
add esp, 4
mov word [ebp - 0x1c4], 1
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x20c]
ja 0x4d1136
mov ecx, dword [ebp - 0x204]
cmp ecx, dword [ebp - 0x188]
jbe 0x4d1142
mov dword [ebp - 8], 0xb
jmp 0x4d128d
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x190]
cmp dword [eax + edx*4], 0
je 0x4d121d
cmp dword [ebp - 0x1f4], 0
je 0x4d117e
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x1f4]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1e0], eax
jmp 0x4d11ef
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004cac5f
add esp, 4
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0x1dc]
push ecx
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x21]
push eax
mov ecx, dword [ebp - 0x1f0]
push ecx
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004b960a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d11e3
jmp 0x4d128d
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.004cad5e
add esp, 0xc
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x1b], cl
jmp 0x4d1249
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffff8
jne 0x4d1240
push 0x80
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b9024
add esp, 0xc
jmp 0x4d1249
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
mov ecx, dword [ebp - 0x1c4]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x4d127e
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
and ax, 0xfeff
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 4]
mov ax, word [edx + 0x18]
or al, 0x60
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], ax
mov edx, dword [ebp - 4]
push edx
call fcn.004b8a0d
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4cef48.10
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 4], 0
setl cl
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
neg edx
sbb edx, edx
and edx, 0xfffffffe
add edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, edx
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
xor eax, eax
cmp edx, 0x33
sete al
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x214], edx
mov eax, 1
sub eax, dword [ebp - 0x224]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x234], 0
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 0x239]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], ecx
jmp 0x4d1373
mov edx, dword [ebp - 0x238]
add edx, 0x40
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 4]
ja 0x4d1432
cmp dword [ebp - 0x214], 0
je 0x4d13b7
mov cl, byte [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x238]
sub edx, dword [ebp - 0x22c]
sar edx, 6
mov eax, dword [ebp - 0x214]
mov cl, byte [eax + edx]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call fcn.004ced04
add esp, 0xc
mov eax, dword [ebp - 0x238]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d13d4
mov dword [ebp - 0x234], 1
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004caadd
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004cac5f
add esp, 4
mov edx, dword [ebp - 0x220]
add edx, eax
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x268]
xor ecx, ecx
push ecx
push eax
call fcn.004b8721
add esp, 8
mov edx, dword [ebp - 0x240]
add edx, eax
mov dword [ebp - 0x240], edx
jmp 0x4d1364
cmp dword [ebp - 0x23c], 0
je 0x4d14b4
xor eax, eax
sub eax, dword [ebp - 0x224]
shl eax, 6
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004b8f1d
add esp, 4
push 0
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004caadd
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004cac5f
add esp, 4
mov edx, dword [ebp - 0x220]
add edx, eax
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x268]
xor ecx, ecx
push ecx
push eax
call fcn.004b8721
add esp, 8
mov edx, dword [ebp - 0x240]
add edx, eax
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
call fcn.004b8721
add esp, 8
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x240]
add eax, dword [ebp - 0x218]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
call fcn.004b8721
add esp, 8
cmp dword [ebp - 0x218], eax
jge 0x4d1505
mov ecx, dword [ebp - 0x240]
add ecx, 1
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x240]
add edx, dword [ebp - 0x220]
mov dword [ebp - 0x270], edx
cmp dword [ebp - 0x270], 0x20
jbe 0x4d1547
push 1
mov eax, dword [ebp - 0x270]
push eax
call fcn.004b73c0
add esp, 8
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x4d1545
jmp 0x4d490e
jmp 0x4d1553
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x240]
cdq
push edx
push eax
mov eax, dword [ebp - 0x274]
push eax
call fcn.004b8342
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], edx
jmp 0x4d15a2
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4d15f2
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004caadd
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
xor edx, edx
push edx
push ecx
mov eax, dword [ebp - 0x274]
push eax
call fcn.004b8342
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
jmp 0x4d1593
cmp dword [ebp - 0x23c], 0
je 0x4d162d
push 0
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004caadd
add esp, 8
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x274]
push edx
call fcn.004b8342
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x238], edx
jmp 0x4d164a
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4d1682
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004cac81
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
jmp 0x4d163b
cmp dword [ebp - 0x23c], 0
je 0x4d16b1
push 0
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004cac81
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x228], 0
jne 0x4d16d3
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004d4c52
add esp, 8
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x270]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x270], 0x20
ja 0x4d1725
mov edx, dword [ebp - 4]
add edx, 0x20
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x270]
push ecx
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
call fcn.00485ec0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x210
jmp 0x4d1744
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x230]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x50
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 1
cmp dword [ebp - 0x21c], 0
je 0x4d1769
cmp dword [ebp - 0x234], 0
je 0x4d1769
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jl 0x4d17e3
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x27c]
cmp edx, dword [ecx]
jge 0x4d17e3
mov eax, dword [ebp - 0x27c]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0
je 0x4d17e3
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
test edx, edx
jne 0x4d17e3
mov eax, dword [ebp - 0x278]
push eax
call fcn.004c7592
add esp, 4
test eax, eax
jne 0x4d17e3
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004c05e0
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 4]
mov byte [ebp - 0x280], al
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 8]
mov byte [ebp - 0x284], dl
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 1
jle 0x4d187b
mov ecx, dword [ebp - 0x280]
and ecx, 0xff
test ecx, ecx
je 0x4d187b
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
jne 0x4d187b
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4d1841
mov dword [ebp - 0x5a8], str.rollback
jmp 0x4d184b
mov dword [ebp - 0x5a8], str.commit
push 0
push str._transaction___SQL_statements_in_progress
mov edx, dword [ebp - 0x5a8]
push edx
push str.cannot
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004b75af
add esp, 0x14
mov dword [ebp - 8], 1
jmp 0x4d198d
mov ecx, dword [ebp - 0x280]
and ecx, 0xff
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x10]
cmp ecx, eax
je 0x4d191e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4d18b5
mov edx, dword [ebp - 0xc]
push edx
call fcn.004aeff4
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
jmp 0x4d1914
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x280]
mov byte [ecx + 0x10], dl
mov eax, dword [ebp + 8]
push eax
call fcn.004c9d83
add esp, 4
cmp eax, 5
jne 0x4d1914
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x280]
and edx, 0xff
mov eax, 1
sub eax, edx
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 5
mov eax, 5
jmp 0x4d49d4
mov eax, 0x65
jmp 0x4d49d4
mov eax, dword [ebp - 0x280]
and eax, 0xff
test eax, eax
jne 0x4d1939
mov dword [ebp - 0x5ac], str.cannot_start_a_transaction_within_a_transaction
jmp 0x4d196b
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4d1955
mov dword [ebp - 0x5b0], str.cannot_rollback___no_transaction_is_active
jmp 0x4d195f
mov dword [ebp - 0x5b0], str.cannot_commit___no_transaction_is_active
mov edx, dword [ebp - 0x5b0]
mov dword [ebp - 0x5ac], edx
push 0
mov eax, dword [ebp - 0x5ac]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004b75af
add esp, 0xc
mov dword [ebp - 8], 1
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
mov dword [ebp - 0x288], ecx
cmp dword [ebp - 0x288], 0
je 0x4d1a19
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004bfc00
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4d1a08
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 5
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, 5
jmp 0x4d49d4
cmp dword [ebp - 8], 0
je 0x4d1a19
cmp dword [ebp - 8], 8
je 0x4d1a19
jmp 0x4d4937
jmp case.0x4cef48.10
lea ecx, [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
add eax, 1
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004c6257
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x290]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
add eax, ecx
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
add edx, 1
push edx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 4]
push ecx
call fcn.004c6499
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4d1ae6
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
or edx, 0x10
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
jmp 0x4d1b00
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 1
jne 0x4d1b00
mov edx, dword [ebp - 0x294]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax + 0x78], dl
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 1
jne 0x4d1b1e
mov edx, dword [ebp - 0xc]
push edx
call fcn.004cb597
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
mov dword [ebp - 0x29c], ecx
cmp dword [ebp - 0x29c], 0
je 0x4d1b62
lea edx, [ebp - 0x298]
push edx
push 1
mov eax, dword [ebp - 0x29c]
push eax
call fcn.004c6257
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4d1b73
mov dword [ebp - 8], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 8], 0
jne 0x4d1ba6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x298]
cmp edx, dword [ecx + 8]
je 0x4d1ba6
push 0
push str.database_schema_has_changed
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004b75af
add esp, 0xc
mov dword [ebp - 8], 0x11
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b8f1d
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2a4]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
add edx, eax
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 8
jne 0x4d1c53
mov dword [ebp - 0x2b0], 1
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ecx + 0x14]
xor eax, eax
mov al, byte [edx + 0x78]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x239]
cmp eax, edx
jge 0x4d1c51
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov al, byte [ecx + 0x78]
mov byte [edx + 0x239], al
jmp 0x4d1c5d
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2a8], 0
jg 0x4d1c86
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4ca0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x4d1cb4
jmp 0x4d490e
mov edx, dword [ebp - 0x2a0]
mov byte [edx + 0x1c], 1
cmp dword [ebp - 0x2b8], 0
jne 0x4d1ccc
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
push fcn.004cb056
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.004c06f4
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
jne 0x4d1d47
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx + 0x4c]
add edx, 1
mov eax, dword [ebp - 0x2a0]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0x4c]
mov cl, byte [ecx + 0x79]
mov byte [eax], cl
jmp 0x4d1d66
mov edx, dword [ebp - 0x2a0]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 0x2a0]
add eax, 0x22
mov ecx, dword [ebp - 0x2a0]
mov dword [ecx + 0x48], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x5b4], edx
cmp dword [ebp - 0x5b4], 0
je 0x4d1dd0
cmp dword [ebp - 0x5b4], 5
je 0x4d1d93
cmp dword [ebp - 0x5b4], 0x10
je 0x4d1e8c
jmp 0x4d1ec3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 5
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 8], 0
setle cl
add ecx, 1
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], edx
mov eax, 5
jmp 0x4d49d4
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx]
push edx
call fcn.004c650e
add esp, 4
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
and eax, 0xf0
test eax, eax
jne 0x4d1e12
mov ecx, dword [ebp - 0x2bc]
and ecx, 7
cmp ecx, 5
je 0x4d1e1e
mov edx, dword [ebp - 0x2bc]
and edx, 7
cmp edx, 2
je 0x4d1e1e
mov dword [ebp - 8], 0xb
jmp 0x4d4937
mov eax, dword [ebp - 0x2bc]
and eax, 1
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x2a0]
mov byte [ecx + 0x20], al
mov edx, dword [ebp - 0x2bc]
and edx, 2
neg edx
sbb edx, edx
neg edx
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x21], dl
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x20]
test edx, edx
je 0x4d1e66
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4d1e7e
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4d1e8a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4d1e8a
mov dword [ebp - 8], 0xb
jmp 0x4d4937
jmp 0x4d1ec8
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp dword [ecx + 0x10], 0xfffffffa
setne dl
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x20], dl
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x20]
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x2a0]
mov byte [eax + 0x21], dl
mov dword [ebp - 8], 0
jmp 0x4d1ec8
jmp 0x4d4937
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2c4], edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4ca0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x4d1f02
jmp 0x4d490e
mov edx, dword [ebp - 0x2c0]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x2c0]
add eax, 0x30
push eax
push 0x1f4
push 1
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004af813
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d1f4b
push 1
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x30]
push eax
call fcn.004bfc00
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d2040
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
je 0x4d2000
push 2
lea edx, [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004c566c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d1ff4
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
push fcn.004cb056
push 1
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004c06f4
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x4c]
mov dl, byte [edx + 0x79]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x2c0]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x2c0]
mov byte [eax + 0x20], 0
jmp 0x4d2040
mov ecx, dword [ebp - 0x2c0]
push ecx
push 0
push 0
push 1
push 1
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x30]
push eax
call fcn.004c06f4
add esp, 0x18
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c0]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp - 0x2c0]
add edx, 0x22
mov eax, dword [ebp - 0x2c0]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x2c0]
xor edx, edx
mov dl, byte [ecx + 0x20]
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x2c0]
mov byte [eax + 0x21], dl
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2d0], edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4ca0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x4d20a2
jmp 0x4d490e
mov edx, dword [ebp - 0x2cc]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x2cc]
mov byte [eax + 0x1e], 1
mov ecx, dword [ebp - 0x2cc]
add ecx, 0x22
mov edx, dword [ebp - 0x2cc]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp - 0x2cc]
mov byte [eax + 0x20], 1
mov ecx, dword [ebp - 0x2cc]
mov byte [ecx + 0x21], 0
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jl 0x4d212f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2d4]
cmp edx, dword [ecx + 0x38]
jge 0x4d212f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2d4]
mov eax, dword [ecx + edx*4]
push eax
call fcn.004c9b28
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x2d4]
mov dword [edx + eax*4], 0
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
cmp dword [ecx], 0
je 0x4d23d2
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x1c], 0
cmp dword [ebp - 0x2e0], 6
je 0x4d2199
cmp dword [ebp - 0x2e0], 0x3f
je 0x4d2199
mov dword [ebp - 0x5b8], 0
jmp 0x4d21a3
mov dword [ebp - 0x5b8], 1
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx + 0x48]
mov cl, byte [ebp - 0x5b8]
mov byte [eax], cl
mov edx, dword [ebp - 0x2dc]
xor eax, eax
mov al, byte [edx + 0x20]
test eax, eax
je 0x4d228d
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4d222c
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x78
jne 0x4d222c
mov edx, dword [ebp - 0x2dc]
mov eax, dword [ebp - 0x2ec]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1f], 1
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4cef48.10
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
mov eax, dword [ebp - 0x2ec]
push eax
push 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx]
push edx
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d2262
jmp 0x4d4937
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
xor edx, edx
cmp dword [ebp - 0x2e4], 0
sete dl
mov eax, dword [ebp - 0x2dc]
mov byte [eax + 0x19], dl
jmp 0x4d22cd
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
push eax
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d22c3
jmp 0x4d4937
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x19], 0
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x2dc]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 0x2dc]
mov edx, dword [ecx + 0x48]
mov byte [edx], 0
mov eax, dword [0x5383b4]
add eax, 1
mov dword [0x5383b4], eax
cmp dword [ebp - 0x2e0], 0x78
je 0x4d230f
cmp dword [ebp - 0x2e0], 6
jne 0x4d2356
cmp dword [ebp - 0x2e4], 0
jge 0x4d234a
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
push eax
call fcn.004c189b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d233e
jmp 0x4d4937
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x19], 0
jmp 0x4d2354
mov dword [ebp - 0x2e4], 0
jmp 0x4d23a8
cmp dword [ebp - 0x2e4], 0
jl 0x4d2391
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004c1b23
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d2385
jmp 0x4d4937
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x19], 0
jmp 0x4d23a8
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004c1883
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x4d23d2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jle 0x4d23c8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d23d2
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4d23ee
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2f0], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2f4]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
cmp dword [ecx], 0
je 0x4d24de
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4d2465
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b8bb5
add esp, 8
test eax, eax
je 0x4d2465
jmp 0x4d490e
lea eax, [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cdq
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ecx]
push edx
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x4d24b1
cmp dword [ebp - 0x2fc], 0
jne 0x4d24b1
mov dword [ebp - 0x5bc], 1
jmp 0x4d24bb
mov dword [ebp - 0x5bc], 0
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2f8]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x2f8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x7b
jne 0x4d2501
cmp dword [ebp - 0x2f0], 0
je 0x4d24ff
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4d2516
cmp dword [ebp - 0x2f0], 0
jne 0x4d2516
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x6a
je 0x4d2547
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d253e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x318], ecx
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 0x308], edx
mov eax, dword [ebp - 4]
push eax
call fcn.004b8f1d
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x310], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x318]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax]
mov dword [ebp - 0x314], ecx
cmp dword [ebp - 0x314], 0
je 0x4d2777
mov edx, dword [ebp - 0x308]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4d25f2
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x308]
push edx
call fcn.004b8bb5
add esp, 8
test eax, eax
je 0x4d25f2
jmp 0x4d490e
mov eax, dword [ebp - 0x308]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x31c], ecx
mov edx, dword [ebp - 0x308]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.004cb3a4
add esp, 4
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x330]
sub edx, dword [ebp - 0x320]
mov dword [ebp - 0x334], edx
mov eax, dword [ebp - 0x304]
mov dword [eax + 0x60], 0
lea ecx, [ebp - 0x32c]
push ecx
mov eax, dword [ebp - 0x334]
cdq
push edx
push eax
mov edx, dword [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d2678
jmp 0x4d4937
cmp dword [ebp - 0x32c], 0
jge 0x4d26b4
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call fcn.004c189b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x32c], 0
je 0x4d26b4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
lea edx, [ebp - 0x32c]
push edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x334]
push ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.004cb4c2
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d26e6
jmp 0x4d4937
cmp dword [ebp - 0x32c], 0
jle 0x4d2700
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004cb3e1
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d2724
jmp 0x4d4937
mov ecx, dword [ebp - 0x328]
cmp ecx, dword [ebp - 0x310]
jne 0x4d2751
mov edx, dword [ebp - 0x324]
cmp edx, dword [ebp - 0x30c]
jne 0x4d2751
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x328]
mov dword [eax], ecx
mov edx, dword [ebp - 0x324]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 4
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x33c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x33c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx]
mov dword [ebp - 0x338], edx
cmp dword [ebp - 0x338], 0
je 0x4d2854
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x34c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x348], edx
lea eax, [ebp - 0x344]
push eax
mov ecx, dword [ebp - 0x348]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
push 0
mov eax, dword [ebp - 0x338]
push eax
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov edx, dword [edx + 4]
mov dword [ecx + 0xc], edx
xor eax, eax
cmp dword [ebp - 0x344], 0
sete al
mov ecx, dword [ebp - 0x340]
mov byte [ecx + 0x19], al
mov edx, dword [ebp - 0x340]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x340]
mov dword [eax + 0x60], 0
cmp dword [ebp - 0x344], 0
je 0x4d2854
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x340]
mov byte [eax + 0x19], 0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d2870
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x350]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x58]
mov dword [eax], ecx
mov edx, dword [edx + 0x5c]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x350]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x58]
add ecx, 1
mov edx, dword [eax + 0x5c]
adc edx, 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov esi, dword [ebp - 0x350]
mov eax, dword [eax + esi*4]
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], edx
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x354], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x35c]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x360], ecx
mov edx, dword [ebp - 0x360]
cmp dword [edx], 0
jne 0x4d2933
jmp 0x4d2d2d
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x360]
mov ecx, dword [eax]
push ecx
call fcn.004c650e
add esp, 4
and eax, 3
cmp eax, 1
je 0x4d296c
mov dword [ebp - 8], 0xb
jmp 0x4d4937
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
jne 0x4d2b8d
mov ecx, dword [ebp - 0x360]
xor edx, edx
mov dl, byte [ecx + 0x1d]
test edx, edx
je 0x4d29ab
mov eax, dword [ebp - 0x360]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x358], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x354], edx
jmp 0x4d2a5f
lea eax, [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004c141d
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d29d1
jmp 0x4d4937
cmp dword [ebp - 0x368], 0
je 0x4d29f0
mov dword [ebp - 0x358], 1
mov dword [ebp - 0x354], 0
jmp 0x4d2a5f
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004c0aa0
add esp, 8
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x354], ecx
cmp dword [ebp - 0x358], 0xffffffff
jne 0x4d2a41
cmp dword [ebp - 0x354], 0x7fffffff
jne 0x4d2a41
mov edx, dword [ebp - 0x360]
mov byte [edx + 0x1b], 1
jmp 0x4d2a5f
mov eax, dword [ebp - 0x358]
add eax, 1
mov ecx, dword [ebp - 0x354]
adc ecx, 0
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4d2b42
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
push ecx
call fcn.004b8f1d
add esp, 4
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x5c0], edx
mov eax, dword [ebp - 0x5c0]
cmp dword [eax], 0xffffffff
jne 0x4d2ab8
mov ecx, dword [ebp - 0x5c0]
cmp dword [ecx + 4], 0x7fffffff
je 0x4d2ac7
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
je 0x4d2ad3
mov dword [ebp - 8], 0xd
jmp 0x4d4937
mov ecx, dword [ebp - 0x378]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ecx + 4]
adc eax, 0
mov dword [ebp - 0x5c8], edx
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x354]
cmp ecx, dword [ebp - 0x5c4]
jg 0x4d2b2b
jl 0x4d2b0e
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x5c8]
jae 0x4d2b2b
mov eax, dword [ebp - 0x378]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [eax + 4]
adc edx, 0
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 0x358]
mov dword [eax], ecx
mov edx, dword [ebp - 0x354]
mov dword [eax + 4], edx
cmp dword [ebp - 0x354], 0x7fffffff
ja 0x4d2b83
jb 0x4d2b59
cmp dword [ebp - 0x358], 0xffffffff
jae 0x4d2b83
mov eax, dword [ebp - 0x360]
mov byte [eax + 0x1d], 1
mov ecx, dword [ebp - 0x358]
add ecx, 1
mov edx, dword [ebp - 0x354]
adc edx, 0
mov eax, dword [ebp - 0x360]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jmp 0x4d2b8d
mov ecx, dword [ebp - 0x360]
mov byte [ecx + 0x1d], 0
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
je 0x4d2d0c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x358], edx
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x364], 0
mov ecx, dword [ebp - 0x358]
or ecx, dword [ebp - 0x354]
test ecx, ecx
je 0x4d2bd8
cmp dword [ebp - 0x364], 2
jle 0x4d2c14
lea edx, [ebp - 0x358]
push edx
push 8
call fcn.004d4e60
add esp, 8
cmp dword [ebp - 0x364], 5
jge 0x4d2c12
mov eax, dword [ebp - 0x358]
and eax, 0xffffff
mov ecx, dword [ebp - 0x354]
and ecx, 0
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], ecx
jmp 0x4d2c50
lea edx, [ebp - 0x37c]
push edx
push 1
call fcn.004d4e60
add esp, 8
mov eax, dword [ebp - 0x37c]
and eax, 0xff
add eax, 1
cdq
mov ecx, dword [ebp - 0x358]
add ecx, eax
mov eax, dword [ebp - 0x354]
adc eax, edx
mov dword [ebp - 0x358], ecx
mov dword [ebp - 0x354], eax
mov ecx, dword [ebp - 0x358]
or ecx, dword [ebp - 0x354]
test ecx, ecx
jne 0x4d2c62
jmp 0x4d2cb7
mov edx, dword [ebp - 0x358]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x370], eax
lea ecx, [ebp - 0x368]
push ecx
mov edx, dword [ebp - 0x370]
push edx
mov eax, dword [ebp - 0x374]
push eax
push 0
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x364]
add eax, 1
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0x3e8
jge 0x4d2cd9
cmp dword [ebp - 0x36c], 0
jne 0x4d2cd9
cmp dword [ebp - 0x368], 0
je 0x4d2bbf
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x358]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x354]
mov dword [ecx + 0x2c], eax
cmp dword [ebp - 0x36c], 0
jne 0x4d2d0c
cmp dword [ebp - 0x368], 0
jne 0x4d2d0c
mov dword [ebp - 8], 0xd
jmp 0x4d4937
mov ecx, dword [ebp - 0x360]
mov byte [ecx + 0x19], 0
mov edx, dword [ebp - 0x360]
mov byte [edx + 0x1f], 0
mov eax, dword [ebp - 0x360]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x358]
mov dword [edx], eax
mov ecx, dword [ebp - 0x354]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x384], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x384]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
cmp dword [ecx], 0
jne 0x4d2da3
mov edx, dword [ebp - 0x388]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d3065
mov ecx, dword [ebp - 0x380]
mov edx, dword [ecx]
mov dword [ebp - 0x390], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
and edx, 1
test edx, edx
je 0x4d2ddc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x23c]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x23c], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 2
test ecx, ecx
je 0x4d2dfd
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x380]
mov ecx, dword [eax]
mov dword [edx + 0x20], ecx
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov ecx, dword [ebp - 0x388]
xor edx, edx
mov dl, byte [ecx + 0x1d]
test edx, edx
je 0x4d2e59
mov eax, dword [ebp - 0x388]
add eax, 0x10
mov ecx, dword [ebp - 0x380]
mov dword [ebp - 0x5cc], ecx
mov dword [ebp - 0x5d0], eax
mov edx, dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 4]
jl 0x4d2e59
jg 0x4d2e4f
mov edx, dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jb 0x4d2e59
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d2e7d
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x388]
xor edx, edx
mov dl, byte [ecx + 0x1e]
test edx, edx
je 0x4d2f83
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
push ecx
call fcn.004b7482
add esp, 4
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x390]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x38c]
mov dword [edx + 0x44], ecx
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d2ef6
mov ecx, dword [ebp - 0x388]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp 0x4d2f77
push 1
mov edx, dword [ebp - 0x388]
mov eax, dword [edx + 0x34]
add eax, 2
push eax
call fcn.004b73c0
add esp, 8
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x388]
cmp dword [edx + 0x38], 0
jne 0x4d2f27
jmp 0x4d490e
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 0x38]
push edx
call fcn.00485ec0
add esp, 0xc
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
mov edx, dword [ebp - 0x388]
mov eax, dword [edx + 0x34]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
mov byte [ecx + edx + 1], 0
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x1c], 0
jmp 0x4d2fb5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x390]
push edx
push 0
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax]
push ecx
call fcn.004c1d6b
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x388]
mov byte [edx + 0x19], 0
mov eax, dword [ebp - 0x388]
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x60], 0
cmp dword [ebp - 8], 0
jne 0x4d3065
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4d3065
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4d3065
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx]
mov dword [ebp - 0x394], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x39c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
and eax, 4
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
mov dword [ebp - 0x398], eax
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp - 0x390]
push edx
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x394]
push ecx
mov edx, dword [ebp - 0x398]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x70]
push ecx
mov edx, dword [ebp - 0xc]
call dword [edx + 0x74]
add esp, 0x18
push 2
lea eax, [ebp - 4]
push eax
call fcn.004d4c52
add esp, 8
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3a4], eax
mov ecx, dword [ebp - 0x3a4]
cmp dword [ecx], 0
je 0x4d31d6
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4d3121
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4d3121
mov ecx, dword [ebp - 0x3a4]
xor edx, edx
mov dl, byte [ecx + 0x19]
test edx, edx
je 0x4d30e3
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3ac], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x3a8], edx
jmp 0x4d3121
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x3a4]
mov edx, dword [ecx]
push edx
call fcn.004c0aa0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d3109
jmp 0x4d4937
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x3a4]
push edx
call fcn.004ca9f6
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d313e
jmp 0x4d4937
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax]
push ecx
call fcn.004c52cb
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x3a4]
mov byte [edx + 0x1d], 0
mov eax, dword [ebp - 0x3a4]
mov dword [eax + 0x60], 0
cmp dword [ebp - 8], 0
jne 0x4d31d6
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x74], 0
je 0x4d31d6
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4d31d6
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x3b0], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3a8]
push ecx
mov edx, dword [ebp - 0x3ac]
push edx
mov eax, dword [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x3b0]
push ecx
push 9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [ebp - 0xc]
call dword [ecx + 0x74]
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
and eax, 1
test eax, eax
je 0x4d31f8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x23c]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x23c], edx
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4d321c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004cb56b
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x23c], 0
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3b8]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3bc]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x4d3275
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp 0x4d3417
mov ecx, dword [ebp - 0x3bc]
cmp dword [ecx], 0
je 0x4d33d6
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx]
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3bc]
push ecx
call fcn.004ca9f6
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d32af
jmp 0x4d4937
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4d32cc
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4d32ff
lea ecx, [ebp - 0x3cc]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004c0aa0
add esp, 8
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3c0], eax
jmp 0x4d3315
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004c0d69
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c0]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x3c0], 0x20
ja 0x4d3341
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 0x210
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
jmp 0x4d3385
push 1
mov edx, dword [ebp - 0x3c0]
push edx
call fcn.004b73c0
add esp, 8
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x4d3366
jmp 0x4d490e
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0x50
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3d0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x3bc]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4d33b5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c0]
push edx
push 0
mov eax, dword [ebp - 0x3c4]
push eax
call fcn.004c0dd7
add esp, 0x10
jmp 0x4d33d4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x3c0]
push eax
push 0
mov ecx, dword [ebp - 0x3c4]
push ecx
call fcn.004c1058
add esp, 0x10
jmp 0x4d3417
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d340e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x110
jmp 0x4d3417
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 1
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3dc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3dc]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
call fcn.004ca9f6
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d3461
jmp 0x4d4937
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x3e0]
xor ecx, ecx
mov cl, byte [eax + 0x19]
test ecx, ecx
je 0x4d3496
mov edx, dword [ebp - 0x3e0]
mov eax, dword [edx + 8]
mov dword [ebp - 0x3d8], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x3d4], ecx
jmp 0x4d3517
mov edx, dword [ebp - 0x3e0]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d34bf
mov ecx, dword [ebp - 0x3e0]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x3d4], eax
jmp 0x4d3517
mov ecx, dword [ebp - 0x3e0]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
jne 0x4d34d9
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0
jne 0x4d34e7
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4cef48.10
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [eax]
push ecx
call fcn.004c0aa0
add esp, 8
mov edx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x3d8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x3e8], ecx
mov edx, dword [ebp - 0x3e8]
mov byte [edx + 0x1c], 1
mov eax, dword [ebp - 0x3e8]
mov byte [eax + 0x19], 0
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x3f0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x3f0]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x3f4], eax
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [ecx]
mov dword [ebp - 0x3ec], edx
cmp dword [ebp - 0x3ec], 0
je 0x4d360a
lea eax, [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call fcn.004c141d
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x3f4]
mov al, byte [ebp - 0x3f8]
mov byte [edx + 0x1c], al
mov ecx, dword [ebp - 0x3f4]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 0x3f4]
mov dword [edx + 0x60], 0
cmp dword [ebp - 0x3f8], 0
je 0x4d3608
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jle 0x4d3608
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4d3614
mov eax, dword [ebp - 0x3f4]
mov byte [eax + 0x1c], 0
jmp case.0x4cef48.10
mov ecx, dword [0x5383bc]
add ecx, 1
mov dword [0x5383bc], ecx
mov edx, dword [0x5383b4]
sub edx, 1
mov dword [0x5383b4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x404]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
mov dword [ebp - 0x400], ecx
cmp dword [ebp - 0x400], 0
je 0x4d36b6
lea edx, [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x400]
push eax
call fcn.004c11a1
add esp, 8
mov dword [ebp - 8], eax
xor ecx, ecx
cmp dword [ebp - 0x3fc], 0
sete cl
mov edx, dword [ebp - 0x408]
mov byte [edx + 0x1a], cl
mov eax, dword [ebp - 0x408]
mov byte [eax + 0x1f], 0
mov ecx, dword [ebp - 0x408]
mov dword [ecx + 0x60], 0
jmp 0x4d36c0
mov dword [ebp - 0x3fc], 1
mov edx, dword [ebp - 0x408]
mov al, byte [ebp - 0x3fc]
mov byte [edx + 0x1c], al
cmp dword [ebp - 0x3fc], 0
je 0x4d36ed
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jle 0x4d36ed
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4d3704
jmp 0x4d4979
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp - 0x410]
mov eax, dword [edx]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x4d37de
mov ecx, dword [ebp - 0x410]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x4d374f
mov dword [ebp - 0x414], 1
jmp 0x4d37ba
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x68
jne 0x4d3779
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call fcn.004c189b
add esp, 8
mov dword [ebp - 0x5d4], eax
jmp 0x4d3795
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call fcn.004c1b23
add esp, 8
mov dword [ebp - 0x5d4], eax
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x410]
mov dl, byte [ebp - 0x414]
mov byte [ecx + 0x1c], dl
mov eax, dword [ebp - 0x410]
mov dword [eax + 0x60], 0
cmp dword [ebp - 0x414], 0
jne 0x4d37dc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [0x5383b4]
add eax, 1
mov dword [0x5383b4], eax
jmp 0x4d37e8
mov ecx, dword [ebp - 0x410]
mov byte [ecx + 0x1c], 1
mov edx, dword [ebp - 0x410]
mov byte [edx + 0x19], 0
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x41c]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
mov dword [ebp - 0x418], ecx
cmp dword [ebp - 0x418], 0
je 0x4d387d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x424], edx
push 0
push 0x5383c4
mov eax, dword [ebp - 0x428]
cdq
push edx
push eax
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call fcn.004c1d6b
add esp, 0x18
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x420]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4d3899
mov edx, dword [ebp - 4]
push edx
call fcn.004b8d28
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x430]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
mov dword [ebp - 0x42c], edx
cmp dword [ebp - 0x42c], 0
je 0x4d3936
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cdq
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call fcn.004c14fc
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d3929
cmp dword [ebp - 0x438], 0
jne 0x4d3929
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004c52cb
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d3952
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0x440]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov dword [ebp - 0x43c], edx
cmp dword [ebp - 0x43c], 0
je 0x4d3a05
mov eax, dword [ebp - 0x444]
xor ecx, ecx
mov cl, byte [eax + 0x1c]
test ecx, ecx
je 0x4d39c4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4d3a05
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.004cb3e1
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d39e8
jmp 0x4d4937
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x44c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x448]
mov dword [eax + 4], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x450], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x450]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
cmp dword [eax], 0
je 0x4d3b09
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4d3a68
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8bb5
add esp, 8
test eax, eax
je 0x4d3a68
jmp 0x4d490e
mov edx, dword [ebp - 0x10]
xor eax, eax
cmp dword [edx + 0xc], 0
setne al
mov ecx, dword [ebp - 0x454]
mov edx, dword [ecx + 0x48]
mov byte [edx], al
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call fcn.004cb4c2
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 0x48]
mov byte [ecx], 0
cmp dword [ebp - 8], 0
je 0x4d3abd
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x24
jne 0x4d3ad9
mov ecx, dword [ebp - 0x458]
neg ecx
mov dword [ebp - 0x458], ecx
jmp 0x4d3af4
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3a
jne 0x4d3af4
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x458], ecx
cmp dword [ebp - 0x458], 0
jle 0x4d3b09
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d3b25
mov eax, dword [ebp - 4]
push eax
call fcn.004b8d28
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x46c], ecx
lea edx, [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x460]
push eax
call fcn.004b8658
add esp, 8
mov dword [ebp - 0x464], eax
jmp 0x4d3b84
mov ecx, dword [ebp - 0x45c]
sub ecx, 1
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x464]
cmp edx, dword [ebp - 0x46c]
jge 0x4d3bde
cmp dword [ebp - 0x45c], 0
jle 0x4d3bde
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, dword [ebp - 0x464]
push ecx
call fcn.004b8658
add esp, 8
mov edx, dword [ebp - 0x464]
add edx, eax
mov dword [ebp - 0x464], edx
cmp dword [ebp - 0x468], 0
jne 0x4d3bdc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d3bde
jmp 0x4d3b75
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d3bfa
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8d28
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 1
jle 0x4d3c1d
mov dword [ebp - 8], 6
jmp 0x4d3ca2
lea ecx, [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx + 4]
push edx
call fcn.004c5fd2
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
mov eax, dword [ebp - 0x470]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
cmp dword [ebp - 8], 0
jne 0x4d3ca2
cmp dword [ebp - 0x470], 0
je 0x4d3ca2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
add edx, eax
push edx
call fcn.004bca2d
add esp, 0xc
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004c5d79
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
imul edx, edx, 0x18
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
add ecx, edx
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x30
jne 0x4d3d01
mov dword [ebp - 0x474], 5
jmp 0x4d3d0b
mov dword [ebp - 0x474], 2
mov ecx, dword [ebp - 0x474]
push ecx
lea edx, [ebp - 0x478]
push edx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 4]
push ecx
call fcn.004c566c
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
add edx, 0x40
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
jne 0x4d3d57
mov eax, dword [ebp - 0x478]
cdq
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp 0x4d3d60
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x484], edx
mov eax, dword [ebp - 0x484]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 0x7a]
and ecx, 1
cmp ecx, 1
je 0x4d3d97
jmp case.0x4cef48.10
mov edx, 1
test edx, edx
je 0x4d3db5
cmp dword [ebp - 0x484], 1
jne 0x4d3db5
mov dword [ebp - 0x5d8], 0x531bb0
jmp 0x4d3dbf
mov dword [ebp - 0x5d8], 0x531bc4
mov eax, dword [ebp - 0x5d8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x490], ecx
mov edx, dword [ebp + 8]
add edx, 0x230
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x484]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
push str.SELECT_name__rootpage__sql___d_FROM__q._s_WHERE__s
call fcn.004aecd0
add esp, 0x14
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x4d3e2c
jmp 0x4d490e
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b82b7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x44], 1
push 0
lea edx, [ebp - 0x490]
push edx
push fcn.004b6620
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b62c0
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x488]
push edx
call fcn.004b7482
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b826e
add esp, 4
cmp dword [ebp - 8], 7
jne 0x4d3e95
call fcn.004b8901
jmp 0x4d490e
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d590d
add esp, 8
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004badfc
add esp, 0xc
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ba92b
add esp, 0xc
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004e1b50
add esp, 0xc
jmp case.0x4cef48.10
mov dword [ebp - 0x498], 0
jmp 0x4d3f36
mov eax, dword [ebp - 0x498]
add eax, 1
mov dword [ebp - 0x498], eax
mov ecx, dword [ebp - 0x498]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x28]
jb 0x4d3f6e
mov ecx, dword [ebp - 0x498]
neg ecx
shl ecx, 6
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + ecx + 0x18]
and eax, 4
test eax, eax
jne 0x4d3f6c
jmp 0x4d3f6e
jmp 0x4d3f27
push 1
mov ecx, dword [ebp - 0x498]
lea edx, [ecx*4 + 4]
push edx
call fcn.004b73c0
add esp, 8
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0
jne 0x4d3f9a
jmp 0x4d490e
mov dword [ebp - 0x4a4], 0
jmp 0x4d3fb5
mov eax, dword [ebp - 0x4a4]
add eax, 1
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x498]
jge 0x4d3ff2
mov edx, dword [ebp - 0x4a4]
neg edx
shl edx, 6
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 0x4a8], eax
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x49c]
mov dword [ecx + eax*4], edx
jmp 0x4d3fa6
mov edx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x49c]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x498]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004d4c52
add esp, 8
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x498]
push ecx
mov edx, dword [ebp - 0x49c]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx + 4]
push ecx
call fcn.004c6556
add esp, 0xc
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x4d4067
mov edx, dword [ebp - 0x4a0]
movsx eax, byte [edx]
test eax, eax
jne 0x4d409e
cmp dword [ebp - 0x4a0], 0
je 0x4d407f
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.004b7482
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x531c0c
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0xa2
jmp 0x4d40d2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.00481880
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 0x62
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x1b], 1
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004b8920
add esp, 8
mov edx, dword [ebp - 0x49c]
push edx
call fcn.004b7482
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 4]
push eax
call fcn.004b8f1d
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
call fcn.004e2cb5
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
and ecx, 4
test ecx, ecx
je 0x4d4147
jmp 0x4d4979
lea edx, [ebp - 0x4b0]
push edx
mov eax, dword [ebp + 8]
add eax, 0x64
push eax
call fcn.004e2dda
add esp, 8
cmp eax, 0x65
jne 0x4d4170
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4d4196
mov eax, dword [ebp - 4]
add eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x4b0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4ac]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 4
jmp case.0x4cef48.10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4b8]
cmp edx, dword [ecx + 0x74]
jl 0x4d41fd
mov eax, dword [ebp - 0x4b8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], eax
mov edx, dword [ebp - 0x4b8]
add edx, 1
imul edx, edx, 0x18
push edx
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.004b74e2
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4d41fd
jmp 0x4d490e
mov edx, dword [ebp - 0x4b8]
imul edx, edx, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
add ecx, edx
mov dword [ebp - 0x4b4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [edx + 0x20]
mov dword [eax], ecx
mov edx, dword [edx + 0x24]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x23c]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
add eax, 0x64
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xc
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add ecx, 0x64
push ecx
call fcn.004e2ca0
add esp, 4
jmp case.0x4cef48.10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x70], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
imul eax, eax, 0x18
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
add edx, eax
mov dword [ebp - 0x4bc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x4bc]
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax + 8]
mov dword [edx + 0x23c], ecx
mov edx, dword [ebp + 8]
add edx, 0x64
push edx
call fcn.004e2e6b
add esp, 4
mov eax, dword [ebp - 0x4bc]
add eax, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x64
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
push edx
call fcn.004b90df
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je case.0x4cef48.0
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
push pe_nt_image_headers32
mov edx, dword [ebp - 0x4c0]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004b9024
add esp, 0xc
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c8], ecx
mov edx, dword [ebp - 0x4c8]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
mov dword [ebp - 0x4c4], ecx
mov edx, dword [ebp - 0x4c4]
push edx
call fcn.004b8f1d
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004b8f1d
add esp, 4
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x5dc], ecx
mov dword [ebp - 0x5e0], edx
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jg 0x4d43ef
jl 0x4d43dc
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [eax]
cmp edx, dword [ecx]
jae 0x4d43ef
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x4d0]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cdq
mov ecx, dword [ebp - 0x4cc]
mov esi, dword [ecx]
add esi, eax
mov eax, dword [ecx + 4]
adc eax, edx
mov ecx, dword [ebp - 0x4cc]
mov dword [ecx], esi
mov dword [ecx + 4], eax
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x5e4], ecx
mov edx, dword [ebp - 0x5e4]
cmp dword [edx + 4], 0
jl 0x4d4491
jg 0x4d4485
mov eax, dword [ebp - 0x5e4]
cmp dword [eax], 0
jbe 0x4d4491
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4e0], ecx
mov edx, dword [ebp - 0x4e0]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
mov dword [ebp - 0x4dc], ecx
mov edx, dword [ebp - 0x4dc]
mov dword [ebp - 0x5e8], edx
mov eax, dword [ebp - 0x5e8]
cmp dword [eax + 4], 0
jg 0x4d44ea
jl 0x4d44de
mov ecx, dword [ebp - 0x5e8]
cmp dword [ecx], 0
jae 0x4d44ea
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x4e8], edx
mov eax, dword [ebp - 0x4e8]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
mov edx, dword [ebp - 0x5ec]
mov eax, dword [ecx]
or eax, dword [edx + 4]
test eax, eax
jne 0x4d453f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
push eax
call fcn.004b8f9a
add esp, 4
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cdq
push edx
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
push edx
call fcn.004b8fc5
add esp, 0xc
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
shl edx, 6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
add ecx, edx
push ecx
call fcn.004b90df
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4cef48.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x554], eax
mov ecx, 1
sub ecx, dword [ebp - 0x554]
shl ecx, 6
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 0x54c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x548], ecx
mov dword [ebp - 0x550], 0
jmp 0x4d461a
mov edx, dword [ebp - 0x550]
add edx, 1
mov dword [ebp - 0x550], edx
mov eax, dword [ebp - 0x54c]
add eax, 0x40
mov dword [ebp - 0x54c], eax
mov ecx, dword [ebp - 0x550]
cmp ecx, dword [ebp - 0x554]
jge 0x4d464e
mov edx, dword [ebp - 0x550]
mov eax, dword [ebp - 0x548]
mov ecx, dword [ebp - 0x54c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x54c]
push edx
call fcn.004cebd0
add esp, 4
jmp 0x4d45fc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
shl eax, 6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, eax
mov dword [ebp - 0x544], edx
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x544]
mov edx, dword [ecx + 0x14]
add edx, 1
mov eax, dword [ebp - 0x544]
mov dword [eax + 0x14], edx
mov word [ebp - 0x520], 1
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x51c], 0
mov byte [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0
mov ecx, dword [ebp - 0x540]
xor edx, edx
mov dl, byte [ecx + 3]
test edx, edx
je 0x4d46db
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x4f0], ecx
mov edx, dword [ebp - 0x548]
push edx
mov eax, dword [ebp - 0x554]
push eax
lea ecx, [ebp - 0x540]
push ecx
mov edx, dword [ebp - 0x540]
call dword [edx + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x554]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004d4c52
add esp, 8
mov edx, dword [ebp - 0x4f4]
and edx, 0xff
test edx, edx
je 0x4d474a
push 0
lea eax, [ebp - 0x538]
push eax
call fcn.004b0250
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004b75af
add esp, 0xc
mov dword [ebp - 8], 1
lea edx, [ebp - 0x538]
push edx
call fcn.004b8d28
add esp, 4
jmp case.0x4cef48.10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
shl ecx, 6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
add eax, ecx
mov dword [ebp - 0x558], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x558]
push eax
call fcn.004b8c69
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4d47b8
push 0
mov ecx, dword [ebp - 0x558]
push ecx
call fcn.004b0250
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004b75af
add esp, 0xc
jmp case.0x4cef48.10
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b82b7
add esp, 4
test eax, eax
je 0x4d47d2
jmp 0x4d4930
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004e576f
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004b826e
add esp, 4
test eax, eax
je 0x4d4800
jmp 0x4d4930
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jne 0x4d481c
mov edx, dword [ebp - 0xc]
push edx
call fcn.004cb597
add esp, 4
jmp 0x4d4826
mov eax, dword [ebp + 8]
mov byte [eax + 0x238], 1
jmp case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x560], edx
xor eax, eax
cmp dword [ebp - 0x560], 0
setl al
mov byte [ebp - 0x55c], al
mov ecx, dword [ebp - 0x55c]
and ecx, 0xff
test ecx, ecx
je 0x4d486b
mov edx, dword [ebp - 0x560]
imul edx, edx, 0xffffffff
sub edx, 1
mov dword [ebp - 0x560], edx
mov al, byte [ebp - 0x55c]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x560]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [edx + eax + 4]
push eax
call fcn.004c79de
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne case.0x4cef48.10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x564], edx
push 0
mov eax, dword [ebp - 0x564]
push eax
push str.database_table_is_locked:
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004b75af
add esp, 0x10
jmp 0x4cee5e
cmp dword [ebp - 8], 0
je 0x4d48ea
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x80], eax
mov dword [ebp - 8], 1
jmp 0x4d48f1
mov dword [ebp - 8], 0x65
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c9d83
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 8]
jmp 0x4d49d4
push 0
push 0x531c2c
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004b75af
add esp, 0xc
mov dword [ebp - 8], 7
jmp 0x4d48cf
mov dword [ebp - 8], 0x15
mov edx, dword [ebp + 8]
cmp dword [edx + 0x230], 0
jne 0x4d4974
call fcn.004b88cf
test eax, eax
je 0x4d4953
mov dword [ebp - 8], 7
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004af0ca
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004b75af
add esp, 0xc
jmp 0x4d48cf
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
and al, 0xfb
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x30], 0xf03b7906
je 0x4d499c
mov dword [ebp - 8], 0x15
jmp 0x4d49a3
mov dword [ebp - 8], 9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x80], ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004af0ca
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004b75af
add esp, 0xc
jmp 0x4d48cf
pop edi
pop esi
mov esp, ebp
pop ebp
ret