Function at 0x4d63be
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 0x4d4b24
mov eax, 0x15
jmp 0x4da724
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 0x4d4b3e
jmp 0x4da65e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x22c], 0
je 0x4d4b7a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x22c]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004da9a2
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 0x4d4ba3
jmp 0x4da6c9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ebp - 0x14], eax
jmp 0x4d4bb7
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 8], 0
jne 0x4da61f
call fcn.004be60f
test eax, eax
je 0x4d4bcf
jmp 0x4da65e
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 0x4d4c66
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xa0]
cmp ecx, dword [ebp - 0x18]
jne 0x4d4c5d
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bdff7
add esp, 4
test eax, eax
je 0x4d4c0f
jmp 0x4da680
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 0x4d4c41
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bdfae
add esp, 4
mov dword [ebp - 8], 4
jmp 0x4d4bae
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bdfae
add esp, 4
test eax, eax
je 0x4d4c5d
jmp 0x4da680
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.0x4d4c98.10
mov eax, dword [ebp - 0x568]
jmp dword [eax*4 + 0x4da72a]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4d4cb1
jmp 0x4da6c9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.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.0x4d4c98.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.0x4d4c98.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 0x4d4d88
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.004bd2ef
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.004cfad3
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4d4db4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], 5
mov eax, 5
jmp 0x4da724
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
neg eax
sbb eax, eax
and al, 0x9c
add eax, 0x65
jmp 0x4da724
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.0x4d4c98.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.004875d0
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.004beaf1
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.0x4d4c98.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.004875d0
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.004beb83
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.004be660
add esp, 8
jmp case.0x4d4c98.10
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0x18
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.004875d0
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.0x4d4c98.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.004beeb3
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004be660
add esp, 8
test eax, eax
je 0x4d4f39
jmp 0x4da65e
mov eax, dword [ebp - 4]
push eax
call fcn.004be69f
add esp, 4
test eax, eax
je 0x4d4f4e
jmp 0x4da65e
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 0x4d4f8a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.004bd1c2
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.0x4d4c98.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.0x4d4c98.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.0x4d4c98.10
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x75
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004875d0
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 0x4d507a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004be4a2
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4d504d
jmp 0x4da65e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4d5065
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004bd1c2
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.0x4d4c98.116
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xffffffff
jne 0x4d5092
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.004bd1c2
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0x53f3c0
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.004beeb3
add esp, 0x14
jmp case.0x4d4c98.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.004bed64
add esp, 0xc
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004da9a2
add esp, 8
jmp case.0x4d4c98.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.004bed64
add esp, 0xc
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
je 0x4d5186
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x100
test ecx, ecx
je 0x4d5186
mov edx, dword [ebp - 4]
push edx
call fcn.004be74d
add esp, 4
test eax, eax
je 0x4d5186
jmp 0x4da65e
jmp case.0x4d4c98.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 0x4d51d3
mov edx, dword [ebp - 4]
push edx
call fcn.004be74d
add esp, 4
test eax, eax
je 0x4d51d3
jmp 0x4da65e
mov dword [ebp - 0x2c], 0
jmp 0x4d51ee
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 0x4d5255
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov dx, word [ecx + 0x58]
and edx, 0x100
test edx, edx
je 0x4d5224
mov eax, dword [ebp - 0x70]
add eax, 0x40
push eax
call fcn.004be74d
add esp, 4
test eax, eax
je 0x4d5224
jmp 0x4da65e
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 0x4d5253
mov eax, dword [ebp - 0x70]
add eax, 0x20
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x10], eax
jmp 0x4d51dc
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 0x4d5280
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], ecx
jmp case.0x4d4c98.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.004bee1f
add esp, 8
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4d4c98.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 0x4d52dd
mov edx, dword [ebp - 0x78]
add edx, 0x40
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x7c]
jae 0x4d530f
mov ecx, dword [ebp - 0x78]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x100
test edx, edx
je 0x4d530d
mov eax, dword [ebp - 0x78]
push eax
call fcn.004be74d
add esp, 4
test eax, eax
je 0x4d530d
jmp 0x4da65e
jmp 0x4d52d4
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 0x4d532c
mov ecx, dword [ebp - 0x78]
add ecx, 0x40
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
cmp edx, dword [ebp - 4]
ja 0x4d534e
mov eax, dword [ebp - 0x78]
push eax
call fcn.004be827
add esp, 4
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004d4920
add esp, 4
jmp 0x4d5323
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 0x4da724
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 0x4d53eb
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 0x4d5463
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d5415
mov dword [ebp - 0x94], 0xffffffff
jmp 0x4d5463
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4d5449
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004be8f5
add esp, 8
test eax, eax
je 0x4d5449
jmp 0x4da65e
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x94], eax
jmp 0x4d53cd
cmp dword [ebp - 0x94], 0
jge 0x4d549c
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4d5485
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004da9a2
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 0x4d55e3
push 1
mov eax, dword [ebp - 0x94]
add eax, 2
push eax
call fcn.004bd100
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4d54c4
jmp 0x4da65e
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 0x4d551a
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 0x4d556e
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.0048bc60
add esp, 0xc
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x88], ecx
jmp 0x4d54fc
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 0x4d55a6
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004da9a2
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.0x4d4c98.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 0x4d566d
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d563a
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
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 0x4d565f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4d59f9
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 0x4d585e
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.0x4d56ea
mov ecx, dword [ebp - 0x56c]
jmp dword [ecx*4 + 0x4da95e]
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 0x4d57fb
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 0x4d57fb
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.004a9ab0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4d57fb
mov ecx, dword [ebp - 0xa8]
or ecx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4d578a
jmp 0x4d59fe
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.00496430
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
jmp 0x4d57fb
mov eax, dword [ebp - 0xa8]
or eax, dword [ebp - 0xa4]
test eax, eax
jne 0x4d57ce
jmp 0x4d59fe
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.004964e0
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 0x4d5817
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
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 0x4d583c
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
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 0x4d59f9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004beb83
add esp, 4
fstp qword [ebp - 0xb8]
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004beb83
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.0x4d58b0
mov eax, dword [ebp - 0x570]
jmp dword [eax*4 + 0x4da96e]
fld qword [ebp - 0xc0]
fadd qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4d5981
fld qword [ebp - 0xc0]
fsub qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4d5981
fld qword [ebp - 0xc0]
fmul qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4d5981
fld qword [ebp - 0xb8]
fcomp qword [0x510200]
fnstsw ax
test ah, 0x40
je 0x4d5914
jmp 0x4d59fe
fld qword [ebp - 0xc0]
fdiv qword [ebp - 0xb8]
fstp qword [ebp - 0xc0]
jmp 0x4d5981
fld qword [ebp - 0xb8]
call fcn.004f6550
mov dword [ebp - 0xc4], eax
fld qword [ebp - 0xc0]
call fcn.004f6550
mov dword [ebp - 0xc8], eax
fild dword [ebp - 0xc4]
fcomp qword [0x510200]
fnstsw ax
test ah, 0x40
je 0x4d5962
jmp 0x4d59fe
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 0x4d599d
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
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 0x4d59c2
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
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 0x4d59f9
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bec22
add esp, 4
jmp case.0x4d4c98.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d5a1a
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
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 0x4d5a3f
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
add esp, 4
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4d4c98.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 0x4d5aa8
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 0x4d5adc
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.004d4920
add esp, 4
jmp 0x4d5a8a
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffffb
jne 0x4d5afd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
jmp 0x4d5b17
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 0x4d5b56
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bdff7
add esp, 4
test eax, eax
je 0x4d5b6b
jmp 0x4da680
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.004bdfae
add esp, 4
test eax, eax
je 0x4d5ba1
jmp 0x4da680
call fcn.004be60f
test eax, eax
je 0x4d5baf
jmp 0x4da65e
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.004da9a2
add esp, 8
cmp dword [ebp - 0x11c], 0
je 0x4d5bf7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call fcn.004d059a
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 0x4d5c31
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.004b5f90
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004bd2ef
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.004be660
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.004bee1f
add esp, 8
jmp case.0x4d4c98.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 0x4d5cc2
push 2
lea edx, [ebp - 4]
push edx
call fcn.004da9a2
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.0x4d4c98.10
mov edx, dword [ebp - 0x13c]
push edx
call fcn.004beaf1
add esp, 4
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 4]
push eax
call fcn.004beaf1
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.0x4d5d24
mov ecx, dword [ebp - 0x578]
jmp dword [ecx*4 + 0x4da97e]
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.0x4d5d24
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.0x4d5d24
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004aff60
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edx
jmp case.default.0x4d5d24
mov ecx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 0x134]
call fcn.004f66b0
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 0x4d5ddb
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
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 0x4d5e00
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
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.0x4d4c98.10
mov edx, dword [ebp - 4]
push edx
call fcn.004bec5d
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.0x4d4c98.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004d4a54
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0xc
test edx, edx
jne 0x4d5ea6
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 0x40
test ecx, ecx
je 0x4d5e8c
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
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.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4d5ee0
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 0x4d5f6f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bec8d
add esp, 4
mov edx, dword [ebp - 4]
fld qword [edx + 8]
call fcn.004f6550
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 0x4d5f35
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 0x4d5f6f
mov ecx, dword [ebp - 4]
fild qword [ebp - 0x14c]
fcomp qword [ecx + 8]
fnstsw ax
test ah, 0x40
je 0x4d5f6f
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 0x4d5f8b
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
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.0x4d4c98.10
mov dl, byte [ebp - 0x1c]
push edx
push 0x63
mov eax, dword [ebp - 4]
push eax
call fcn.004d4a54
add esp, 0xc
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 4
test edx, edx
jne 0x4d6009
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x4d5fe4
mov dword [ebp - 8], 0x14
jmp 0x4da687
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4d5ffb
push 1
lea edx, [ebp - 4]
push edx
call fcn.004da9a2
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d602e
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d6025
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 4
jmp case.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 4
test ecx, ecx
je 0x4d604f
mov edx, dword [ebp - 4]
push edx
call fcn.004bec8d
add esp, 4
jmp case.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d6069
jmp case.0x4d4c98.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.004d4a54
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.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d60c8
jmp case.0x4d4c98.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x10
test eax, eax
jne 0x4d60fb
mov cl, byte [ebp - 0x1c]
push ecx
push 0x61
mov edx, dword [ebp - 4]
push edx
call fcn.004d4a54
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.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d612f
mov edx, dword [ebp - 4]
push edx
call fcn.004becbb
add esp, 4
jmp case.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d6150
mov edx, dword [ebp - 4]
push edx
call fcn.004bec5d
add esp, 4
jmp case.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
jne 0x4d6171
mov edx, dword [ebp - 4]
push edx
call fcn.004bec8d
add esp, 4
jmp case.0x4d4c98.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 0x4d6254
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
and ecx, 0x200
test ecx, ecx
je 0x4d6208
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.004bed05
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.004bed05
add esp, 0xc
jmp 0x4d6254
push 2
lea edx, [ebp - 4]
push edx
call fcn.004da9a2
add esp, 8
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x4d623d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
and edx, 0x100
test edx, edx
je 0x4d623b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d624f
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.0x4d4c98.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 0x4d62a2
mov cl, byte [ebp - 0x1c]
push ecx
mov dl, byte [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x154]
push eax
call fcn.004d4a54
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.004d4a54
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.004bf04c
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.0x4d62ed
mov edx, dword [ebp - 0x57c]
jmp dword [edx*4 + 0x4da98e]
xor eax, eax
cmp dword [ebp - 0x158], 0
sete al
mov dword [ebp - 0x158], eax
jmp 0x4d636a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setne cl
mov dword [ebp - 0x158], ecx
jmp 0x4d636a
xor edx, edx
cmp dword [ebp - 0x158], 0
setl dl
mov dword [ebp - 0x158], edx
jmp 0x4d636a
xor eax, eax
cmp dword [ebp - 0x158], 0
setle al
mov dword [ebp - 0x158], eax
jmp 0x4d636a
xor ecx, ecx
cmp dword [ebp - 0x158], 0
setg cl
mov dword [ebp - 0x158], ecx
jmp 0x4d636a
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.004da9a2
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4d6398
cmp dword [ebp - 0x158], 0
je 0x4d6396
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4d63b9
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.0x4d4c98.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 0x4d63e6
mov dword [ebp - 0x160], 2
jmp 0x4d6432
mov edx, dword [ebp - 4]
push edx
call fcn.004bec5d
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 0x4d641c
mov dword [ebp - 0x584], 1
jmp 0x4d6426
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 0x4d6451
mov dword [ebp - 0x164], 2
jmp 0x4d64a3
mov ecx, dword [ebp - 0x168]
push ecx
call fcn.004bec5d
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 0x4d648d
mov dword [ebp - 0x58c], 1
jmp 0x4d6497
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 0x4d64cf
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x510828]
mov dword [ebp - 0x160], edx
jmp 0x4d64ed
mov eax, dword [ebp - 0x160]
imul eax, eax, 3
mov ecx, dword [ebp - 0x164]
xor edx, edx
mov dl, byte [eax + ecx + 0x510834]
mov dword [ebp - 0x160], edx
push 2
lea eax, [ebp - 4]
push eax
call fcn.004da9a2
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x160], 2
jne 0x4d6518
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4d6536
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.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 8
test ecx, ecx
je 0x4d65a2
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d6567
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x53
je 0x4d6586
mov ecx, dword [ebp - 4]
fld qword [ecx + 8]
fcomp qword [0x510200]
fnstsw ax
test ah, 1
je 0x4d6594
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 0x4d6641
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 4
test eax, eax
je 0x4d661e
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x40
test edx, edx
je 0x4d65ce
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
add esp, 4
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x53
je 0x4d65fc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
cmp dword [ecx + 4], 0
jg 0x4d6613
jl 0x4d65fc
mov edx, dword [ebp - 0x590]
cmp dword [edx], 0
jae 0x4d6613
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 0x4d6641
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d6630
jmp 0x4d6641
mov ecx, dword [ebp - 4]
push ecx
call fcn.004becbb
add esp, 4
jmp 0x4d654b
jmp case.0x4d4c98.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d665b
jmp case.0x4d4c98.10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bec5d
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 0x4d6691
mov dword [ebp - 0x598], 1
jmp 0x4d669b
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.0x4d4c98.10
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d66cd
jmp case.0x4d4c98.10
mov edx, dword [ebp - 4]
push edx
call fcn.004bec5d
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.0x4d4c98.10
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 1
test eax, eax
je 0x4d6719
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x16c], edx
jmp 0x4d6772
mov eax, dword [ebp - 4]
push eax
call fcn.004beb83
add esp, 4
fcomp qword [0x510200]
fnstsw ax
test ah, 0x40
jne 0x4d673e
mov dword [ebp - 0x59c], 1
jmp 0x4d6748
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 0x4d6772
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 0x4d678e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
cmp dword [ebp - 0x16c], 0
je 0x4d67ac
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
jge 0x4d67d4
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 0x4d6817
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 0x4d6848
mov ecx, dword [ebp - 0x178]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 1
test edx, edx
je 0x4d6846
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d6848
jmp 0x4d67f9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jle 0x4d6864
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004da9a2
add esp, 8
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jge 0x4d688c
mov ecx, dword [ebp - 0x17c]
neg ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x180], 0
jmp 0x4d68a7
mov edx, dword [ebp - 0x180]
add edx, 1
mov dword [ebp - 0x180], edx
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0x17c]
jge 0x4d68da
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 0x4d68da
jmp 0x4d6898
mov ecx, dword [ebp - 0x180]
cmp ecx, dword [ebp - 0x17c]
jl 0x4d68f4
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 0x4d6910
mov edx, dword [ebp - 0x17c]
push edx
lea eax, [ebp - 4]
push eax
call fcn.004da9a2
add esp, 8
jmp case.0x4d4c98.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.0x4d4c98.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 0x4d6a7a
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.004d0746
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d69bc
jmp 0x4da687
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 0x4d69ef
mov dword [ebp - 0x188], 0
jmp 0x4d6a69
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x60]
cmp eax, dword [edx + 0x60]
jne 0x4d6a20
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 0x4d6a69
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4d6a53
lea ecx, [ebp - 0x1fc]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004c67e0
add esp, 8
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x188], eax
jmp 0x4d6a69
lea ecx, [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call fcn.004c6aa9
add esp, 8
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x18c], ecx
jmp 0x4d6af7
mov edx, dword [ebp - 0x1ec]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d6acf
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 0x4d6af7
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 0x4d6b05
jmp case.0x4d4c98.10
cmp dword [ebp - 0x1ec], 0
je 0x4d6b42
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x60]
cmp ecx, dword [eax + 0x60]
jne 0x4d6b42
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 0x4d6e92
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0
jne 0x4d6b85
push 1
mov edx, dword [ebp - 0x18c]
shl edx, 1
shl edx, 2
push edx
call fcn.004bd100
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 0x4d6b93
jmp 0x4da65e
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 0x4d6bef
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e0], eax
jmp 0x4d6c70
mov ecx, dword [ebp - 0x1ec]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4d6c1c
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.004c6df5
add esp, 8
mov dword [ebp - 0x1e0], eax
jmp 0x4d6c38
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x198]
push eax
call fcn.004c6eb9
add esp, 8
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x210]
cmp ecx, dword [ebp - 0x188]
jb 0x4d6c63
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 0x4d6c70
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 0x4d6c95
mov dword [ebp - 0x5a0], 1
jmp 0x4d6cb1
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x1e0]
push eax
call fcn.004be398
add esp, 8
mov dword [ebp - 0x5a0], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [ebp - 0x200], ecx
cmp dword [ebp - 0x1f4], 0
jne 0x4d6d19
mov edx, dword [ebp - 0x210]
cmp edx, dword [ebp - 0x204]
jae 0x4d6d19
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.004bf34a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d6d0d
jmp 0x4d6fdd
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 0x4d6d58
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [ebp - 0x18c]
jae 0x4d6e3f
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x20c]
jae 0x4d6e27
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 0x4d6dc8
mov dword [ebp - 0x5a4], 1
jmp 0x4d6ded
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.004be398
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.004d09af
add esp, 4
mov ecx, dword [ebp - 0x204]
add ecx, eax
mov dword [ebp - 0x204], ecx
jmp 0x4d6e3a
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x190]
mov dword [eax + edx*4], 0
jmp 0x4d6d49
mov ecx, dword [ebp - 0x1c4]
and ecx, 0xffff
and ecx, 0x40
test ecx, ecx
je 0x4d6e61
lea edx, [ebp - 0x1dc]
push edx
call fcn.004bea68
add esp, 4
mov word [ebp - 0x1c4], 1
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x20c]
ja 0x4d6e86
mov ecx, dword [ebp - 0x204]
cmp ecx, dword [ebp - 0x188]
jbe 0x4d6e92
mov dword [ebp - 8], 0xb
jmp 0x4d6fdd
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x190]
cmp dword [eax + edx*4], 0
je 0x4d6f6d
cmp dword [ebp - 0x1f4], 0
je 0x4d6ece
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 0x4d6f3f
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + ecx*4]
push eax
call fcn.004d09af
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.004bf34a
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d6f33
jmp 0x4d6fdd
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.004d0aae
add esp, 0xc
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x1c]
mov byte [eax + 0x1b], cl
jmp 0x4d6f99
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0xfffffff8
jne 0x4d6f90
push 0x80
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004bed64
add esp, 0xc
jmp 0x4d6f99
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 0x4d6fce
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.004be74d
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4d4c98.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 0x4d70c3
mov edx, dword [ebp - 0x238]
add edx, 0x40
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 4]
ja 0x4d7182
cmp dword [ebp - 0x214], 0
je 0x4d7107
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.004d4a54
add esp, 0xc
mov eax, dword [ebp - 0x238]
xor ecx, ecx
mov cx, word [eax + 0x18]
and ecx, 1
test ecx, ecx
je 0x4d7124
mov dword [ebp - 0x234], 1
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004d082d
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004d09af
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.004be461
add esp, 8
mov edx, dword [ebp - 0x240]
add edx, eax
mov dword [ebp - 0x240], edx
jmp 0x4d70b4
cmp dword [ebp - 0x23c], 0
je 0x4d7204
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.004bec5d
add esp, 4
push 0
mov eax, dword [ebp - 0x26c]
push eax
call fcn.004d082d
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.004d09af
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.004be461
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.004be461
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.004be461
add esp, 8
cmp dword [ebp - 0x218], eax
jge 0x4d7255
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 0x4d7297
push 1
mov eax, dword [ebp - 0x270]
push eax
call fcn.004bd100
add esp, 8
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x4d7295
jmp 0x4da65e
jmp 0x4d72a3
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.004be082
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 0x4d72f2
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4d7342
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004d082d
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.004be082
add esp, 0xc
mov ecx, dword [ebp - 0x274]
add ecx, eax
mov dword [ebp - 0x274], ecx
jmp 0x4d72e3
cmp dword [ebp - 0x23c], 0
je 0x4d737d
push 0
mov edx, dword [ebp - 0x26c]
push edx
call fcn.004d082d
add esp, 8
xor ecx, ecx
push ecx
push eax
mov edx, dword [ebp - 0x274]
push edx
call fcn.004be082
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 0x4d739a
mov eax, dword [ebp - 0x238]
add eax, 0x40
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
cmp ecx, dword [ebp - 4]
ja 0x4d73d2
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004d09d1
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
jmp 0x4d738b
cmp dword [ebp - 0x23c], 0
je 0x4d7401
push 0
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004d09d1
add esp, 0xc
mov edx, dword [ebp - 0x274]
add edx, eax
mov dword [ebp - 0x274], edx
cmp dword [ebp - 0x228], 0
jne 0x4d7423
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004da9a2
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 0x4d7475
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.0048bc60
add esp, 0xc
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0x210
jmp 0x4d7494
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 0x4d74b9
cmp dword [ebp - 0x234], 0
je 0x4d74b9
mov ecx, dword [ebp - 0x21c]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0
jl 0x4d7533
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x27c]
cmp edx, dword [ecx]
jge 0x4d7533
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 0x4d7533
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx + 0x10]
test edx, edx
jne 0x4d7533
mov eax, dword [ebp - 0x278]
push eax
call fcn.004cd2d2
add esp, 4
test eax, eax
jne 0x4d7533
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.004c6320
add esp, 4
mov dword [ebp - 8], eax
jmp case.0x4d4c98.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 0x4d75cb
mov ecx, dword [ebp - 0x280]
and ecx, 0xff
test ecx, ecx
je 0x4d75cb
mov edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx + 0x10]
test eax, eax
jne 0x4d75cb
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4d7591
mov dword [ebp - 0x5a8], str.rollback
jmp 0x4d759b
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.004bd2ef
add esp, 0x14
mov dword [ebp - 8], 1
jmp 0x4d76dd
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 0x4d766e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
je 0x4d7605
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b4d34
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
jmp 0x4d7664
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x280]
mov byte [ecx + 0x10], dl
mov eax, dword [ebp + 8]
push eax
call fcn.004cfad3
add esp, 4
cmp eax, 5
jne 0x4d7664
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 0x4da724
mov eax, 0x65
jmp 0x4da724
mov eax, dword [ebp - 0x280]
and eax, 0xff
test eax, eax
jne 0x4d7689
mov dword [ebp - 0x5ac], str.cannot_start_a_transaction_within_a_transaction
jmp 0x4d76bb
mov ecx, dword [ebp - 0x284]
and ecx, 0xff
test ecx, ecx
je 0x4d76a5
mov dword [ebp - 0x5b0], str.cannot_rollback___no_transaction_is_active
jmp 0x4d76af
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.004bd2ef
add esp, 0xc
mov dword [ebp - 8], 1
jmp case.0x4d4c98.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 0x4d7769
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.004c5940
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 5
jne 0x4d7758
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 0x4da724
cmp dword [ebp - 8], 0
je 0x4d7769
cmp dword [ebp - 8], 8
je 0x4d7769
jmp 0x4da687
jmp case.0x4d4c98.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.004cbf97
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.0x4d4c98.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.004bec5d
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.004cc1d9
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jne 0x4d7836
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 0x4d7850
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 1
jne 0x4d7850
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 0x4d786e
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d12e7
add esp, 4
jmp case.0x4d4c98.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 0x4d78b2
lea edx, [ebp - 0x298]
push edx
push 1
mov eax, dword [ebp - 0x29c]
push eax
call fcn.004cbf97
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x4d78c3
mov dword [ebp - 8], 0
mov dword [ebp - 0x298], 0
cmp dword [ebp - 8], 0
jne 0x4d78f6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x298]
cmp edx, dword [ecx + 8]
je 0x4d78f6
push 0
push str.database_schema_has_changed
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004bd2ef
add esp, 0xc
mov dword [ebp - 8], 0x11
jmp case.0x4d4c98.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.004bec5d
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 0x4d79a3
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 0x4d79a1
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 0x4d79ad
mov dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2a8], 0
jg 0x4d79d6
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bec5d
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.004da9f0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x4d7a04
jmp 0x4da65e
mov edx, dword [ebp - 0x2a0]
mov byte [edx + 0x1c], 1
cmp dword [ebp - 0x2b8], 0
jne 0x4d7a1c
jmp case.0x4d4c98.10
mov eax, dword [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
push fcn.004d0da6
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2b8]
push edx
call fcn.004c6434
add esp, 0x18
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
jne 0x4d7a97
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 0x4d7ab6
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 0x4d7b20
cmp dword [ebp - 0x5b4], 5
je 0x4d7ae3
cmp dword [ebp - 0x5b4], 0x10
je 0x4d7bdc
jmp 0x4d7c13
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 0x4da724
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx]
push edx
call fcn.004cc24e
add esp, 4
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
and eax, 0xf0
test eax, eax
jne 0x4d7b62
mov ecx, dword [ebp - 0x2bc]
and ecx, 7
cmp ecx, 5
je 0x4d7b6e
mov edx, dword [ebp - 0x2bc]
and edx, 7
cmp edx, 2
je 0x4d7b6e
mov dword [ebp - 8], 0xb
jmp 0x4da687
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 0x4d7bb6
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4d7bce
mov ecx, dword [ebp - 0x2a0]
xor edx, edx
mov dl, byte [ecx + 0x21]
test edx, edx
je 0x4d7bda
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x10], 0xfffffffa
je 0x4d7bda
mov dword [ebp - 8], 0xb
jmp 0x4da687
jmp 0x4d7c18
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 0x4d7c18
jmp 0x4da687
jmp case.0x4d4c98.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.004da9f0
add esp, 0xc
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
jne 0x4d7c52
jmp 0x4da65e
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.004b5553
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d7c9b
push 1
mov edx, dword [ebp - 0x2c0]
mov eax, dword [edx + 0x30]
push eax
call fcn.004c5940
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d7d90
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
je 0x4d7d50
push 2
lea edx, [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004cb3ac
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d7d44
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
push fcn.004d0da6
push 1
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.004c6434
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 0x4d7d90
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.004c6434
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.0x4d4c98.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.004da9f0
add esp, 0xc
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
jne 0x4d7df2
jmp 0x4da65e
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.0x4d4c98.10
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jl 0x4d7e7f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2d4]
cmp edx, dword [ecx + 0x38]
jge 0x4d7e7f
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.004cf878
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.0x4d4c98.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 0x4d8122
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 0x4d7ee9
cmp dword [ebp - 0x2e0], 0x3f
je 0x4d7ee9
mov dword [ebp - 0x5b8], 0
jmp 0x4d7ef3
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 0x4d7fdd
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bec5d
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 0x4d7f7c
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x78
jne 0x4d7f7c
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.0x4d4c98.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.004c723c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d7fb2
jmp 0x4da687
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 0x4d801d
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.004c723c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8013
jmp 0x4da687
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 [0x53f3b4]
add eax, 1
mov dword [0x53f3b4], eax
cmp dword [ebp - 0x2e0], 0x78
je 0x4d805f
cmp dword [ebp - 0x2e0], 6
jne 0x4d80a6
cmp dword [ebp - 0x2e4], 0
jge 0x4d809a
lea ecx, [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2dc]
mov eax, dword [edx]
push eax
call fcn.004c75db
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d808e
jmp 0x4da687
mov ecx, dword [ebp - 0x2dc]
mov byte [ecx + 0x19], 0
jmp 0x4d80a4
mov dword [ebp - 0x2e4], 0
jmp 0x4d80f8
cmp dword [ebp - 0x2e4], 0
jl 0x4d80e1
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004c7863
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d80d5
jmp 0x4da687
mov edx, dword [ebp - 0x2dc]
mov byte [edx + 0x19], 0
jmp 0x4d80f8
mov eax, dword [ebp - 0x2dc]
mov ecx, dword [eax]
push ecx
call fcn.004c75c3
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x4d8122
mov edx, dword [ebp - 0x10]
cmp dword [edx + 8], 0
jle 0x4d8118
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d8122
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 0x4d813e
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4d4c98.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 0x4d822e
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4d81b5
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004be8f5
add esp, 8
test eax, eax
je 0x4d81b5
jmp 0x4da65e
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.004c723c
add esp, 0x14
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x4d8201
cmp dword [ebp - 0x2fc], 0
jne 0x4d8201
mov dword [ebp - 0x5bc], 1
jmp 0x4d820b
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 0x4d8251
cmp dword [ebp - 0x2f0], 0
je 0x4d824f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4d8266
cmp dword [ebp - 0x2f0], 0
jne 0x4d8266
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 0x4d8297
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d828e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4d4c98.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.004bec5d
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 0x4d84c7
mov edx, dword [ebp - 0x308]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x12
test eax, eax
jne 0x4d8342
mov ecx, dword [ebp - 0x1c]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x308]
push edx
call fcn.004be8f5
add esp, 8
test eax, eax
je 0x4d8342
jmp 0x4da65e
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.004d10f4
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.004c723c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d83c8
jmp 0x4da687
cmp dword [ebp - 0x32c], 0
jge 0x4d8404
lea ecx, [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x314]
push edx
call fcn.004c75db
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0x32c], 0
je 0x4d8404
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.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.004d1212
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8436
jmp 0x4da687
cmp dword [ebp - 0x32c], 0
jle 0x4d8450
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.10
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004d1131
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8474
jmp 0x4da687
mov ecx, dword [ebp - 0x328]
cmp ecx, dword [ebp - 0x310]
jne 0x4d84a1
mov edx, dword [ebp - 0x324]
cmp edx, dword [ebp - 0x30c]
jne 0x4d84a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp case.0x4d4c98.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.0x4d4c98.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 0x4d85a4
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.004c723c
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 0x4d85a4
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 0x4d85c0
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4d4c98.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.0x4d4c98.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 0x4d8683
jmp 0x4d8a7d
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x360]
mov ecx, dword [eax]
push ecx
call fcn.004cc24e
add esp, 4
and eax, 3
cmp eax, 1
je 0x4d86bc
mov dword [ebp - 8], 0xb
jmp 0x4da687
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
jne 0x4d88dd
mov ecx, dword [ebp - 0x360]
xor edx, edx
mov dl, byte [ecx + 0x1d]
test edx, edx
je 0x4d86fb
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 0x4d87af
lea eax, [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004c715d
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8721
jmp 0x4da687
cmp dword [ebp - 0x368], 0
je 0x4d8740
mov dword [ebp - 0x358], 1
mov dword [ebp - 0x354], 0
jmp 0x4d87af
lea eax, [ebp - 0x358]
push eax
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx]
push edx
call fcn.004c67e0
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 0x4d8791
cmp dword [ebp - 0x354], 0x7fffffff
jne 0x4d8791
mov edx, dword [ebp - 0x360]
mov byte [edx + 0x1b], 1
jmp 0x4d87af
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 0x4d8892
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.004bec5d
add esp, 4
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x5c0], edx
mov eax, dword [ebp - 0x5c0]
cmp dword [eax], 0xffffffff
jne 0x4d8808
mov ecx, dword [ebp - 0x5c0]
cmp dword [ecx + 4], 0x7fffffff
je 0x4d8817
mov edx, dword [ebp - 0x360]
xor eax, eax
mov al, byte [edx + 0x1b]
test eax, eax
je 0x4d8823
mov dword [ebp - 8], 0xd
jmp 0x4da687
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 0x4d887b
jl 0x4d885e
mov edx, dword [ebp - 0x358]
cmp edx, dword [ebp - 0x5c8]
jae 0x4d887b
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 0x4d88d3
jb 0x4d88a9
cmp dword [ebp - 0x358], 0xffffffff
jae 0x4d88d3
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 0x4d88dd
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 0x4d8a5c
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 0x4d8928
cmp dword [ebp - 0x364], 2
jle 0x4d8964
lea edx, [ebp - 0x358]
push edx
push 8
call fcn.004dabb0
add esp, 8
cmp dword [ebp - 0x364], 5
jge 0x4d8962
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 0x4d89a0
lea edx, [ebp - 0x37c]
push edx
push 1
call fcn.004dabb0
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 0x4d89b2
jmp 0x4d8a07
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.004c723c
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 0x4d8a29
cmp dword [ebp - 0x36c], 0
jne 0x4d8a29
cmp dword [ebp - 0x368], 0
je 0x4d890f
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 0x4d8a5c
cmp dword [ebp - 0x368], 0
jne 0x4d8a5c
mov dword [ebp - 8], 0xd
jmp 0x4da687
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.0x4d4c98.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 0x4d8af3
mov edx, dword [ebp - 0x388]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d8db5
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 0x4d8b2c
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 0x4d8b4d
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 0x4d8ba9
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 0x4d8ba9
jg 0x4d8b9f
mov edx, dword [ebp - 0x5cc]
mov eax, dword [ebp - 0x5d0]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jb 0x4d8ba9
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 0x4d8bcd
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 0x4d8cd3
mov eax, dword [ebp - 0x388]
mov ecx, dword [eax + 0x38]
push ecx
call fcn.004bd1c2
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 0x4d8c46
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 0x4d8cc7
push 1
mov edx, dword [ebp - 0x388]
mov eax, dword [edx + 0x34]
add eax, 2
push eax
call fcn.004bd100
add esp, 8
mov ecx, dword [ebp - 0x388]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x388]
cmp dword [edx + 0x38], 0
jne 0x4d8c77
jmp 0x4da65e
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.0048bc60
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 0x4d8d05
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.004c7aab
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 0x4d8db5
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4d8db5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4d8db5
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.004da9a2
add esp, 8
jmp case.0x4d4c98.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 0x4d8f26
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x74], 0
je 0x4d8e71
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4d8e71
mov ecx, dword [ebp - 0x3a4]
xor edx, edx
mov dl, byte [ecx + 0x19]
test edx, edx
je 0x4d8e33
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 0x4d8e71
lea eax, [ebp - 0x3ac]
push eax
mov ecx, dword [ebp - 0x3a4]
mov edx, dword [ecx]
push edx
call fcn.004c67e0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8e59
jmp 0x4da687
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.004d0746
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8e8e
jmp 0x4da687
mov eax, dword [ebp - 0x3a4]
mov ecx, dword [eax]
push ecx
call fcn.004cb00b
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 0x4d8f26
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x74], 0
je 0x4d8f26
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x4d8f26
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 0x4d8f48
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.0x4d4c98.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x4d8f6c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x23c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004d12bb
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x23c], 0
jmp case.0x4d4c98.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 0x4d8fc5
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp 0x4d9167
mov ecx, dword [ebp - 0x3bc]
cmp dword [ecx], 0
je 0x4d9126
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx]
mov dword [ebp - 0x3c4], eax
mov ecx, dword [ebp - 0x3bc]
push ecx
call fcn.004d0746
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d8fff
jmp 0x4da687
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1c]
test eax, eax
je 0x4d901c
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x21]
test eax, eax
je 0x4d904f
lea ecx, [ebp - 0x3cc]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004c67e0
add esp, 8
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3c0], eax
jmp 0x4d9065
lea ecx, [ebp - 0x3c0]
push ecx
mov edx, dword [ebp - 0x3c4]
push edx
call fcn.004c6aa9
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x3c0]
mov dword [eax + 0x14], ecx
cmp dword [ebp - 0x3c0], 0x20
ja 0x4d9091
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 0x4d90d5
push 1
mov edx, dword [ebp - 0x3c0]
push edx
call fcn.004bd100
add esp, 8
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x4d90b6
jmp 0x4da65e
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 0x4d9105
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.004c6b17
add esp, 0x10
jmp 0x4d9124
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.004c6d98
add esp, 0x10
jmp 0x4d9167
mov edx, dword [ebp - 0x3bc]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d915e
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 0x4d9167
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x1b], 1
jmp case.0x4d4c98.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.004d0746
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d91b1
jmp 0x4da687
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 0x4d91e6
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 0x4d9267
mov edx, dword [ebp - 0x3e0]
xor eax, eax
mov al, byte [edx + 0x1e]
test eax, eax
je 0x4d920f
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 0x4d9267
mov ecx, dword [ebp - 0x3e0]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
jne 0x4d9229
mov eax, dword [ebp - 0x3e0]
cmp dword [eax], 0
jne 0x4d9237
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 1
jmp case.0x4d4c98.10
lea edx, [ebp - 0x3d8]
push edx
mov eax, dword [ebp - 0x3e0]
mov ecx, dword [eax]
push ecx
call fcn.004c67e0
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.0x4d4c98.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.0x4d4c98.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 0x4d935a
lea eax, [ebp - 0x3f8]
push eax
mov ecx, dword [ebp - 0x3ec]
push ecx
call fcn.004c715d
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 0x4d9358
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jle 0x4d9358
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4d9364
mov eax, dword [ebp - 0x3f4]
mov byte [eax + 0x1c], 0
jmp case.0x4d4c98.10
mov ecx, dword [0x53f3bc]
add ecx, 1
mov dword [0x53f3bc], ecx
mov edx, dword [0x53f3b4]
sub edx, 1
mov dword [0x53f3b4], 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 0x4d9406
lea edx, [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x400]
push eax
call fcn.004c6ee1
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 0x4d9410
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 0x4d943d
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jle 0x4d943d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4d4c98.10
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
and edx, 4
test edx, edx
je 0x4d9454
jmp 0x4da6c9
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 0x4d952e
mov ecx, dword [ebp - 0x410]
xor edx, edx
mov dl, byte [ecx + 0x1c]
test edx, edx
je 0x4d949f
mov dword [ebp - 0x414], 1
jmp 0x4d950a
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0x68
jne 0x4d94c9
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x40c]
push eax
call fcn.004c75db
add esp, 8
mov dword [ebp - 0x5d4], eax
jmp 0x4d94e5
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x40c]
push edx
call fcn.004c7863
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 0x4d952c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [0x53f3b4]
add eax, 1
mov dword [0x53f3b4], eax
jmp 0x4d9538
mov ecx, dword [ebp - 0x410]
mov byte [ecx + 0x1c], 1
mov edx, dword [ebp - 0x410]
mov byte [edx + 0x19], 0
jmp case.0x4d4c98.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 0x4d95cd
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 0x53f3c4
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.004c7aab
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 0x4d95e9
mov edx, dword [ebp - 4]
push edx
call fcn.004bea68
add esp, 4
mov eax, dword [ebp - 4]
sub eax, 0x40
mov dword [ebp - 4], eax
jmp case.0x4d4c98.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 0x4d9686
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.004c723c
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d9679
cmp dword [ebp - 0x438], 0
jne 0x4d9679
mov edx, dword [ebp - 0x42c]
push edx
call fcn.004cb00b
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 0x4d96a2
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4d4c98.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 0x4d9755
mov eax, dword [ebp - 0x444]
xor ecx, ecx
mov cl, byte [eax + 0x1c]
test ecx, ecx
je 0x4d9714
mov edx, dword [ebp - 4]
mov word [edx + 0x18], 1
jmp 0x4d9755
lea eax, [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
call fcn.004d1131
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9738
jmp 0x4da687
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.0x4d4c98.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 0x4d9859
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0x18]
and edx, 0x12
test edx, edx
jne 0x4d97b8
mov eax, dword [ebp - 0x1c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004be8f5
add esp, 8
test eax, eax
je 0x4d97b8
jmp 0x4da65e
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.004d1212
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 0x4d980d
jmp case.0x4d4c98.10
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x24
jne 0x4d9829
mov ecx, dword [ebp - 0x458]
neg ecx
mov dword [ebp - 0x458], ecx
jmp 0x4d9844
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3a
jne 0x4d9844
mov ecx, dword [ebp - 0x458]
add ecx, 1
mov dword [ebp - 0x458], ecx
cmp dword [ebp - 0x458], 0
jle 0x4d9859
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 0x4d9875
mov eax, dword [ebp - 4]
push eax
call fcn.004bea68
add esp, 4
mov ecx, dword [ebp - 4]
sub ecx, 0x40
mov dword [ebp - 4], ecx
jmp case.0x4d4c98.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.004be398
add esp, 8
mov dword [ebp - 0x464], eax
jmp 0x4d98d4
mov ecx, dword [ebp - 0x45c]
sub ecx, 1
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x464]
cmp edx, dword [ebp - 0x46c]
jge 0x4d992e
cmp dword [ebp - 0x45c], 0
jle 0x4d992e
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x460]
add ecx, dword [ebp - 0x464]
push ecx
call fcn.004be398
add esp, 8
mov edx, dword [ebp - 0x464]
add edx, eax
mov dword [ebp - 0x464], edx
cmp dword [ebp - 0x468], 0
jne 0x4d992c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4d992e
jmp 0x4d98c5
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0x18]
and eax, 0x40
test eax, eax
je 0x4d994a
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bea68
add esp, 4
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4d4c98.10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 1
jle 0x4d996d
mov dword [ebp - 8], 6
jmp 0x4d99f2
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.004cbd12
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 0x4d99f2
cmp dword [ebp - 0x470], 0
je 0x4d99f2
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.004c276d
add esp, 0xc
jmp case.0x4d4c98.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.004cbab9
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4d4c98.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 0x4d9a51
mov dword [ebp - 0x474], 5
jmp 0x4d9a5b
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.004cb3ac
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 0x4d9aa7
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 0x4d9ab0
mov eax, dword [ebp - 4]
mov word [eax + 0x18], 1
jmp case.0x4d4c98.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 0x4d9ae7
jmp case.0x4d4c98.10
mov edx, 1
test edx, edx
je 0x4d9b05
cmp dword [ebp - 0x484], 1
jne 0x4d9b05
mov dword [ebp - 0x5d8], 0x538bb0
jmp 0x4d9b0f
mov dword [ebp - 0x5d8], 0x538bc4
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.004b4a10
add esp, 0x14
mov dword [ebp - 0x488], eax
cmp dword [ebp - 0x488], 0
jne 0x4d9b7c
jmp 0x4da65e
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bdff7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x44], 1
push 0
lea edx, [ebp - 0x490]
push edx
push fcn.004bc360
mov eax, dword [ebp - 0x488]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bc000
add esp, 0x14
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x488]
push edx
call fcn.004bd1c2
add esp, 4
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44], 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004bdfae
add esp, 4
cmp dword [ebp - 8], 7
jne 0x4d9be5
call fcn.004be641
jmp 0x4da65e
jmp case.0x4d4c98.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.004db65d
add esp, 8
jmp case.0x4d4c98.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.004c0b3c
add esp, 0xc
jmp case.0x4d4c98.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.004c066b
add esp, 0xc
jmp case.0x4d4c98.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.004e78a0
add esp, 0xc
jmp case.0x4d4c98.10
mov dword [ebp - 0x498], 0
jmp 0x4d9c86
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 0x4d9cbe
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 0x4d9cbc
jmp 0x4d9cbe
jmp 0x4d9c77
push 1
mov ecx, dword [ebp - 0x498]
lea edx, [ecx*4 + 4]
push edx
call fcn.004bd100
add esp, 8
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0
jne 0x4d9cea
jmp 0x4da65e
mov dword [ebp - 0x4a4], 0
jmp 0x4d9d05
mov eax, dword [ebp - 0x4a4]
add eax, 1
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x498]
jge 0x4d9d42
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 0x4d9cf6
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.004da9a2
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.004cc296
add esp, 0xc
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
je 0x4d9db7
mov edx, dword [ebp - 0x4a0]
movsx eax, byte [edx]
test eax, eax
jne 0x4d9dee
cmp dword [ebp - 0x4a0], 0
je 0x4d9dcf
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.004bd1c2
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x538c0c
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 2
mov ecx, dword [ebp - 4]
mov word [ecx + 0x18], 0xa2
jmp 0x4d9e22
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x4a0]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.004875d0
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.004be660
add esp, 8
mov edx, dword [ebp - 0x49c]
push edx
call fcn.004bd1c2
add esp, 4
jmp case.0x4d4c98.10
mov eax, dword [ebp - 4]
push eax
call fcn.004bec5d
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.004e8a05
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, 0x40
mov dword [ebp - 4], edx
jmp case.0x4d4c98.10
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
and ecx, 4
test ecx, ecx
je 0x4d9e97
jmp 0x4da6c9
lea edx, [ebp - 0x4b0]
push edx
mov eax, dword [ebp + 8]
add eax, 0x64
push eax
call fcn.004e8b2a
add esp, 8
cmp eax, 0x65
jne 0x4d9ec0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4d9ee6
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.0x4d4c98.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 0x4d9f4d
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.004bd222
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x78], 0
jne 0x4d9f4d
jmp 0x4da65e
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.004e89f0
add esp, 4
jmp case.0x4d4c98.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.004e8bbb
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.0x4d4c98.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.004bee1f
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.0x4d4c98.0
jmp case.0x4d4c98.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.004bed64
add esp, 0xc
jmp case.0x4d4c98.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.004bec5d
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.004bec5d
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 0x4da13f
jl 0x4da12c
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0x5e0]
mov edx, dword [eax]
cmp edx, dword [ecx]
jae 0x4da13f
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.0x4d4c98.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.0x4d4c98.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 0x4da1e1
jg 0x4da1d5
mov eax, dword [ebp - 0x5e4]
cmp dword [eax], 0
jbe 0x4da1e1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4d4c98.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 0x4da23a
jl 0x4da22e
mov ecx, dword [ebp - 0x5e8]
cmp dword [ecx], 0
jae 0x4da23a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
sub eax, 1
mov dword [ebp - 0x14], eax
jmp case.0x4d4c98.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 0x4da28f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov dword [ebp - 0x14], edx
jmp case.0x4d4c98.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.004becda
add esp, 4
jmp case.0x4d4c98.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.004bed05
add esp, 0xc
jmp case.0x4d4c98.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.004bee1f
add esp, 8
mov dword [ebp - 8], eax
jmp case.0x4d4c98.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 0x4da36a
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 0x4da39e
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.004d4920
add esp, 4
jmp 0x4da34c
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 0x4da42b
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.004da9a2
add esp, 8
mov edx, dword [ebp - 0x4f4]
and edx, 0xff
test edx, edx
je 0x4da49a
push 0
lea eax, [ebp - 0x538]
push eax
call fcn.004b5f90
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004bd2ef
add esp, 0xc
mov dword [ebp - 8], 1
lea edx, [ebp - 0x538]
push edx
call fcn.004bea68
add esp, 4
jmp case.0x4d4c98.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.004be9a9
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4da508
push 0
mov ecx, dword [ebp - 0x558]
push ecx
call fcn.004b5f90
add esp, 4
push eax
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004bd2ef
add esp, 0xc
jmp case.0x4d4c98.10
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bdff7
add esp, 4
test eax, eax
je 0x4da522
jmp 0x4da680
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x230
push edx
call fcn.004eb4bf
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004bdfae
add esp, 4
test eax, eax
je 0x4da550
jmp 0x4da680
jmp case.0x4d4c98.10
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
jne 0x4da56c
mov edx, dword [ebp - 0xc]
push edx
call fcn.004d12e7
add esp, 4
jmp 0x4da576
mov eax, dword [ebp + 8]
mov byte [eax + 0x238], 1
jmp case.0x4d4c98.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 0x4da5bb
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.004cd71e
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
jne case.0x4d4c98.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.004bd2ef
add esp, 0x10
jmp 0x4d4bae
cmp dword [ebp - 8], 0
je 0x4da63a
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
mov dword [edx + 0x80], eax
mov dword [ebp - 8], 1
jmp 0x4da641
mov dword [ebp - 8], 0x65
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cfad3
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 8]
jmp 0x4da724
push 0
push 0x538c2c
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004bd2ef
add esp, 0xc
mov dword [ebp - 8], 7
jmp 0x4da61f
mov dword [ebp - 8], 0x15
mov edx, dword [ebp + 8]
cmp dword [edx + 0x230], 0
jne 0x4da6c4
call fcn.004be60f
test eax, eax
je 0x4da6a3
mov dword [ebp - 8], 7
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004b4e0a
add esp, 4
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x230
push ecx
call fcn.004bd2ef
add esp, 0xc
jmp 0x4da61f
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 0x4da6ec
mov dword [ebp - 8], 0x15
jmp 0x4da6f3
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.004b4e0a
add esp, 4
push eax
mov eax, dword [ebp + 8]
add eax, 0x230
push eax
call fcn.004bd2ef
add esp, 0xc
jmp 0x4da61f
pop edi
pop esi
mov esp, ebp
pop ebp
ret