Function at 0x4d5ca0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x274
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x68]
xor ebx, ebx
mov edi, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xc], ecx
xor cl, cl
mov byte [esp + 0x67], cl
mov cl, byte [edi + 0x4e]
mov byte [esp + 0x48], cl
mov ecx, dword [eax + 0x58]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
call fcn.004d5c00
mov ecx, dword [ebp + 8]
add esp, 4
cmp dword [edi + 0x158], ebx
je 0x4d5d21
mov esi, dword [edi + 0x160]
xor edx, edx
mov eax, dword [ecx + 0xb4]
div esi
sub esi, edx
xor eax, eax
jmp 0x4d5d27
or esi, 0xffffffff
or eax, 0xffffffff
cmp dword [ecx + 0x28], 7
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], esi
je 0x4d968c
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x38], ebx
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x78], ebx
mov dword [edi + 0x1ac], ebx
cmp dword [edi + 0x110], ebx
jne 0x4dbcf5
mov eax, dword [ecx + 0x24]
mov edx, dword [esp + 0x44]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
xor eax, eax
mov dl, byte [esi]
add ebx, 1
mov dword [esp + 0x84], ebx
adc eax, 0
movzx ebx, dl
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
cmp ebx, 0xaa
ja case.0x4d5d88.85
jmp dword [ebx*4 + 0x4dbd28]
mov edx, dword [esp + 0xc]
mov ecx, edx
mov edi, dword [esp + 0x18]
sub ecx, dword [esp + 0x44]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, 4
mov word [edi + esi*8 + 8], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
jmp 0x4d8d00
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
mov eax, pe_nt_image_headers32
mov word [ebx + ecx*8 + 8], ax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0xc]
dec eax
cdq
mov dword [ebx + ecx*8], eax
mov eax, 4
mov dword [ebx + ecx*8 + 4], edx
mov word [ebx + ecx*8 + 8], ax
cmp dword [esi + 8], 0
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + ecx*8]
lea eax, [eax + eax*4]
mov eax, dword [edi + eax*4 + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edi + eax*4]
jmp 0x4d5de6
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
mov eax, dword [edx + 4]
sub edx, edi
lea esi, [eax + eax*4]
mov eax, 4
mov ecx, dword [ebx + esi*8]
mov word [ebx + esi*8 + 8], ax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ebx + esi*8], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp + 8]
mov dword [ebx + esi*8 + 4], edx
lea esi, [edi + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x4d5df3
mov ebx, dword [ebp + 8]
mov ecx, esi
sub ecx, dword [esp + 0x44]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [esp + 0xc]
cmp dword [edx + 4], 0
jne 0x4db6df
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x4db6df
mov eax, dword [ecx + 4]
dec dword [ebx + 0xd0]
mov dword [ebx + 0xc8], eax
mov eax, dword [ebx + 0x2c]
add dword [edi + 0x68], eax
push ecx
mov dword [edi + 0x64], eax
call fcn.004dc8b0
mov ecx, dword [esp + 0x10]
add esp, 4
cmp dword [ecx + 8], 4
jne 0x4d5f5b
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + ecx*4 + 8]
dec eax
mov edi, dword [esp + 0x50]
lea eax, [eax + eax*4]
mov ecx, ebx
mov ebx, dword [esp + 0x84]
mov esi, dword [ecx + 0x68]
mov edx, dword [ecx + 0x58]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], edx
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
cdq
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x14]
add esp, 8
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ebx, dword [esp + 0x84]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, dword [esp + 0x14]
mov ecx, eax
mov edi, dword [esp + 0x58]
mov eax, 8
mov ebx, dword [esp + 0x8c]
add esp, 8
add esi, 0x14
mov word [ecx + 8], ax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
fld qword [eax]
mov eax, dword [esp + 0x10]
fstp qword [ecx]
mov ecx, dword [ebp + 8]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00496be0
mov ebx, dword [ebx + 0x10]
mov esi, eax
push ebx
call fcn.004d0340
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp byte [esp + 0x48], 1
mov dword [edx + 4], eax
je 0x4d60d6
push 0
push 1
push 0xffffffffffffffff
push ebx
push esi
call fcn.004de300
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4daa4c
movzx ecx, byte [esp + 0x48]
push ecx
push esi
call fcn.004d4e80
add esp, 8
test eax, eax
jne 0x4d968c
mov edx, dword [esp + 0xc]
mov dword [esi + 0x18], eax
mov eax, 0x800
or word [esi + 8], ax
cmp byte [edx + 1], 0xf9
jne 0x4d60c6
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4d60c6
push eax
push edi
call fcn.004ad230
mov edx, dword [esp + 0x14]
add esp, 8
mov byte [edx + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
cmp eax, dword [edi + 0x6c]
jg 0x4daa4c
mov ecx, dword [ebp + 8]
mov byte [edx], 0x47
jmp 0x4d60ee
mov edx, dword [esp + 0xc]
push edx
push ecx
call fcn.00496be0
mov esi, eax
add esp, 8
mov eax, 0xa02
mov word [esi + 8], ax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov cl, byte [esp + 0x48]
mov byte [esi + 0xa], cl
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x4d5fa4
mov ebx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 2]
cdq
cmp dword [ebx + ecx*8], eax
jne 0x4d5fa4
cmp dword [ebx + ecx*8 + 4], edx
mov ecx, dword [ebp + 8]
jne 0x4d6150
mov eax, 0xa10
mov word [esi + 8], ax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00496be0
mov edi, dword [ebx + 0xc]
add esp, 8
sub edi, dword [ebx + 8]
mov ecx, dword [ebx + 4]
neg ecx
mov dword [eax + 0xc], 0
lea esi, [eax + 0xc]
sbb ecx, ecx
and ecx, 0x100
inc ecx
movzx ebx, cx
mov word [eax + 8], bx
test edi, edi
jle 0x4d5fa4
lea esi, [esi + 0x28]
lea eax, [esi - 0xc]
push eax
call fcn.004de240
dec edi
mov word [esi - 4], bx
add esp, 4
mov dword [esi], 0
test edi, edi
jg 0x4d61a6
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 4]
mov edx, 0xff41
mov ebx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov ax, word [ebx + ecx*8 + 8]
and ax, dx
or ax, 1
jmp 0x4d5deb
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, eax
mov eax, dword [esp + 0x14]
push 0
push 0
push dword [eax + 4]
push dword [eax + 0x10]
push esi
call fcn.004de300
mov al, byte [esp + 0x64]
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov byte [esi + 0xa], al
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edx + 4]
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0x64]
lea ebx, [ebx - 5]
lea ebx, [eax + ebx*8]
push ebx
call fcn.004de690
add esp, 4
test eax, eax
jne 0x4daa4f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x2400
test word [esi + 8], ax
je 0x4d6296
push esi
call fcn.004de240
add esp, 4
mov eax, dword [ebx]
mov ecx, 0xebff
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x50]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x84]
mov dword [esi + 0x10], eax
mov ax, word [esi + 8]
and ax, cx
mov ecx, 0x840
or ax, cx
mov ecx, dword [ebp + 8]
mov word [esi + 8], ax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
lea esp, [esp]
push ebx
push esi
call fcn.004ddff0
mov eax, 0x1000
add esp, 8
test word [esi + 8], ax
je 0x4d6336
push esi
call fcn.004ddfa0
add esp, 4
test eax, eax
jne 0x4d968c
add ebx, 0x28
add esi, 0x28
dec dword [esp + 0x1c]
jne 0x4d6310
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push 0x1000
push ebx
push esi
call fcn.004de590
mov eax, 0x1000
add esp, 0xc
test word [esi + 8], ax
je 0x4d63ac
push esi
call fcn.004ddfa0
add esp, 4
test eax, eax
jne 0x4d968c
mov ecx, dword [esp + 0x1c]
mov eax, ecx
dec ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4d5fa4
add esi, 0x28
add ebx, 0x28
jmp 0x4d6381
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
push 0x1000
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004de590
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
push dword [ebx + eax*8 + 4]
push dword [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004de200
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
mov dword [esp + 0x34], ecx
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 0xc]
movzx edx, word [ecx + 8]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
mov al, byte [esi + 8]
or al, dl
test al, 1
je 0x4d64b2
push ebx
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
test dl, 0x12
jne 0x4d64e7
push 0
push dword [esp + 0x4c]
push ecx
call fcn.004de5f0
add esp, 0xc
test eax, eax
jne 0x4d968c
mov eax, dword [esp + 0x34]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx ecx, ax
mov dword [esp + 0x2c], ecx
jmp 0x4d6517
test edx, 0x4000
je 0x4d6517
push ecx
call fcn.004ddae0
add esp, 4
test eax, eax
jne 0x4d968c
mov eax, dword [esp + 0x34]
mov ecx, 0xfffd
mov ax, word [eax + 8]
and ax, cx
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, word [esi + 8]
mov dword [esp + 0x1c], eax
test al, 0x12
jne 0x4d6534
push 0
push dword [esp + 0x4c]
push esi
call fcn.004de5f0
add esp, 0xc
jmp 0x4d6544
test eax, 0x4000
je 0x4d655f
push esi
call fcn.004ddae0
add esp, 4
test eax, eax
jne 0x4d968c
mov ax, word [esi + 8]
mov ecx, 0xfffd
and ax, cx
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0xc]
add eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x4c], eax
mov ecx, edx
mov eax, dword [edi + 0x6c]
cdq
cmp ecx, edx
jg 0x4daa4c
mov ecx, dword [esp + 0x4c]
jl 0x4d658a
cmp ecx, eax
ja 0x4daa4c
xor eax, eax
cmp ebx, esi
sete al
push eax
lea eax, [ecx + 3]
push eax
push ebx
call fcn.004ddd30
add esp, 0xc
test eax, eax
jne 0x4d968c
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 2
mov word [ebx + 8], ax
cmp ebx, esi
je 0x4d65d8
push dword [esi + 0xc]
push dword [esi + 0x10]
push dword [ebx + 0x10]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov word [esi + 8], ax
mov edi, dword [esp + 0x34]
mov eax, dword [ebx + 0x10]
add eax, dword [esi + 0xc]
push dword [edi + 0xc]
push dword [edi + 0x10]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov word [edi + 8], ax
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov byte [ecx + eax], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 1], 0
mov eax, dword [ebx + 0x10]
mov byte [ecx + eax + 2], 0
mov eax, 0x200
or word [ebx + 8], ax
add esi, 0x14
mov al, byte [esp + 0x48]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp + 8]
mov byte [ebx + 0xa], al
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
mov dword [esp + 0x38], esi
call fcn.004963d0
movzx ebx, ax
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
push eax
mov dword [esp + 0x24], eax
call fcn.004963d0
movzx ecx, ax
add esp, 8
mov eax, dword [esp + 0xc]
and cl, bl
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov ax, word [eax + 8]
or ax, word [esi + 8]
movzx eax, ax
test cl, 4
je 0x4d67d8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movzx eax, byte [eax]
mov esi, dword [ebx]
add eax, 0xffffff97
mov edi, dword [ebx + 4]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
cmp eax, 3
ja case.default.0x4d66da
jmp dword [eax*4 + 0x4dbfd4]
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.004a3730
add esp, 0xc
test eax, eax
je 0x4d678f
mov esi, dword [esp + 0x34]
jmp 0x4d67e4
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.004d0360
add esp, 0xc
test eax, eax
jne 0x4d66fb
jmp 0x4d678f
push edx
push ecx
lea eax, [esp + 0x90]
push eax
call fcn.004c3420
add esp, 0xc
test eax, eax
jne 0x4d66fb
jmp 0x4d678f
mov eax, ecx
or eax, edx
je 0x4d68db
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4d6753
test esi, esi
jne 0x4d6753
cmp edi, 0x80000000
je 0x4d66fb
push edx
push ecx
push edi
push esi
call fcn.00402060
jmp 0x4d6781
mov eax, ecx
or eax, edx
je 0x4d68db
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4d6778
mov ecx, 1
xor edx, edx
push edx
push ecx
push edi
push esi
call fcn.00402230
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x2c]
mov edx, 0x3e40
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov dword [ecx], eax
mov eax, dword [esp + 0x8c]
mov dword [ecx + 4], eax
mov ax, word [ecx + 8]
and ax, dx
or ax, 4
add esi, 0x14
mov word [ecx + 8], ax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
test al, 1
jne 0x4d68db
mov ebx, dword [esp + 0x1c]
push esi
call fcn.004defd0
fstp qword [esp + 0x3c]
push ebx
call fcn.004defd0
mov eax, dword [esp + 0x14]
add esp, 8
movzx eax, byte [eax]
add eax, 0xffffff97
cmp eax, 3
ja case.default.0x4d6806
jmp dword [eax*4 + 0x4dbfe4]
fadd qword [esp + 0x38]
jmp 0x4d688d
fsub qword [esp + 0x38]
jmp 0x4d688d
fmul qword [esp + 0x38]
jmp 0x4d688d
fld qword [esp + 0x38]
fldz
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x4d68d7
fdivp st(1)
jmp 0x4d688d
push esi
fstp st(0)
call fcn.004dcfd0
push ebx
mov esi, eax
mov edi, edx
call fcn.004dcfd0
mov ecx, esi
mov dword [esp + 0x90], eax
add esp, 8
mov dword [esp + 0x8c], edx
or ecx, edi
je 0x4d68db
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4d686f
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.00402230
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], edx
fild qword [esp + 0x128]
sub esp, 8
fst qword [esp]
call fcn.004c1360
add esp, 8
test eax, eax
jne 0x4d68d9
mov ecx, dword [esp + 0x2c]
mov edx, 0x3e40
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov ax, word [ecx + 8]
and ax, dx
or ax, 8
add esi, 0x14
mov word [ecx + 8], ax
mov eax, dword [esp + 0x10]
fstp qword [ecx]
mov ecx, dword [ebp + 8]
jmp 0x4d5d66
fstp st(1)
fstp st(0)
push dword [esp + 0x2c]
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 4]
test eax, eax
je 0x4d5df3
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
push 0
push 0
lea eax, [ecx + eax*8]
push eax
call fcn.004de200
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
mov dword [esp + 0x2c], edx
test al, 1
je 0x4d6999
push edx
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push ecx
call fcn.004dcfd0
push esi
mov ebx, eax
mov edi, edx
call fcn.004dcfd0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0xc]
mov cl, byte [eax]
cmp cl, 0x65
jne 0x4d69c2
and ebx, esi
and edi, edx
jmp 0x4d6a7d
cmp cl, 0x66
jne 0x4d69d0
or ebx, esi
or edi, edx
jmp 0x4d6a7d
mov eax, esi
or eax, edx
je 0x4d6a7d
test edx, edx
jg 0x4d6a08
jl 0x4d69e4
test esi, esi
jae 0x4d69fd
mov al, 0xcf
sub al, cl
mov cl, al
cmp edx, 0xffffffff
jl 0x4d6a08
jg 0x4d69f6
cmp esi, 0xffffffc0
jbe 0x4d6a08
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x4d6a2a
jg 0x4d6a08
cmp esi, 0x40
jb 0x4d6a2a
test edi, edi
jg 0x4d6a21
jl 0x4d6a12
test ebx, ebx
jae 0x4d6a21
cmp cl, 0x67
je 0x4d6a21
or eax, 0xffffffff
cdq
mov ebx, eax
mov edi, edx
jmp 0x4d6a7d
xor eax, eax
cdq
mov ebx, eax
mov edi, edx
jmp 0x4d6a7d
cmp cl, 0x67
mov eax, ebx
mov edx, edi
mov ecx, esi
jne 0x4d6a40
call fcn.00402530
mov ecx, eax
mov eax, edx
jmp 0x4d6a79
call fcn.004025e0
mov ecx, eax
mov eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
test edi, edi
jg 0x4d6a79
jl 0x4d6a5b
test ebx, ebx
jae 0x4d6a79
mov ecx, 0x40
or eax, 0xffffffff
sub ecx, esi
or edx, 0xffffffff
call fcn.00402530
mov ecx, dword [esp + 0x20]
or ecx, eax
mov eax, dword [esp + 0x1c]
or eax, edx
mov ebx, ecx
mov edi, eax
mov ecx, dword [esp + 0x2c]
mov edx, 0x3e40
mov esi, dword [esp + 0xc]
mov ax, word [ecx + 8]
and ax, dx
mov dword [ecx], ebx
mov ebx, dword [esp + 0x84]
or ax, 4
mov dword [ecx + 4], edi
add esi, 0x14
mov edi, dword [esp + 0x50]
mov word [ecx + 8], ax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
push esi
call fcn.004ddf40
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + 8]
cdq
add dword [esi], eax
mov eax, dword [esp + 0x10]
adc dword [esi + 4], edx
mov esi, dword [esp + 0xc]
add esi, 0x14
jmp 0x4d5d66
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x4d6bc6
test al, 8
jne 0x4d6b2b
test al, 2
je 0x4d6b37
push 1
push esi
call fcn.0046c8c0
add esp, 8
jmp 0x4d6b34
push esi
call fcn.004dd010
add esp, 4
mov ecx, dword [ebp + 8]
movzx eax, word [esi + 8]
test al, 4
jne 0x4d6bc6
mov esi, dword [esp + 0xc]
cmp dword [esi + 8], 0
jne 0x4d8d07
mov edx, 0x14
mov dword [esp + 0x14], edx
mov esi, dword [ebp + 8]
cmp byte [edi + 0x51], 0
je 0x4d6b6c
mov edx, 7
mov dword [esp + 0x14], edx
cmp dword [esi + 0x7c], 0
jne 0x4dbbc8
cmp edx, 0xc0a
je 0x4dbbc8
mov eax, edx
mov ecx, str.unknown_error
sub eax, 0x64
je 0x4dbbb0
dec eax
je 0x4dbba9
sub eax, 0x19f
je 0x4dbba2
movzx eax, dl
cmp eax, 0x1c
ja 0x4dbbb5
mov eax, dword [eax*4 + 0x51e4d8]
test eax, eax
je 0x4dbbb5
mov ecx, eax
jmp 0x4dbbb5
mov edi, dword [esp + 0x50]
and eax, 0x3e40
mov ebx, dword [esp + 0x84]
or eax, 4
mov word [esi + 8], ax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 0x24
lea eax, [edx + eax*8]
je 0x4d5df3
push eax
call fcn.004de120
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4d6c5b
push esi
call fcn.004ddae0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0xc]
push dword [esp + 0x48]
movzx eax, byte [eax + 8]
push eax
push esi
call fcn.004dd950
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
movzx edx, word [ecx + eax*8 + 8]
lea edi, [ecx + eax*8]
movzx eax, word [ebx + 8]
mov ecx, edx
or ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
test cl, 1
je 0x4d6d95
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 2]
test al, al
jns 0x4d6d21
mov cl, dl
mov al, cl
and al, byte [esp + 0x24]
test al, 1
je 0x4d6d0a
test edx, 0x100
jne 0x4d6d0a
mov eax, dword [esp + 0xc]
xor edx, edx
movzx eax, byte [eax]
movzx esi, byte [eax + 0x5237bc]
jmp 0x4d6e1a
test cl, 1
mov edx, 0
sete dl
lea edx, [edx*2 - 1]
jmp 0x4d6f55
test al, 0x20
je 0x4d6d6f
mov eax, dword [esp + 0xc]
mov ebx, 0x3e40
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov eax, dword [eax + 8]
mov dword [esp + 0x7c], 1
lea ecx, [eax + eax*4]
mov ax, word [edx + ecx*8 + 8]
and ax, bx
mov ebx, dword [esp + 0x84]
or ax, 1
add esi, 0x14
mov word [edx + ecx*8 + 8], ax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
test al, 0x10
jne 0x4d8d00
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov esi, dword [esp + 0xc]
mov al, byte [esi + 2]
and al, 0x47
cmp al, 0x43
jl 0x4d6ece
test cl, 2
je 0x4d6ddd
mov al, byte [esp + 0x24]
and al, 0x2e
cmp al, 2
jne 0x4d6dc8
push 0
push ebx
call fcn.0046c8c0
movzx eax, word [edi + 8]
add esp, 8
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x30]
and al, 0x2e
cmp al, 2
jne 0x4d6ddd
push 0
push edi
call fcn.0046c8c0
add esp, 8
mov al, byte [edi + 8]
and al, byte [ebx + 8]
test al, 4
je 0x4d6f46
mov esi, dword [edi + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
mov eax, dword [ebx]
cmp esi, edx
jl 0x4d6eb8
jg 0x4d6e07
cmp ecx, eax
jbe 0x4d6ea6
mov edx, 1
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x5237c4]
movzx eax, word [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov word [edi + 8], ax
movzx eax, word [esp + 0x24]
mov word [ebx + 8], ax
movzx ecx, word [ecx + 2]
test cl, 0x20
je 0x4d6f85
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], edx
mov eax, dword [eax + 8]
lea edi, [eax + eax*4]
test cl, 8
je 0x4d6e64
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp byte [ecx], 0x35
sete al
cmp eax, esi
je 0x4d5fa4
mov ebx, dword [esp + 0x18]
mov eax, 0x3e40
mov cx, word [ebx + edi*8 + 8]
and cx, ax
mov eax, esi
mov esi, dword [esp + 0xc]
or cx, 4
cdq
add esi, 0x14
mov word [ebx + edi*8 + 8], cx
mov ecx, dword [ebp + 8]
mov dword [ebx + edi*8], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + edi*8 + 4], edx
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
cmp esi, edx
jg 0x4d6cf5
jl 0x4d6eb8
cmp ecx, eax
jae 0x4d6cf5
mov eax, dword [esp + 0xc]
or edx, 0xffffffff
movzx ecx, byte [eax]
movzx esi, byte [ecx + 0x5237b4]
jmp 0x4d6e1a
cmp al, 0x42
jne 0x4d6f46
mov al, byte [esp + 0x24]
test al, 2
jne 0x4d6f15
test al, 0x2c
je 0x4d6f15
push 1
push dword [esp + 0x4c]
push ebx
call fcn.004de5f0
mov ax, word [ebx + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x30]
add esp, 0xc
and ax, cx
xor word [esp + 0x24], ax
cmp ebx, edi
jne 0x4d6f15
mov eax, dword [esp + 0x24]
or eax, 2
movzx eax, ax
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x30]
test al, 2
jne 0x4d6f46
test al, 0x2c
je 0x4d6f46
push 1
push dword [esp + 0x4c]
push edi
call fcn.004de5f0
mov ax, word [edi + 8]
mov ecx, 0x3e40
xor ax, word [esp + 0x3c]
add esp, 0xc
and ax, cx
xor word [esp + 0x30], ax
push dword [esi + 0x10]
push ebx
push edi
call fcn.004c3230
add esp, 0xc
mov edx, eax
test edx, edx
jns 0x4d6f6c
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax]
movzx esi, byte [ecx + 0x5237b4]
jmp 0x4d6e1a
jne 0x4d6e0c
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
movzx esi, byte [eax + 0x5237bc]
jmp 0x4d6e1a
test esi, esi
mov esi, dword [esp + 0xc]
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
cmp dword [esp + 0x7c], 0
jne 0x4d8d07
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
test byte [ebx + 2], 1
jne 0x4d6fd7
xor eax, eax
jmp 0x4d6fdd
mov eax, dword [ebx - 4]
add eax, 4
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0xc]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 8]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], ebx
test ecx, ecx
jle 0x4d5fa4
lea ebx, [edx + 0x14]
mov edi, edi
test eax, eax
je 0x4d7019
mov edi, dword [eax + esi*4]
jmp 0x4d701b
mov edi, esi
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x18]
push dword [ebx]
movzx eax, byte [esi + eax]
and eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov eax, dword [esp + 0x54]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004c3230
mov edx, eax
add esp, 0xc
mov dword [esp + 0x7c], edx
test edx, edx
jne 0x4d708b
mov eax, dword [esp + 0x1c]
inc esi
mov edx, dword [esp + 0x2c]
add ebx, 4
cmp esi, dword [esp + 0x20]
jl 0x4d7010
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
test byte [esi + eax], 2
je 0x4d70c2
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
jne 0x4d70bc
mov eax, dword [esp + 0x54]
add eax, edi
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
je 0x4d70c2
neg edx
mov dword [esp + 0x7c], edx
cmp dword [esp + 0x34], 0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
je case.0x4d5d88.85
mov edi, dword [esp + 0x50]
neg edx
mov ebx, dword [esp + 0x84]
add esi, 0x14
mov dword [esp + 0x7c], edx
jmp 0x4d5d66
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0xc]
test ebx, ebx
jns 0x4d7124
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
jne 0x4d714d
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push 2
mov eax, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004d4e30
mov ecx, dword [ebx + 8]
mov esi, eax
mov ebx, dword [esp + 0x20]
push 2
lea ecx, [ecx + ecx*4]
lea ecx, [ebx + ecx*8]
push ecx
call fcn.004d4e30
mov ecx, dword [esp + 0x1c]
add esp, 0x10
lea eax, [eax + esi*2]
cmp byte [ecx], 0x2c
jne 0x4d71bd
movzx edx, byte [esi + eax + 0x523bf4]
jmp 0x4d71c5
movzx edx, byte [esi + eax + 0x523c70]
mov eax, dword [ecx + 0xc]
mov esi, dword [esp + 0xc]
lea ecx, [eax + eax*4]
cmp edx, 2
jne 0x4d71ea
mov ax, word [ebx + ecx*8 + 8]
mov edx, 0x3e40
and ax, dx
or ax, 1
jmp 0x4d5deb
mov eax, edx
cdq
mov dword [ebx + ecx*8], eax
mov ax, word [ebx + ecx*8 + 8]
mov dword [ebx + ecx*8 + 4], edx
mov edx, 0x3e40
and ax, dx
or ax, 4
jmp 0x4d5deb
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004d4e30
mov ecx, dword [esp + 0x14]
xor eax, dword [ecx + 0x10]
cdq
push edx
push eax
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004de200
mov esi, dword [esp + 0x20]
add esp, 0x14
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 1
lea ecx, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
jne 0x4db0c6
push 0
push ecx
call fcn.004d4e30
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
push esi
call fcn.004de200
mov esi, dword [esp + 0x20]
add esp, 0x14
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, dword [edx + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.004de240
add esp, 4
test byte [edi + 8], 1
jne 0x4d5fa4
mov eax, 4
push edi
mov word [esi + 8], ax
call fcn.004dcfd0
mov ecx, dword [ebp + 8]
not eax
mov edi, dword [esp + 0x54]
not edx
mov ebx, dword [esp + 0x88]
add esp, 4
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 4], edx
mov esi, dword [esp + 0xc]
add esi, 0x14
jmp 0x4d5d66
mov esi, dword [ecx + 0xc8]
test esi, esi
je 0x4d7392
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov esi, dword [esi + 0x18]
sub ecx, dword [eax + 0x68]
mov eax, 0x66666667
imul ecx
mov eax, 1
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
and ecx, 7
shr edx, 3
shl eax, cl
mov bl, byte [edx + esi]
test bl, al
jne 0x4d8d00
mov edi, dword [esp + 0x50]
mov al, 1
shl al, cl
mov ecx, dword [ebp + 8]
or al, bl
mov ebx, dword [esp + 0x84]
mov byte [edx + esi], al
mov esi, dword [esp + 0xc]
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov eax, dword [ecx + 0x68]
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 4]
je 0x4d8d07
mov eax, dword [ecx + 0x68]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004d4e30
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp dword [edx + 0xc], eax
sete al
push eax
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004d4e30
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
jne 0x4d8d07
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
je 0x4d8d07
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 2], 0
je 0x4d5df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004de240
add esp, 4
jmp 0x4d8d00
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004d5580
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x24], edx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x30], ecx
cmp eax, dword [esi + 0x20]
je 0x4d763a
cmp byte [ebx + 2], 0
je 0x4d75a0
cmp byte [ebx], 3
jne 0x4d7579
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [esi], eax
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*8 + 0x10]
mov dword [ebx + 0x4c], eax
jmp 0x4d75d2
push ecx
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov esi, dword [ebx + 0x28]
push esi
call fcn.0048f400
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x54]
push eax
push esi
call fcn.004a9110
mov dword [ebx + 0x4c], eax
add esp, 0xc
mov eax, dword [ebx + 0x50]
cmp eax, dword [edi + 0x6c]
ja 0x4daa4c
mov edx, dword [esp + 0x24]
lea esi, [ebx + 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x4d75f0
movzx eax, al
mov dword [edx], eax
mov eax, 1
jmp 0x4d7601
push edx
push ecx
call fcn.004bee60
mov edx, dword [esp + 0x2c]
add esp, 8
movzx eax, al
movzx eax, al
mov dword [ebx + 0x30], eax
xor eax, eax
mov word [ebx + 0x3a], ax
mov eax, dword [esi]
cmp eax, dword [edx]
jae 0x4d7735
mov dword [ebx + 0x4c], 0
mov dword [esi], 0
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x4d783a
cmp eax, dword [ebx + 0x50]
ja 0x4d783a
movzx eax, word [ebx + 0x3a]
mov esi, dword [esp + 0x80]
cmp eax, esi
ja 0x4d78ec
mov eax, dword [ebx + 0x30]
cmp eax, dword [edx]
jae 0x4d786c
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4d76db
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x1b0]
push eax
push dword [edx]
push dword [ebx + 0x28]
call fcn.004ddcd0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x1c0]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
movzx eax, word [ebx + 0x3a]
mov esi, dword [ebx + 0x30]
add esi, dword [esp + 0x34]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + eax*4]
mov edx, dword [edx]
add edx, dword [esp + 0x34]
add eax, 0x16
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x54], edx
lea eax, [ebx + eax*4]
mov dword [esp + 0x2c], eax
lea ecx, [ecx]
movzx ebx, byte [esi]
mov dword [esp + 0x98], ebx
mov dword [eax], ebx
cmp ebx, 0x80
jae 0x4d773a
movzx eax, byte [ebx + 0x522ca8]
inc esi
cdq
add ecx, eax
adc dword [esp + 0x28], edx
jmp 0x4d776e
mov eax, dword [ebx + 0x4c]
jmp 0x4d76d7
lea eax, [esp + 0x98]
push eax
push esi
call fcn.004bee60
mov ebx, dword [esp + 0xa0]
movzx eax, al
add esi, eax
mov eax, dword [esp + 0x34]
push ebx
mov dword [eax], ebx
call fcn.004dfa80
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, eax
adc dword [esp + 0x28], 0
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], edx
mov dword [edi + edx*4], ecx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
cmp edx, dword [esp + 0x80]
ja 0x4d77aa
cmp esi, dword [esp + 0x54]
jb 0x4d7710
mov eax, dword [esp + 0x54]
jmp 0x4d77b2
mov eax, dword [esp + 0x54]
cmp esi, eax
jb 0x4d77c9
cmp esi, eax
mov eax, dword [esp + 0x58]
ja 0x4d77ec
cmp ecx, dword [eax + 0x50]
jne 0x4d77ec
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4d77e8
jmp 0x4d77cd
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x58]
mov edi, dword [edi + 0x50]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x50]
test eax, eax
jb 0x4d77fb
ja 0x4d77e8
cmp ecx, dword [esp + 0x20]
jbe 0x4d77fb
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
jne 0x4d7824
mov esi, dword [esp + 0x54]
xor edx, edx
mov eax, dword [esp + 0x58]
sub esi, dword [esp + 0x34]
mov word [eax + 0x3a], dx
mov dword [eax + 0x30], esi
mov esi, eax
cmp dword [esi + 0x4c], 0
jne 0x4d7879
lea eax, [esp + 0x1b0]
push eax
call fcn.004de170
add esp, 4
jmp 0x4d7879
cmp dword [eax + 0x4c], 0
jne 0x4d783a
lea eax, [esp + 0x1b0]
push eax
call fcn.004de170
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x4db780
mov edi, dword [esp + 0x50]
lea eax, [eax + eax*4]
mov ebx, dword [esp + 0x84]
lea eax, [eax - 5]
lea esi, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov esi, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x98], ebx
movzx eax, word [esi + 0x3a]
cmp eax, dword [esp + 0x80]
ja 0x4d78fb
mov eax, dword [esp + 0xc]
cmp byte [eax + 1], 0xf5
jne 0x4d78c2
push 0x800
push dword [eax + 0x10]
push dword [esp + 0x38]
call fcn.004de590
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push dword [esp + 0x30]
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [ebx + esi*4 + 0x58]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x30]
mov eax, 0x2400
test word [edx + 8], ax
je 0x4d7917
push edx
call fcn.004de240
mov edx, dword [esp + 0x34]
add esp, 4
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x54]
cmp eax, dword [ecx + edi*4 + 4]
mov edi, dword [esp + 0x50]
jb 0x4d79fe
mov eax, dword [esi + 0x4c]
mov esi, dword [esp + 0x80]
add eax, dword [ecx + esi*4]
mov dword [esp + 0x20], eax
cmp ebx, 0xc
jae 0x4d796e
push edx
push ebx
push eax
call fcn.004df860
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov al, byte [esp + 0x48]
lea esi, [ebx - 0xc]
shr esi, 1
mov byte [edx + 0xa], al
mov dword [edx + 0xc], esi
lea eax, [esi + 2]
cmp dword [edx + 0x18], eax
jge 0x4d79a8
push 0
push eax
mov ecx, 1
push edx
mov word [edx + 8], cx
call fcn.004ddd30
add esp, 0xc
test eax, eax
jne 0x4d968c
mov edx, dword [esp + 0x30]
jmp 0x4d79ae
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
push esi
push dword [esp + 0x24]
push dword [edx + 0x10]
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esp + 0x3c]
and ebx, 1
mov edi, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [ecx + 0x10]
mov byte [esi + eax], 0
mov eax, dword [ecx + 0x10]
mov byte [esi + eax + 1], 0
mov ax, word [ebx*2 + 0x523ec0]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x84]
add esi, 0x14
mov word [ecx + 8], ax
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov al, byte [esp + 0x48]
mov byte [edx + 0xa], al
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x4d7a1f
cmp ebx, 0xc
jb 0x4d7a1b
test bl, 1
je 0x4d7a2c
test al, al
js 0x4d7a2c
push ebx
call fcn.004dfa80
add esp, 4
test eax, eax
jne 0x4d7a59
push edx
push ebx
push 0x523970
call fcn.004df860
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push edx
push eax
mov eax, dword [esp + 0x88]
push dword [ecx + eax*4]
push dword [esi + 0x28]
call fcn.004ddbf0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov esi, dword [esp + 0x30]
push esi
push ebx
push dword [esi + 0x10]
call fcn.004df860
mov ecx, dword [ebp + 8]
mov eax, 0xefff
mov edi, dword [esp + 0x5c]
add esp, 0xc
and word [esi + 8], ax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov edi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
lea ebx, [ebx]
push dword [esp + 0x48]
movzx eax, byte [edi]
push eax
push esi
call fcn.0046c850
add esp, 0xc
cmp byte [edi], 0x45
jne 0x4d7b3d
movzx eax, word [esi + 8]
test al, 4
je 0x4d7b3d
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], ecx
cmp ecx, 0x7fff
jg 0x4d7b28
jl 0x4d7b10
cmp edx, 0xffffffff
ja 0x4d7b28
cmp ecx, 0xffff8000
jl 0x4d7b28
jg 0x4d7b1e
test edx, edx
jb 0x4d7b28
and eax, 0xfffb
or eax, 0x20
jmp 0x4d7b39
fild qword [esp + 0x160]
and eax, 0xfffb
or eax, 8
fstp qword [esi]
mov word [esi + 8], ax
inc edi
cmp byte [edi], 0
je 0x4d5fa4
add esi, 0x28
jmp 0x4d7ad0
mov ecx, dword [esi + 0x10]
xor edx, edx
mov eax, dword [esi + 4]
xor ebx, ebx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], edx
lea eax, [eax + eax*4]
mov dword [esp + 0x4c], edx
lea esi, [esi + eax*8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], esi
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x93]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4d7bf9
add esi, 8
mov edi, ecx
lea esp, [esp]
push dword [esp + 0x48]
movzx eax, byte [edi]
push eax
lea eax, [esi - 8]
push eax
call fcn.0046c850
add esp, 0xc
cmp byte [edi], 0x45
jne 0x4d7beb
movzx eax, word [esi]
test al, 4
je 0x4d7beb
and eax, 0xfffb
or eax, 0x20
mov word [esi], ax
inc edi
add esi, 0x28
cmp byte [edi], bl
jne 0x4d7bc0
mov edi, dword [esp + 0x50]
mov edx, ebx
mov esi, dword [esp + 0x20]
add esi, 0x1c
movzx ecx, word [esi - 0x14]
test cl, 1
je 0x4d7c22
and ecx, 0x4000
neg ecx
sbb ecx, ecx
and ecx, 0xa
mov dword [esi], ecx
mov ecx, dword [esp + 0x24]
inc ecx
jmp 0x4d7e54
test cl, 0x24
je 0x4d7dac
mov edi, dword [esi - 0x18]
test edi, edi
mov eax, dword [esi - 0x1c]
mov dword [esp + 0x124], edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x120], eax
jg 0x4d7c5a
jl 0x4d7c4d
test eax, eax
jae 0x4d7c5a
not eax
mov dword [esp + 0x28], eax
mov eax, dword [esi - 0x18]
not eax
jmp 0x4d7c61
mov dword [esp + 0x28], eax
mov eax, dword [esi - 0x18]
inc dword [esp + 0x24]
test eax, eax
ja 0x4d7d3f
jb 0x4d7c76
cmp dword [esp + 0x28], 0x7f
ja 0x4d7cc4
mov eax, dword [esi - 0x1c]
and eax, 1
mov dword [esp + 0x54], 0
cmp eax, dword [esi - 0x1c]
jne 0x4d7cab
mov eax, dword [esi - 0x18]
cmp dword [esp + 0x54], eax
jne 0x4d7cab
cmp dword [esp + 0x60], 4
jl 0x4d7cab
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 8
mov dword [esi], eax
jmp 0x4d7e58
mov ecx, dword [esp + 0x24]
add edx, 1
mov dword [esp + 0x30], edx
adc ebx, 0
mov dword [esi], 1
jmp 0x4d7e58
test eax, eax
ja 0x4d7d3f
jb 0x4d7cd4
cmp dword [esp + 0x28], 0x7fff
ja 0x4d7ced
mov ecx, dword [esp + 0x24]
add edx, 2
mov dword [esp + 0x30], edx
adc ebx, 0
mov dword [esi], 2
jmp 0x4d7e58
test eax, eax
ja 0x4d7d3f
jb 0x4d7cfd
cmp dword [esp + 0x28], 0x7fffff
ja 0x4d7d16
mov ecx, dword [esp + 0x24]
add edx, 3
mov dword [esp + 0x30], edx
adc ebx, 0
mov dword [esi], 3
jmp 0x4d7e58
test eax, eax
ja 0x4d7d3f
jb 0x4d7d26
cmp dword [esp + 0x28], 0x7fffffff
ja 0x4d7d3f
mov ecx, dword [esp + 0x24]
add edx, 4
mov dword [esp + 0x30], edx
adc ebx, 0
mov dword [esi], 4
jmp 0x4d7e58
cmp eax, 0x7fff
ja 0x4d7d68
jb 0x4d7d4f
cmp dword [esp + 0x28], 0xffffffff
ja 0x4d7d68
mov ecx, dword [esp + 0x24]
add edx, 6
mov dword [esp + 0x30], edx
adc ebx, 0
mov dword [esi], 5
jmp 0x4d7e58
add edx, 8
mov dword [esp + 0x30], edx
adc ebx, 0
test cl, 0x20
je 0x4d7d9d
fild qword [esp + 0x120]
and ecx, 0xffdf
mov dword [esi], 7
or ecx, 8
mov word [esi - 0x14], cx
mov ecx, dword [esp + 0x24]
fstp qword [esi - 0x1c]
jmp 0x4d7e58
mov ecx, dword [esp + 0x24]
mov dword [esi], 6
jmp 0x4d7e58
test cl, 8
je 0x4d7dcb
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esi], 7
add edx, 8
mov dword [esp + 0x30], edx
adc ebx, 0
jmp 0x4d7e54
mov eax, dword [esi - 0x10]
mov dword [esp + 0x54], eax
mov eax, ecx
mov edi, dword [esp + 0x54]
shr eax, 1
and eax, 1
lea eax, [eax + edi*2]
mov edi, dword [esp + 0x50]
add eax, 0xc
mov dword [esp + 0x28], eax
test ecx, 0x4000
je 0x4d7e2f
mov edi, dword [esi - 0x1c]
lea ecx, [esi - 0x1c]
lea eax, [eax + edi*2]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, edx
or eax, ebx
je 0x4d7e24
push ecx
call fcn.004ddae0
add esp, 4
test eax, eax
jne 0x4d968c
mov eax, dword [esp + 0x54]
add eax, dword [esi - 0x1c]
jmp 0x4d7e33
mov eax, dword [ecx]
cdq
add dword [esp + 0x4c], eax
adc dword [esp + 0x2c], edx
mov eax, dword [esp + 0x54]
add dword [esp + 0x30], eax
push 0
push dword [esp + 0x2c]
adc ebx, 0
call fcn.004d48c0
mov ecx, dword [esp + 0x2c]
add esp, 8
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [esi], eax
mov dword [esp + 0x24], ecx
lea eax, [esi - 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x4d7e6d
mov edx, dword [esp + 0x30]
sub esi, 0x28
jmp 0x4d7c00
cmp ecx, 0x7e
jle 0x4d7e9b
mov eax, ecx
cdq
push edx
push eax
call fcn.004d48c0
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x2c], eax
cdq
push edx
push eax
call fcn.004d48c0
mov ecx, dword [esp + 0x34]
add esp, 0x10
cmp esi, eax
jge 0x4d7ea0
inc ecx
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x30]
mov eax, ecx
cdq
mov ecx, eax
mov eax, edx
add esi, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ecx
mov ecx, esi
adc ebx, eax
mov eax, dword [esp + 0x34]
add ecx, dword [esp + 0x4c]
adc ebx, dword [esp + 0x2c]
mov eax, dword [eax + 0x18]
cdq
cmp ebx, edx
jg 0x4d7edf
jl 0x4d7ed3
cmp ecx, eax
ja 0x4d7edf
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
jmp 0x4d7f0e
mov eax, dword [edi + 0x6c]
cdq
cmp ebx, edx
jg 0x4daa4c
jl 0x4d7ef5
cmp ecx, eax
ja 0x4daa4c
push esi
push dword [esp + 0x38]
call fcn.004dda30
add esp, 8
test eax, eax
jne 0x4d968c
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov eax, 0x10
mov word [edx + 8], ax
mov eax, ecx
or eax, dword [esp + 0x2c]
mov dword [edx + 0xc], esi
je 0x4d7f31
mov eax, 0x4010
mov dword [edx], ecx
mov word [edx + 8], ax
mov eax, dword [esp + 0x24]
mov esi, dword [edx + 0x10]
lea edi, [esi + eax]
cmp eax, 0x80
jae 0x4d7f4b
mov byte [esi], al
mov eax, 1
jmp 0x4d7f5c
push dword [esp + 0x38]
push dword [esp + 0x64]
push esi
call fcn.004c9cb0
add esp, 0xc
mov ebx, dword [esp + 0x1c]
movzx eax, al
add esi, eax
mov ebx, dword [ebx + 0x1c]
cmp ebx, 0x80
jae 0x4d7f79
mov byte [esi], bl
mov eax, 1
jmp 0x4d7f85
push 0
push ebx
push esi
call fcn.004c9cb0
add esp, 0xc
push ebx
mov ebx, dword [esp + 0x20]
movzx eax, al
push ebx
push edi
add esi, eax
call fcn.004dfa20
add ebx, 0x28
add esp, 0xc
add edi, eax
mov dword [esp + 0x1c], ebx
cmp ebx, dword [esp + 0x20]
jbe 0x4d7f65
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x28]
je 0x4d7ffc
push eax
call fcn.004a9330
mov esi, eax
mov ebx, edx
add esp, 4
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], ebx
jmp 0x4d8040
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], 0
push ecx
push eax
push edi
mov dword [esp + 0xb8], 0
call fcn.004a6e00
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
push dword [esp + 0xc]
push dword [ebp + 8]
call fcn.00496be0
add esp, 8
mov dword [eax], esi
mov dword [eax + 4], ebx
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
cmp dword [edi + 0x110], 0
jne 0x4dbcf5
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
cmp eax, edx
jb case.0x4d5d88.85
mov ebx, dword [esp + 0x70]
ja 0x4d8090
cmp dword [esp + 0x84], ebx
jb case.0x4d5d88.85
jmp 0x4d8090
mov eax, dword [edi + 0x158]
test eax, eax
je 0x4d5df0
add ebx, dword [edi + 0x160]
push dword [edi + 0x15c]
adc edx, 0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
call eax
add esp, 4
test eax, eax
jne 0x4dbce7
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
cmp eax, edx
ja 0x4d8090
jb 0x4d80d9
cmp dword [esp + 0x84], ebx
jae 0x4d8090
mov ecx, dword [ebp + 8]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x4d81d8
cmp dword [edi + 0xb8], ecx
jg 0x4db794
push eax
call fcn.004d0340
mov ecx, dword [edi + 0x1e0]
mov ebx, eax
add ecx, dword [edi + 0x1dc]
push ecx
push 0
push edi
call fcn.004e16a0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
push edx
lea eax, [ebx + 0x21]
push eax
push edi
call fcn.004ad310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4d5fa4
lea ecx, [ebx + 1]
push ecx
push dword [esp + 0x20]
lea edx, [esi + 0x20]
push edx
mov dword [esi], edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [edi + 0x4f], 0
je 0x4d8181
mov byte [edi + 0x4f], 0
mov byte [edi + 0x57], 1
jmp 0x4d8187
inc dword [edi + 0x1dc]
mov eax, dword [edi + 0x1d0]
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x84]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1d0], esi
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1ec]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x1f0]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1f4]
mov edi, dword [esp + 0x50]
mov dword [esi + 0x14], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
mov esi, dword [edi + 0x1d0]
xor ebx, ebx
push eax
test esi, esi
je 0x4db802
push dword [esi]
call fcn.004d02b0
add esp, 8
test eax, eax
je 0x4d8201
mov esi, dword [esi + 0x18]
inc ebx
mov eax, dword [esp + 0x1c]
jmp 0x4d81e0
cmp dword [edi + 0xb8], 0
mov ecx, dword [esp + 0x28]
jle 0x4d8217
cmp ecx, 1
je 0x4db7b3
cmp dword [esi + 0x18], 0
jne 0x4d8282
cmp byte [edi + 0x57], 0
je 0x4d8282
mov dword [esp + 0x2c], 1
cmp ecx, 1
jne 0x4d828a
push ecx
push dword [ebp + 8]
call fcn.004d50a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4dbc9d
push dword [ebp + 8]
mov byte [edi + 0x4f], 1
call fcn.004dca70
add esp, 4
cmp eax, 5
je 0x4db7d2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x28]
mov dword [esp + 0x14], edx
test edx, edx
je 0x4d8279
mov byte [edi + 0x4f], 0
jmp 0x4d8381
mov byte [edi + 0x57], 0
jmp 0x4d8389
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 0x1dc]
sub eax, ebx
dec eax
mov dword [esp + 0x1c], eax
cmp ecx, 2
jne 0x4d82ff
mov ecx, dword [edi + 0x18]
and ecx, 1
mov dword [esp + 0x20], 0
cmp dword [edi + 0x14], 0
mov dword [esp + 0x4c], ecx
jle 0x4d830d
xor eax, eax
test ecx, ecx
sete al
xor ebx, ebx
mov dword [esp + 0x38], eax
push eax
mov eax, dword [edi + 0x10]
push 0x204
push dword [ebx + eax + 4]
call fcn.004a9920
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x20]
add ebx, 0x10
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
jl 0x4d82c1
mov eax, dword [esp + 0x1c]
jmp 0x4d8311
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], 0
jmp 0x4d8315
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp dword [edi + 0x14], 0
mov dword [esp + 0x20], 0
jle 0x4d835d
xor ebx, ebx
push eax
mov eax, dword [edi + 0x10]
push ecx
push dword [ebx + eax + 4]
call fcn.004a9390
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x20]
add ebx, 0x10
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
jl 0x4d8325
cmp dword [esp + 0x4c], 0
je 0x4d837d
push 0
push edi
call fcn.004af630
push edi
call fcn.004ca850
mov edx, dword [esp + 0x20]
add esp, 0xc
or dword [edi + 0x18], 1
mov ebx, dword [esp + 0x1c]
test edx, edx
jne 0x4d6b5a
cmp dword [edi + 0x1d0], esi
je 0x4d83b8
mov ecx, dword [edi + 0x1d0]
push ecx
push edi
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1d0], eax
call fcn.004ad230
dec dword [edi + 0x1dc]
add esp, 8
cmp dword [edi + 0x1d0], esi
jne 0x4d8391
mov ecx, dword [esp + 0x28]
cmp ecx, 1
jne 0x4d83f6
mov eax, dword [esi + 0x18]
push esi
push edi
mov dword [edi + 0x1d0], eax
call fcn.004ad230
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x4d5fa4
mov ecx, dword [esp + 0x28]
dec dword [edi + 0x1dc]
push ebx
push ecx
push edi
call fcn.004e16a0
jmp 0x4d6c6e
cmp dword [esp + 0x2c], 0
mov eax, dword [esi + 8]
mov dword [edi + 0x1e8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1ec], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x1f0], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x1f4], eax
je 0x4d842a
cmp ecx, 2
jne 0x4d5fa4
push ebx
push ecx
push edi
call fcn.004e16a0
jmp 0x4d6c6e
mov edx, dword [esp + 0xc]
mov dword [esp + 0xa0], 0
mov edx, dword [edx + 8]
test edx, edx
je 0x4d845e
mov eax, dword [edi + 0x20]
and eax, 0x100000
or eax, 0
jne 0x4db821
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov esi, dword [eax + ecx*8 + 4]
test esi, esi
je 0x4d8532
lea eax, [esp + 0xa0]
push eax
push edx
push esi
call fcn.004a6510
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4db82b
mov ebx, dword [ebp + 8]
test byte [ebx + 0x98], 0x40
je 0x4d8536
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 8], eax
je 0x4d8536
cmp byte [edi + 0x4f], al
je 0x4d84c5
cmp dword [edi + 0xb4], 1
jle 0x4d8536
cmp dword [ebx + 0x30], 0
jne 0x4d84e0
mov eax, dword [edi + 0x1dc]
inc dword [edi + 0x1e0]
add eax, dword [edi + 0x1e0]
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x30]
dec eax
push eax
push 0
push edi
call fcn.004e16a0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d850c
push dword [ebx + 0x30]
push esi
call fcn.004a64b0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x1e8]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x1ec]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x1f0]
mov dword [ebx + 0x50], eax
mov eax, dword [edi + 0x1f4]
mov dword [ebx + 0x54], eax
jmp 0x4d8536
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
cmp word [esi + 2], 0
je 0x4d856b
mov eax, dword [esp + 0xa0]
cmp eax, dword [esi + 0xc]
jne 0x4db85f
mov eax, esi
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x10]
jne 0x4db85f
test edx, edx
jne 0x4d6b5a
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x108]
push eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
push dword [edx + 0xc]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004a7640
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00496be0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x108]
jmp 0x4d5f9e
mov edx, dword [esp + 0xc]
mov esi, dword [edx + 4]
push dword [edx + 0xc]
shl esi, 4
add esi, dword [edi + 0x10]
push dword [edx + 8]
push dword [esi + 4]
call fcn.004a9a70
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4d8616
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx eax, word [eax + 2]
mov ecx, dword [ecx + 0xc]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
or dword [edi + 0x18], 1
jmp 0x4d8628
cmp eax, 2
jne 0x4d8628
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov al, byte [eax + 0xc]
mov byte [ecx + 0x4c], al
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 1
jne 0x4d864d
push 0
push edi
call fcn.004af630
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x14]
and dword [ecx + 0x98], 0xfffffffc
jmp 0x4d8650
mov ecx, dword [ebp + 8]
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4d868f
mov eax, dword [esi + 0x34]
cmp eax, dword [ebx + 8]
je 0x4d87bd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x98]
and al, 3
cmp al, 1
je 0x4db8cb
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, esi
shl eax, 4
add eax, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], esi
mov ebx, dword [eax + 4]
mov dword [esp + 0x2c], ebx
cmp dl, 0x61
jne 0x4d86ff
mov edx, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
movzx ebx, word [edx + 2]
mov edx, dword [ebp + 8]
and ebx, 8
mov al, byte [eax + 0x4c]
or ebx, 4
cmp al, byte [edx + 0x93]
jae 0x4d8701
mov byte [edx + 0x93], al
jmp 0x4d8701
xor ebx, ebx
mov eax, dword [esp + 0xc]
test byte [eax + 2], 0x10
je 0x4d8728
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
lea esi, [ecx + eax*8]
push esi
call fcn.004ddf40
mov eax, dword [esi]
add esp, 4
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 1]
cmp al, 0xf7
jne 0x4d8740
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
movzx eax, word [eax + 8]
jmp 0x4d874d
cmp al, 0xfd
jne 0x4d8749
mov eax, dword [ecx + 0x10]
jmp 0x4d874d
mov eax, dword [esp + 0x60]
push 0
push esi
push eax
push dword [ecx + 4]
push dword [ebp + 8]
call fcn.0046b460
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4d968c
push dword [esi + 0x28]
mov eax, dword [esp + 0x24]
push dword [esp + 0x20]
or dword [esi + 8], 4
push ebx
push eax
push dword [esp + 0x3c]
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.004a6fd0
mov edx, eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], edx
cmp byte [eax + 1], 0xf7
setne al
mov byte [esi + 4], al
mov eax, dword [esp + 0xc]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
jmp 0x4d6c77
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov cl, byte [eax + 2]
mov eax, dword [esi + 0x28]
and cl, 3
mov byte [eax + 3], cl
jmp 0x4d6c77
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x60]
mov ebx, dword [eax + ecx*4]
movsx eax, word [ebx + 0x38]
push eax
push dword [edx + 4]
push esi
call fcn.0046b460
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4d968c
or dword [esi + 8], 1
push dword [esi + 0x28]
mov edx, dword [esi + 8]
mov byte [esi + 2], 1
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], ecx
mov al, byte [ebx + 4]
mov byte [esi + 4], al
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 8]
push ecx
xor eax, edx
and eax, 4
push 4
push dword [esi + 0x34]
xor eax, edx
mov dword [esi + 8], eax
push dword [ebx + 0xc]
call fcn.004a6fd0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x14], ebx
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x4d8897
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4d8897
push 0
push dword [esi + 0x34]
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call fcn.004a6880
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x4d8993
push 0
push 0xffffffffffffffff
push dword [edx + 8]
push ecx
push ebx
call fcn.0046b460
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4d968c
mov eax, dword [esp + 0xc]
lea ebx, [esi + 0xc]
or dword [esi + 8], 1
push 0x41e
movzx ecx, word [eax + 2]
or ecx, 5
push ecx
push ebx
push edi
push 0
push dword [edi]
call fcn.004a8980
mov edx, eax
add esp, 0x18
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d8979
push eax
push 1
push dword [ebx]
call fcn.004a6510
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d8979
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x4d8955
movzx eax, word [edx + 2]
lea ecx, [esi + 0x34]
or eax, 2
push eax
push ecx
push dword [ebx]
call fcn.004a6f80
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d894f
push dword [esi + 0x28]
push dword [esp + 0x3c]
push 4
push dword [esi + 0x34]
push dword [ebx]
call fcn.004a6fd0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
mov byte [esi + 4], 0
jmp 0x4d8979
push dword [esi + 0x28]
mov dword [esi + 0x34], 1
push 0
push 4
push 1
push dword [ebx]
call fcn.004a6fd0
mov edx, eax
mov byte [esi + 4], 1
add esp, 0x14
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp word [ecx + 2], 8
setne al
shl eax, 2
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
test edx, edx
jne 0x4d6b5a
mov byte [esi + 2], 1
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
push 1
push 0xffffffffffffffff
push dword [edx + 8]
push dword [edx + 4]
push ecx
call fcn.0046b460
add esp, 0x14
test eax, eax
je 0x4d968c
mov edx, dword [esp + 0xc]
push eax
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x2c], ecx
push dword [edx + 0xc]
push edi
call fcn.004dfd80
jmp 0x4d6c6e
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax + ecx*4]
mov edi, dword [edx + 0x10]
mov ecx, edi
mov esi, dword [edx + 0x14]
add ecx, 1
mov eax, esi
mov dword [edx + 0x10], ecx
adc eax, 0
or edi, esi
mov esi, dword [esp + 0xc]
mov dword [edx + 0x14], eax
je 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
push 3
push 0xffffffffffffffff
push dword [edx + 0xc]
push dword [edx + 4]
push ecx
call fcn.0046b460
add esp, 0x14
test eax, eax
je 0x4d968c
mov ecx, dword [esp + 0xc]
mov byte [eax + 2], 1
mov ecx, dword [ecx + 8]
mov dword [eax + 0x20], ecx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x530c54
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
push dword [eax + ecx*4]
push ebx
call fcn.004dc930
mov eax, dword [esp + 0x14]
add esp, 8
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov dword [eax + ecx*4], 0
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
cmp byte [esi + 4], 0
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
je 0x4d8be6
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
movzx eax, word [ecx + 8]
mov dword [esp + 0x38], eax
and al, 0x2e
mov dword [esp + 0x20], ecx
cmp al, 2
jne 0x4d8b09
push 0
push ecx
call fcn.0046c8c0
mov ecx, dword [esp + 0x28]
add esp, 8
push ecx
call fcn.004dcfd0
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x38]
movzx eax, word [ecx + 8]
mov word [ecx + 8], dx
test al, 0x24
jne 0x4d8b9d
test al, 8
jne 0x4d8b6c
test al, 1
jne 0x4d8d00
cmp ebx, 0x18
jge 0x4d8d00
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0x28]
call fcn.004a81a0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
jmp 0x4d8d47
fild qword [esp + 0xb0]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4d8b8e
fstp st(0)
test bl, 1
je 0x4d8b9d
dec ebx
jmp 0x4d8b9d
fcomp qword [ecx]
fnstsw ax
test ah, 5
jp 0x4d8b9d
test bl, 1
jne 0x4d8b9d
inc ebx
lea eax, [esp + 0x5c]
push eax
push 0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push 0
push dword [esi + 0x28]
call fcn.004a8350
mov edx, eax
add esp, 0x18
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], edx
mov dword [esi + 0x44], eax
test edx, edx
jne 0x4d6b5a
jmp 0x4d8c7c
mov eax, dword [esi + 0x28]
test byte [eax + 3], 2
je 0x4d8bf7
mov dword [esp + 0x1c], 1
mov eax, dword [esi + 0x2c]
test bl, 1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov ax, word [edx + 0x10]
mov word [esp + 0x118], ax
sete al
mov byte [esp + 0x11e], 0
lea eax, [eax*2 - 1]
mov byte [esp + 0x11a], al
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x120]
push eax
push dword [esi + 0x28]
call fcn.004a8350
mov edx, eax
add esp, 0x18
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
cmp dword [esp + 0x1c], eax
je 0x4d8c7c
cmp byte [esp + 0x11e], al
je 0x4d8d47
mov eax, dword [esp + 0x5c]
cmp ebx, 0x18
jl 0x4d8d2e
test eax, eax
js 0x4d8cc8
jne 0x4d8c94
cmp ebx, 0x19
je 0x4d8cc8
mov dword [esp + 0x5c], 0
cmp dword [esp + 0x1c], 0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
je case.0x4d5d88.85
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ebx, dword [esp + 0x84]
add esi, 0x14
jmp 0x4d5d66
push 0
push dword [esi + 0x28]
mov dword [esp + 0x64], 0
call fcn.004a8930
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
je 0x4d8c9c
cmp edx, 0x65
jne 0x4d6b5a
mov dword [esp + 0x5c], 1
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x10]
add esi, 0x14
jmp 0x4d5d66
test eax, eax
jg 0x4d8d53
jne 0x4d8d39
cmp ebx, 0x16
je 0x4d8d53
mov eax, dword [esi + 0x28]
xor ecx, ecx
cmp byte [eax], cl
setne cl
mov dword [esp + 0x5c], ecx
cmp dword [esp + 0x5c], 0
jne 0x4d8d00
jmp 0x4d8c9c
push 0
push dword [esi + 0x28]
mov dword [esp + 0x64], 0
call fcn.004a9160
jmp 0x4d8cda
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, edx
mov eax, dword [eax + 8]
shl eax, 3
xor eax, dword [ecx + 8]
and eax, 8
xor dword [ecx + 8], eax
jmp 0x4d5fa4
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
cmp dword [eax + ecx*4], 0
mov ecx, dword [ebp + 8]
je case.0x4d5d88.11
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
test byte [eax + 8], 8
jne 0x4d5df0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
jle 0x4d8e2a
mov eax, dword [ebx + 0x2c]
lea ebx, [esp + 0x1f8]
mov dword [esp + 0x1f8], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x200], ax
xor eax, eax
mov dword [esp + 0x1fc], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
jmp 0x4d8e79
mov eax, 0x4000
test word [esi + 8], ax
je 0x4d8e46
push esi
call fcn.004ddae0
add esp, 4
test eax, eax
jne 0x4d968c
push dword [ebx + 0x2c]
call fcn.004d4da0
mov ebx, eax
add esp, 4
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4d968c
push ebx
push dword [esi + 0x10]
push dword [esi + 0xc]
mov esi, dword [esp + 0x2c]
push dword [esi + 0x2c]
call fcn.004df5c0
mov ecx, dword [esp + 0x1c]
add esp, 0x10
mov byte [ebx + 0xa], 0
cmp byte [ecx], 0x1c
mov dword [esp + 0x20], 0
jne 0x4d8eb7
movzx edx, word [ebx + 8]
xor ecx, ecx
test edx, edx
jle 0x4d8eb7
mov eax, dword [ebx + 4]
add eax, 8
lea ebx, [ebx]
test byte [eax], 1
jne 0x4d8eaf
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x4d8ea0
jmp 0x4d8eb7
mov dword [esp + 0x20], 1
lea eax, [esp + 0xfc]
push eax
push 0
push 0
push 0
push ebx
push dword [esi + 0x28]
call fcn.004a8350
mov edx, eax
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test eax, eax
je 0x4d8eed
push eax
push edi
call fcn.004ad230
mov edx, dword [esp + 0x1c]
add esp, 8
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0xfc]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x20], eax
mov al, 1
mov byte [esi + 3], dl
sete cl
mov dword [esi + 0x1c], edx
sub al, cl
mov byte [esi + 2], al
mov esi, dword [esp + 0xc]
cmp byte [esi], 0x1e
jne 0x4d8f3e
test ecx, ecx
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
cmp dword [esp + 0x20], 0
jne 0x4d8d04
test ecx, ecx
je 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x24
lea esi, [ebx + eax*8]
jne 0x4d8fe9
mov ecx, 0xa
lea edi, [esp + 0x230]
rep movsd dword es:[edi], dword [esi]
mov ax, word [esp + 0x238]
test al, 4
jne 0x4d8fd5
test al, 8
jne 0x4d8fb5
test al, 2
je 0x4d8fcd
lea eax, [esp + 0x230]
push 1
push eax
call fcn.0046c8c0
add esp, 8
jmp 0x4d8fc5
lea eax, [esp + 0x230]
push eax
call fcn.004dd010
add esp, 4
mov ax, word [esp + 0x238]
test al, 4
je 0x4d8d00
mov ebx, dword [esp + 0x230]
mov edx, dword [esp + 0x234]
mov edi, dword [esp + 0x50]
jmp 0x4d9004
mov esi, dword [esp + 0xc]
jmp 0x4d8ff3
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0xe0], 0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xe0]
push eax
push 0
push edx
push ebx
push 0
push dword [esi + 0x28]
call fcn.004a8350
mov edx, eax
mov dword [esi + 0x40], ebx
mov eax, dword [esp + 0x38]
add esp, 0x18
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0xe0]
mov word [esi + 2], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], eax
mov esi, dword [esp + 0xc]
mov dword [esp + 0x14], edx
test eax, eax
je 0x4d9088
cmp dword [esi + 8], 0
jne 0x4d8d04
push 0x15fc2
call fcn.004abc10
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00496be0
mov edx, dword [ebx + 4]
add esp, 8
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + edx*4]
mov ecx, dword [edx + 0x10]
mov dword [eax], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [esp + 0x84]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
push ebx
push ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x9c], 0
call fcn.00496be0
mov esi, dword [ebp + 8]
add esp, 8
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x60]
mov ebx, dword [ecx + edx*4]
test byte [ebx + 8], 2
jne 0x4d91ae
lea eax, [esp + 0x94]
push eax
push dword [ebx + 0x28]
call fcn.004a81a0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
cmp dword [esp + 0x94], eax
je 0x4d9178
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], eax
jmp 0x4d91ae
push dword [ebx + 0x28]
call fcn.004a7c20
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
cmp edx, 0x7fffffff
jl 0x4d91a0
jg 0x4d919a
cmp eax, 0xffffffff
jb 0x4d91a0
or dword [ebx + 8], 2
jmp 0x4d91ae
add eax, 1
mov dword [esp + 0x68], eax
adc edx, 0
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4d9246
mov edx, dword [esi + 0xc8]
test edx, edx
je 0x4d91e4
mov eax, dword [edx + 4]
test eax, eax
je 0x4d91d9
mov edi, edi
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4d91d0
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*8]
jmp 0x4d91ee
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
lea esi, [ecx + eax*8]
push esi
call fcn.004ddf40
mov ecx, dword [esi]
add esp, 4
mov edx, dword [esi + 4]
cmp ecx, 0xffffffff
jne 0x4d920d
cmp edx, 0x7fffffff
je 0x4d92b0
test byte [ebx + 8], 2
jne 0x4d92b0
add ecx, 1
adc edx, 0
cmp dword [esp + 0x6c], edx
jg 0x4d9239
jl 0x4d922d
mov eax, dword [esp + 0x68]
cmp eax, ecx
jae 0x4d923d
mov eax, ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
jmp 0x4d923d
mov eax, dword [esp + 0x68]
mov dword [esi], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], eax
test byte [ebx + 8], 2
je 0x4d92ba
xor esi, esi
mov edi, edi
lea eax, [esp + 0x68]
push eax
push 8
call fcn.0045dc20
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x9c]
mov ecx, dword [esp + 0x70]
and eax, 0x3fffffff
push edx
add ecx, 1
push 0
adc eax, 0
mov dword [esp + 0x78], ecx
push eax
push ecx
mov dword [esp + 0x84], eax
push 0
push dword [ebx + 0x28]
call fcn.004a8350
mov edx, eax
add esp, 0x20
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
cmp dword [esp + 0x94], eax
jne 0x4d92ba
inc esi
cmp esi, 0x64
jl 0x4d9250
mov edx, 0xd
jmp 0x4d6b56
mov ecx, dword [esp + 0x38]
mov byte [ebx + 3], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [esp + 0x68]
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 4], eax
jmp 0x4d5fa4
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, ebx
mov ebx, dword [esp + 0x18]
cmp byte [ecx + 1], 0xfa
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov ebx, dword [ebx + eax*8]
mov dword [esp + 0x210], ebx
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov dword [esp + 0x214], eax
jne 0x4d934e
cmp dword [edi + 0xf0], 0
je 0x4d934e
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
jmp 0x4d935e
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
test byte [ecx + 2], 1
je 0x4d936e
mov edi, dword [ebp + 8]
inc dword [edi + 0x2c]
mov edi, dword [esp + 0x50]
test byte [ecx + 2], 0x20
je 0x4d937a
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], eax
mov ebx, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
mov eax, dword [ebx + edx*8 + 0x10]
mov dword [esp + 0x218], eax
mov eax, dword [ebx + edx*8 + 0xc]
mov dword [esp + 0x224], eax
test cl, 0x10
je 0x4d93a2
mov ebx, dword [esi + 0x20]
jmp 0x4d93a4
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov edi, 0x4000
test word [eax + edx*8 + 8], di
mov edi, dword [esp + 0x50]
je 0x4d93c4
mov eax, dword [eax + edx*8]
mov dword [esp + 0x228], eax
jmp 0x4d93cf
mov dword [esp + 0x228], 0
push ebx
and ecx, 0xa
mov dword [esp + 0x20c], 0
push ecx
lea eax, [esp + 0x210]
push eax
push dword [esi + 0x28]
call fcn.004a7820
mov edx, eax
mov byte [esi + 3], 0
add esp, 0x10
mov dword [esp + 0x14], edx
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d5fa4
push dword [esp + 0x214]
push dword [esp + 0x214]
push dword [eax]
mov eax, dword [esp + 0x18]
push dword [esp + 0x28]
mov al, byte [eax + 2]
and al, 4
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0x12
push eax
push dword [edi + 0xec]
mov eax, dword [edi + 0xf0]
call eax
add esp, 0x18
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
cmp byte [edx + 1], 0xfa
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
jne 0x4d94b4
cmp dword [edi + 0xf0], 0
je 0x4d94b4
movsx ecx, byte [esi + 1]
mov eax, dword [edi + 0x10]
add ecx, ecx
test byte [edx + 2], 2
mov ebx, dword [edx + 0x10]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x20], eax
je 0x4d94be
cmp byte [esi + 4], 0
je 0x4d94be
push dword [esi + 0x28]
call fcn.004a7c20
mov dword [esi + 0x44], edx
add esp, 4
mov edx, dword [esp + 0xc]
mov dword [esi + 0x40], eax
jmp 0x4d94be
mov dword [esp + 0x20], 0
xor ebx, ebx
movzx eax, byte [edx + 2]
push eax
push dword [esi + 0x28]
call fcn.004a7120
mov edx, eax
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [esp + 0x14], edx
mov dword [esi + 0x20], 0
test edx, edx
jne 0x4d6b5a
test byte [esp + 0x38], 1
mov ecx, dword [ebp + 8]
je 0x4d6150
inc dword [ecx + 0x2c]
mov eax, dword [edi + 0xf0]
test eax, eax
je 0x4d6150
test byte [ebx + 0x24], 0x80
jne 0x4d6150
push dword [esi + 0x44]
push dword [esi + 0x40]
push dword [ebx]
push dword [esp + 0x2c]
push 9
push dword [edi + 0xec]
call eax
add esp, 0x18
jmp 0x4d5fa4
mov eax, dword [ecx + 0x2c]
add dword [edi + 0x68], eax
add esi, 0x14
mov ebx, dword [esp + 0x84]
mov dword [edi + 0x64], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov dword [ecx + 0x2c], 0
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xdc], 0
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
lea ebx, [esp + 0xdc]
push ebx
push dword [edx + 0x10]
push eax
push ecx
call fcn.004dfcb0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
mov esi, dword [esp + 0xc]
cmp dword [esp + 0xdc], eax
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 8]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
push edx
push dword [eax + ecx*4]
call fcn.004e0220
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
mov eax, ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x1c], edx
jmp 0x4d5fa4
mov ebx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00496be0
mov edx, dword [ebx + 4]
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x60]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 0x28]
push ebx
call fcn.0048f400
mov eax, dword [ebx + 0x2c]
add esp, 0xc
cmp eax, dword [edi + 0x6c]
ja 0x4daa4c
push esi
push eax
push ebx
call fcn.004ddcd0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0xc], eax
jne 0x4d5fa4
mov eax, 0x1000
test word [esi + 8], ax
je 0x4d5fa4
push esi
call fcn.004ddfa0
add esp, 4
test eax, eax
je 0x4d5fa4
push edi
call fcn.004c3810
mov esi, dword [ebp + 8]
push str.out_of_memory
push esi
call fcn.004d5c70
mov edx, 7
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 8]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
je 0x4d96e4
mov eax, 1
mov word [ebx + 8], ax
jmp 0x4d5fa4
cmp byte [esi + 3], 0
je 0x4d970f
mov ecx, dword [esi + 0x40]
mov dword [esp + 0xc0], ecx
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
jmp 0x4d5fa4
cmp byte [esi], 2
jne 0x4d9760
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0xc0]
push edx
push ecx
mov esi, dword [ecx]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call eax
push esi
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
mov dword [esp + 0x24], ecx
call fcn.004e1440
mov edx, dword [esp + 0x24]
add esp, 0x10
test edx, edx
jne 0x4d6b5d
mov ecx, dword [esp + 0xc0]
mov dword [ebx], ecx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
jmp 0x4d5fa4
push esi
call fcn.004d55e0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
cmp byte [esi + 2], al
je 0x4d978a
mov eax, 1
mov word [ebx + 8], ax
jmp 0x4d5fa4
push dword [esi + 0x28]
call fcn.004a7c20
mov ecx, eax
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], ecx
add esp, 4
mov dword [ebx], ecx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
jmp 0x4d5fa4
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
jne 0x4d5df0
push dword [eax + 0x28]
call fcn.004a6860
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0xe4], 0
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x28]
cmp dl, 0x81
jne 0x4d982a
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je 0x4d5fa4
lea ecx, [esp + 0xe4]
push ecx
push eax
call fcn.004a81a0
mov edx, eax
mov byte [esi + 3], 0
mov eax, dword [esp + 0xec]
add esp, 8
mov dword [esp + 0x14], edx
mov byte [esi + 2], al
mov dword [esi + 0x1c], 0
test edx, edx
jne 0x4d6b5a
mov esi, dword [esp + 0xc]
cmp dword [esi + 8], edx
jle 0x4d5df0
test eax, eax
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x28]
lea eax, [esp + 0xcc]
push eax
push esi
call fcn.004a7580
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
cmp dword [esp + 0xcc], eax
jne 0x4d8d00
push esi
call fcn.004a9330
add esp, 4
test edx, edx
jl 0x4d5fa4
jg 0x4d98e7
test eax, eax
jb 0x4d5fa4
push edx
push eax
call fcn.004c2bb0
mov esi, dword [esp + 0x14]
add esp, 8
mov ecx, dword [ebp + 8]
cwde
cmp eax, dword [esi + 0xc]
jge 0x4d5df3
mov dword [esp + 0xcc], 1
jmp 0x4d8d07
inc dword [ecx + 0xac]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0xa4], 1
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xa4]
push eax
cmp byte [esi], 1
jne 0x4d9948
push esi
call fcn.004e01b0
jmp 0x4d995b
push dword [esi + 0x28]
call fcn.004a7580
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0xa4]
mov byte [esi + 2], al
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
push esi
push edi
call fcn.004dff50
jmp 0x4d99d0
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
push dword [edx + 0xc]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx + 0x10]
push dword [esi + 0x28]
call eax
mov edx, eax
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d99fe
mov ecx, dword [ebp + 8]
mov byte [esi + 2], al
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 2]
inc dword [ecx + eax*4 + 0xa4]
jmp 0x4db255
cmp edx, 0x65
jne 0x4d6b5a
mov dword [esp + 0x14], 0
mov byte [esi + 2], 1
jmp 0x4d8054
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [esp + 0xc]
test byte [ecx + 2], 1
mov eax, dword [ecx + 8]
lea eax, [eax + eax*4]
lea esi, [esi + eax*8]
je 0x4d9a42
inc dword [edx + 0x2c]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4d9a68
push esi
call fcn.004ddae0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], edx
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x258], eax
mov eax, dword [ecx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x26c], eax
mov ax, word [ecx + 0x10]
mov word [esp + 0x270], ax
movzx eax, word [ecx + 2]
test al, 0x10
je 0x4d9ab1
mov ecx, dword [ebx + 0x20]
jmp 0x4d9ab3
xor ecx, ecx
push ecx
and eax, 0xa
push eax
lea eax, [esp + 0x260]
push eax
push dword [ebx + 0x28]
call fcn.004a7820
add esp, 0x10
mov dword [ebx + 0x1c], 0
jmp 0x4d6c71
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x4d9b16
push esi
call fcn.004ddae0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
push esi
push ebx
call fcn.004e02d0
add esp, 8
jmp 0x4d6c71
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x1d8], eax
mov ax, word [edx + 0xc]
mov word [esp + 0x1e0], ax
mov eax, dword [edx + 8]
mov byte [esp + 0x1e2], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x100]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1e8]
push eax
push ebx
call fcn.004a8350
mov edx, eax
add esp, 0x18
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
cmp dword [esp + 0x100], eax
jne 0x4d9bc4
push 4
push ebx
call fcn.004a7120
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
jmp 0x4d5fa4
mov ecx, dword [esp + 0xc]
cmp word [ecx + 2], 0
jne 0x4db8d5
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + ecx*4]
push esi
call fcn.004d55e0
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4dbb9b
cmp byte [esi + 2], al
jne 0x4d9cd6
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb8]
push eax
push dword [esi + 0x28]
push edi
call fcn.004dce60
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4dbb9b
mov eax, dword [esp + 0xc]
cmp byte [eax], 0x85
jne 0x4d9c9c
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x60]
mov edi, dword [esp + 0x50]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0xb8]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0xbc]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0xc]
mov word [ecx + 2], 0x100
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x24], esi
mov esi, dword [esp + 0xc]
mov dword [ecx + 0x18], eax
add esi, 0x14
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push eax
push ebx
call fcn.00496be0
mov ecx, dword [esp + 0xc0]
add esp, 8
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
add esi, 0x14
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
call fcn.004de240
mov esi, dword [esp + 0x10]
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov edi, dword [esp + 0x50]
add esi, 0x14
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 3], 0
je 0x4d5df0
push eax
call fcn.004dc6a0
jmp 0x4d907f
mov ebx, dword [esp + 0xc]
cmp dl, 0x28
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x1e8], eax
mov ax, word [ebx + 0x10]
mov word [esp + 0x1f0], ax
sbb al, al
mov byte [esp + 0x1f2], al
mov eax, dword [ebx + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [esp + 0x1ec], eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1ec]
push eax
push ecx
push edi
call fcn.004dcd90
mov edx, eax
add esp, 0x10
mov eax, ebx
mov dword [esp + 0x14], edx
test byte [eax], 1
mov eax, dword [esp + 0x90]
jne 0x4d9db1
neg eax
jmp 0x4d9db2
inc eax
mov dword [esp + 0x90], eax
test edx, edx
jne 0x4d6b5d
mov esi, dword [esp + 0xc]
test eax, eax
jg 0x4d8d04
mov ecx, dword [ebp + 8]
add esi, 0x14
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, eax
add esp, 8
mov eax, 1
mov word [esi + 8], ax
mov ecx, dword [edi + 0xc0]
inc ecx
cmp dword [edi + 0xb4], ecx
jg 0x4db8df
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0xd4], 0
mov ebx, dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 4]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004a74b0
mov ecx, dword [esp + 0xdc]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, 4
mov word [esi + 8], ax
mov eax, ecx
cdq
mov dword [esi + 4], edx
mov edx, dword [esp + 0x14]
mov dword [esi], eax
test edx, edx
jne 0x4d6b5a
test ecx, ecx
je 0x4d5fa4
mov eax, dword [esp + 0xc]
push dword [eax + 4]
push ecx
push ebx
push edi
call fcn.004cb0d0
lea ecx, [ebx + 1]
add esp, 0x10
mov byte [esp + 0x67], cl
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], 0
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx + 8]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [edx + 4]
push dword [eax + ecx*8 + 4]
call fcn.004a6880
mov esi, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], edx
cmp dword [esi + 0xc], 0
je 0x4d9088
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0xd4]
add dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x4d9088
mov ebx, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
cdq
add dword [ebx + ecx*8], eax
adc dword [ebx + ecx*8 + 4], edx
mov edx, dword [esp + 0x14]
jmp 0x4d9088
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x60]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 1
jne 0x4d9f31
push dword [eax + 0x28]
push edi
call fcn.004dffe0
add esp, 8
jmp 0x4d5fa4
mov eax, dword [eax + 0x28]
push 0
push dword [eax + 0x40]
push dword [eax + 8]
call fcn.004a6880
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5d
jmp 0x4d5fa4
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, eax
mov dword [esp + 0xe0], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
push dword [eax + 0xc]
shl ecx, 4
lea eax, [esp + 0xe4]
add ecx, dword [edi + 0x10]
push eax
push dword [ecx + 4]
call fcn.004a6f80
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0xd8]
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
inc byte [edi + 0x5a]
push 0
push 0
push 0
push dword [edx + 0x10]
push edi
call fcn.004589a0
add esp, 0x14
dec byte [edi + 0x5a]
jmp 0x4d6c71
mov edx, dword [esp + 0xc]
mov esi, dword [edx + 4]
mov edx, dword [edx + 0x10]
test edx, edx
jne 0x4da01f
mov eax, dword [edi + 0x10]
mov ecx, esi
add ecx, ecx
push dword [eax + ecx*8 + 0xc]
call fcn.004cbff0
mov eax, dword [ebp + 8]
and dword [edi + 0x18], 0xffffffef
add eax, 0x7c
push 1
push eax
push esi
push edi
call fcn.004bfb40
mov ecx, dword [ebp + 8]
mov edx, eax
or dword [edi + 0x18], 1
add esp, 0x14
mov dword [esp + 0x14], edx
and dword [ecx + 0x98], 0xfffffffc
jmp 0x4da0f8
mov dword [esp + 0x174], esi
lea eax, [ecx + 0x7c]
mov ecx, dword [edi + 0x10]
add esi, esi
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], eax
mov dword [esp + 0x17c], 0
mov eax, dword [ecx + esi*8 + 4]
push edx
push str.sqlite_master
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18c], eax
push dword [ecx + esi*8]
push str.SELECTFROM__w_._s_WHERE__s_ORDER_BY_rowid
push edi
call fcn.004c2dc0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4db8f7
push 0
lea eax, [esp + 0x170]
mov byte [edi + 0xa5], 1
push eax
push fcn.004bf920
push esi
push edi
mov dword [esp + 0x18c], 0
mov dword [esp + 0x194], 0
call fcn.004589a0
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4da0e0
mov eax, dword [esp + 0x178]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4da0e0
cmp dword [esp + 0x180], eax
jne 0x4da0e0
push 0x1656f
call fcn.004abc10
add esp, 4
mov dword [esp + 0x14], eax
push esi
push edi
call fcn.004ad230
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [ebp + 8]
mov byte [edi + 0xa5], 0
test edx, edx
jne 0x4db8ff
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
push dword [edx + 4]
push edi
call fcn.004a45d0
add esp, 8
jmp 0x4d6c71
mov edx, dword [esp + 0xc]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004d1320
add esp, 0xc
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004d1280
add esp, 0xc
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004d1390
add esp, 0xc
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
lea esi, [eax + eax*4]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ebx, [ebx + eax*8]
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi*8]
inc eax
push eax
push dword [edx + 8]
lea eax, [ecx + 4]
movzx ecx, word [edx + 2]
push eax
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
push edi
call fcn.004a7c40
push ebx
mov dword [esp + 0x54], eax
call fcn.004de240
mov eax, dword [esp + 0x120]
add esp, 0x1c
test eax, eax
je 0x4da207
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4d968c
mov edi, dword [esp + 0x18]
dec eax
push fcn.0045d750
cdq
push 1
sub dword [edi + esi*8], eax
mov eax, edi
push 0xffffffffffffffff
push ecx
push ebx
sbb dword [eax + esi*8 + 4], edx
call fcn.004de300
mov edi, dword [esp + 0x64]
add esp, 0x14
movzx eax, byte [esp + 0x48]
push eax
push ebx
call fcn.004d4e80
add esp, 8
jmp 0x4d8054
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 8]
lea ebx, [eax + eax*4]
jne 0x4da24a
push esi
call fcn.004de2b0
add esp, 4
test eax, eax
jne 0x4d968c
mov edi, dword [esp + 0x18]
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push dword [esi + 0x10]
call fcn.004cb2e0
add esp, 0xc
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea esi, [ebx + eax*8]
je 0x4da2bd
lea eax, [esp + 0x158]
push eax
push dword [esi + 0x10]
call fcn.004cb370
add esp, 8
test eax, eax
je 0x4da2bd
mov eax, dword [esp + 0xc]
push dword [esp + 0x15c]
push dword [esp + 0x15c]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
push eax
call fcn.004de200
add esp, 0xc
jmp 0x4d8054
push esi
call fcn.004de240
add esp, 4
jmp 0x4db252
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 0x10
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x20], eax
jne 0x4da305
push esi
call fcn.004de2b0
add esp, 4
test eax, eax
jne 0x4d968c
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x4da32e
push dword [edi + ebx*8 + 4]
push dword [edi + ebx*8]
push eax
push dword [esi + 0x10]
call fcn.004cb3d0
add esp, 0x10
test eax, eax
jne 0x4d8d00
mov eax, dword [esp + 0x20]
test eax, eax
js 0x4d5fa4
jmp 0x4da24e
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov dword [esp + 0x2c], esi
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
cmp word [eax + 2], 0
je 0x4da384
mov eax, dword [edx + 0xc8]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x4da380
mov edi, edi
cmp dword [eax + 0x1c], ecx
je 0x4db6c2
mov eax, dword [eax + 4]
test eax, eax
jne 0x4da370
mov ecx, dword [esp + 0x1c]
mov eax, dword [edx + 0xd0]
cmp eax, dword [edi + 0x94]
jge 0x4db91a
test byte [ecx + 8], 0x10
jne 0x4da540
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 8]
add esi, ecx
test ecx, ecx
jne 0x4da3ad
inc esi
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [esp + 0x38], eax
cdq
push edx
push eax
push edi
call fcn.004ad430
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4d968c
push dword [esp + 0x1c]
call fcn.004de170
mov ecx, dword [esp + 0x20]
mov eax, 0x410
mov edx, dword [esp + 0x10]
add esp, 4
sub edx, dword [esp + 0x44]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x24], 0x4dc890
mov ecx, dword [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 0x3c], esi
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x40], eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x58]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x38], eax
mov eax, dword [edx + 0x60]
mov dword [ebx + 0x14], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [ebx + 8], eax
mov eax, dword [edx + 0x6c]
mov dword [ebx + 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x1c], eax
lea eax, [esi + 2]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
lea eax, [ebx + 0x50]
cmp eax, ecx
je 0x4da48e
mov esi, pe_nt_image_headers32
mov word [eax + 8], si
mov dword [eax + 0x20], edi
add eax, 0x28
cmp eax, ecx
jne 0x4da480
mov esi, dword [esp + 0x2c]
inc dword [edx + 0xd0]
lea ecx, [ebx + 0x50]
mov eax, dword [edx + 0xc8]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [edx]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x64]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0xdc]
mov dword [ebx + 0x28], eax
mov dword [edx + 0x58], ecx
mov dword [edx + 0xdc], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0xc8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [edx + 0x18], eax
movzx eax, word [ebx + 0x40]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [edx + 0x60], ecx
mov eax, dword [esi + 0xc]
lea ecx, [ecx + eax*4]
mov dword [ebx + 0x18], ecx
mov eax, dword [esi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push 0
push ecx
call sub.MSVCRT.dll_memset
mov edx, dword [esi]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], edx
mov dword [ecx + 0x68], edx
mov eax, dword [esi + 4]
lea esi, [edx - 0x14]
mov dword [ecx + 0x6c], eax
mov dword [esp + 0xc], esi
jmp 0x4d805b
mov ebx, dword [ecx + 0x10]
jmp 0x4da492
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov esi, eax
mov eax, dword [ebp + 8]
push 0x1000
mov eax, dword [eax + 0xc8]
mov ecx, dword [eax + 0x30]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esp + 0x18]
add ecx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push esi
call fcn.004de590
add esp, 0x14
jmp 0x4d5fa4
mov eax, dword [edi + 0x20]
and eax, 0x80000
or eax, 0
mov eax, dword [esp + 0xc]
mov esi, eax
je 0x4da5c8
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x84]
cdq
add dword [edi + 0x1f0], eax
mov eax, dword [esp + 0x10]
adc dword [edi + 0x1f4], edx
add esi, 0x14
mov edi, dword [esp + 0x50]
jmp 0x4d5d66
cmp dword [eax + 4], 0
mov eax, dword [eax + 8]
cdq
je 0x4da5f5
add dword [edi + 0x1e8], eax
mov eax, dword [esp + 0x10]
adc dword [edi + 0x1ec], edx
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
add dword [ecx + 0x40], eax
mov eax, dword [esp + 0x10]
adc dword [ecx + 0x44], edx
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
cmp dword [esi + 4], 0
je 0x4da653
mov eax, dword [edi + 0x1e8]
or eax, dword [edi + 0x1ec]
jne 0x4d5df3
mov eax, dword [edi + 0x1f0]
or eax, dword [edi + 0x1f4]
je 0x4d8d07
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [ecx + 0x40]
or eax, dword [ecx + 0x44]
jmp 0x4da624
mov edx, dword [ecx + 0xc8]
test edx, edx
je 0x4da68f
mov eax, dword [edx + 4]
test eax, eax
je 0x4da679
lea esp, [esp]
mov edx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4da670
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [eax + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
lea edi, [eax + ecx*8]
jmp 0x4da6a0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
push edi
call fcn.004ddf40
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
push esi
call fcn.004ddf40
mov ecx, dword [esi + 4]
add esp, 8
mov eax, dword [esi]
cmp dword [edi + 4], ecx
jg 0x4d5fa4
jl 0x4da6d4
cmp dword [edi], eax
jae 0x4d5fa4
mov dword [edi], eax
mov dword [edi + 4], ecx
jmp 0x4d5fa4
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + esi*8 + 4]
mov ecx, dword [ebx + esi*8]
test edi, edi
jl 0x4d5fa4
jg 0x4da705
test ecx, ecx
je 0x4d5fa4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
cdq
sub ecx, eax
mov dword [ebx + esi*8], ecx
sbb edi, edx
mov dword [ebx + esi*8 + 4], edi
jmp 0x4d8d00
mov edx, dword [esp + 0xc]
push edx
push ecx
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov eax, dword [edx + 0xc]
lea ebx, [eax + eax*4]
call fcn.00496be0
mov edx, dword [esp + 0x20]
add esp, 8
mov edi, eax
mov ecx, dword [edx + esi*8 + 4]
mov eax, dword [edx + esi*8]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
test ecx, ecx
jl 0x4da79f
jg 0x4da75c
test eax, eax
je 0x4da79f
mov ecx, dword [edx + ebx*8 + 4]
mov eax, dword [edx + ebx*8]
test ecx, ecx
jl 0x4da76d
jg 0x4da771
test eax, eax
jne 0x4da771
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004a3730
add esp, 0xc
test eax, eax
jne 0x4da79f
mov eax, dword [esp + 0xe8]
mov dword [edi], eax
mov eax, dword [esp + 0xec]
mov dword [edi + 4], eax
jmp 0x4d5fa4
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea esi, [eax + eax*4]
mov ecx, dword [ebx + esi*8]
mov eax, ecx
mov edx, dword [ebx + esi*8 + 4]
or eax, edx
je 0x4d5fa4
test edx, edx
jl 0x4d8d00
jg 0x4da7e2
test ecx, ecx
je 0x4d8d00
sub ecx, 1
mov dword [ebx + esi*8], ecx
sbb edx, 0
mov dword [ebx + esi*8 + 4], edx
jmp 0x4d8d00
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8]
cmp edx, 0x80000000
jl 0x4da824
jg 0x4da817
test eax, eax
je 0x4da824
sub eax, 1
mov dword [ebx + ecx*8], eax
sbb edx, 0
mov dword [ebx + ecx*8 + 4], edx
mov eax, dword [ebx + ecx*8]
or eax, dword [ebx + ecx*8 + 4]
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
je 0x4d8d07
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov edx, dword [esp + 0xc]
push 0
movzx ebx, word [edx + 2]
lea eax, [ebx*4 + 0x44]
push eax
push edi
call fcn.004ad310
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4d968c
mov dword [esi + 8], 0
lea ecx, [ebx + 7]
lea ecx, [esi + ecx*4]
mov eax, 1
mov dword [esi], ecx
mov word [ecx + 8], ax
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x10]
sub ecx, dword [esp + 0x44]
mov dword [esi + 4], eax
mov eax, 0x66666667
imul ecx
mov byte [esi + 0x18], 0
sar edx, 3
mov eax, edx
mov dword [esi + 0x14], 0
shr eax, 0x1f
add eax, edx
mov byte [esi + 0x19], bl
mov edx, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov word [edx], 0xf09b
mov dword [edx + 0x10], esi
jmp 0x4da8de
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
mov esi, dword [edx + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov dword [esp + 0x38], ebx
cmp dword [esi + 8], ebx
je 0x4da930
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi + 8], ebx
js 0x4da930
mov edi, dword [esp + 0xc]
lea edx, [ecx + 7]
mov ebx, dword [esp + 0x18]
lea edx, [esi + edx*4]
nop
mov eax, dword [edi + 8]
lea edx, [edx - 4]
add eax, ecx
dec ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + 4], eax
jns 0x4da910
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
inc dword [ebx + 0xc]
lea eax, [esi + 0x1c]
cmp dword [edx + 4], 0
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
push esi
je 0x4da94b
mov eax, dword [ecx + 0x1c]
jmp 0x4da94e
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4d5fa4
jle 0x4da97f
push dword [esi]
call fcn.00455fd0
push eax
push 0x5178b0
push dword [ebp + 8]
call fcn.004d5c70
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x14], eax
cmp byte [esi + 0x18], 0
je 0x4da9ab
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 0x10]
test eax, eax
je 0x4da9a7
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
push 0
push 1
lea eax, [ecx + eax*8]
push eax
call fcn.004de200
add esp, 0xc
mov byte [esi + 0x18], 0
push dword [esi]
call fcn.004de170
mov eax, dword [esi]
mov ecx, 1
mov edx, dword [esp + 0x18]
add esp, 4
mov word [eax + 8], cx
mov dword [esi + 0x14], 0
test edx, edx
jne 0x4d6b5a
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [edx + 0x10]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4daa18
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
push esi
call fcn.004dd8d0
mov ecx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jmp 0x4daa23
push esi
call fcn.004ddb40
add esp, 8
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4db93d
movzx eax, byte [esp + 0x48]
push eax
push esi
call fcn.004d4e80
push esi
call fcn.004de690
add esp, 0xc
test eax, eax
je 0x4d5fa4
mov esi, dword [ebp + 8]
push str.string_or_blob_too_big
push esi
call fcn.004d5c70
mov edx, 0x12
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xf4], 0
push eax
push dword [edx + 8]
mov dword [esp + 0x104], 0xffffffff
push dword [edx + 4]
mov dword [esp + 0x104], 0xffffffff
push edi
call fcn.004a9cd0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x14], edx
test edx, edx
je 0x4daad5
cmp edx, 5
jne 0x4d6b5a
mov dword [esp + 0x14], 0
mov dword [esp + 0xf0], 1
mov eax, dword [esp + 0xc]
xor esi, esi
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
jmp 0x4daaf0
mov eax, dword [esp + esi*4 + 0xf0]
cdq
push edx
push eax
push edi
call fcn.004de200
inc esi
add esp, 0xc
add edi, 0x28
cmp esi, 3
jl 0x4daaf0
jmp 0x4d5fa4
mov ebx, dword [esp + 0xc]
push ebx
push ecx
call fcn.00496be0
mov edx, dword [ebx + 4]
add esp, 8
mov ecx, dword [edi + 0x10]
add edx, edx
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
movzx ecx, byte [ebx + 5]
mov dword [esp + 0x28], ecx
cmp esi, 0xffffffff
jne 0x4dab4a
mov esi, ecx
cmp byte [ebx + 0x10], 3
jae 0x4dab66
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
je 0x4dab68
cmp dword [ebx + 0x4c], 0
jl 0x4dab68
jg 0x4dab66
cmp dword [ebx + 0x48], 0
jbe 0x4dab68
mov esi, ecx
cmp byte [ebx + 0xf], 0
mov eax, 0x520668
jne 0x4dab79
mov eax, dword [ebx + 0xa8]
cmp esi, 5
jne 0x4daba7
push eax
call fcn.004d0340
add esp, 4
test eax, eax
je 0x4dab98
push ebx
call fcn.004c5e70
add esp, 4
test eax, eax
jne 0x4daba3
mov eax, dword [esp + 0x28]
mov esi, eax
jmp 0x4dac25
mov ecx, dword [esp + 0x28]
cmp esi, ecx
je 0x4dac21
cmp ecx, 5
je 0x4dabb5
cmp esi, 5
jne 0x4dac21
cmp byte [edi + 0x4f], 0
je 0x4db95e
cmp dword [edi + 0xb4], 1
jg 0x4db95e
cmp ecx, 5
jne 0x4dabef
push edi
push ebx
call fcn.004c4640
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4dac2f
push esi
push ebx
call fcn.004c5840
add esp, 8
jmp 0x4dac07
cmp ecx, 4
jne 0x4dabff
push 2
push ebx
call fcn.004c5840
add esp, 8
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4dac2f
xor eax, eax
cmp esi, 5
sete al
inc eax
push eax
push dword [esp + 0x3c]
call fcn.004a9890
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4dac35
jmp 0x4dac33
mov eax, dword [esp + 0x28]
mov esi, eax
push esi
push ebx
call fcn.004c5840
mov ebx, dword [esp + 0x68]
add esp, 8
mov ecx, 0xa02
mov word [ebx + 8], cx
cmp eax, 6
jne 0x4dac55
xor eax, eax
jmp 0x4dac5c
mov eax, dword [eax*4 + 0x51e068]
push eax
mov dword [ebx + 0x10], eax
call fcn.004d0340
mov dword [ebx + 0xc], eax
movzx eax, byte [esp + 0x4c]
push eax
push ebx
mov byte [ebx + 0xa], 1
call fcn.004d4e80
mov edx, dword [esp + 0x20]
add esp, 0xc
test edx, edx
jne 0x4d6b5a
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 8]
test eax, eax
je 0x4daca3
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
jmp 0x4daca5
xor eax, eax
push eax
push dword [edx + 4]
lea eax, [ecx + 0x7c]
push edi
push eax
call fcn.004cba80
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x10]
mov ecx, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004a7710
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
je 0x4d5fa4
cmp edx, 0x65
jne 0x4d6b5a
jmp 0x4d8cf8
cmp dword [esi + 4], 0
jne 0x4dad29
push dword [esi + 8]
push edi
call fcn.004af630
mov ecx, dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov eax, dword [esi + 8]
mov edi, dword [esp + 0x50]
inc eax
xor eax, dword [ecx + 0x98]
mov ebx, dword [esp + 0x84]
and eax, 3
xor dword [ecx + 0x98], eax
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x28]
or byte [eax + 1], 0x40
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and byte [eax + 1], 0xbf
add esi, 0x14
mov eax, dword [esp + 0x10]
jmp 0x4d5d66
mov al, byte [esi + 0xc]
mov byte [esp + 0x10c], al
test al, al
jne 0x4dadda
mov eax, dword [edi + 0x20]
and eax, 0x400
mov dword [esp + 0x38], eax
mov eax, 0
jne 0x4d5df3
test eax, eax
jne 0x4d5df3
mov eax, dword [esp + 0xc]
push dword [esp + 0x10c]
mov ecx, dword [eax + 4]
push dword [eax + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push dword [eax + ecx*8 + 4]
call fcn.004a8280
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
je 0x4d5fa4
mov esi, dword [ebp + 8]
cmp dl, 6
jne 0x4d6b5d
mov eax, dword [esp + 0xc]
push dword [eax + 0x10]
push str.database_table_is_locked:__s
push esi
call fcn.004d5c70
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4d6b5d
mov edx, dword [esp + 0xc]
mov esi, dword [edx + 0x10]
push esi
push edi
call fcn.004e09c0
add esp, 8
mov edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x4dae64
push dword [esi + 8]
mov esi, dword [ebp + 8]
push esi
call fcn.004e1440
mov edx, dword [esp + 0x1c]
add esp, 8
jmp 0x4dae67
mov esi, dword [ebp + 8]
test edx, edx
jne 0x4d6b5d
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1ac], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x1a8], edi
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
lea eax, [esp + 0x18c]
push eax
call fcn.004dda60
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x190]
push eax
call fcn.00455fd0
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x4daf16
lea ecx, [esi + 0x7c]
push ecx
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
push edi
call fcn.004e0c70
add esp, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x188]
push eax
call fcn.004de170
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jne 0x4d6b5d
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
inc dword [edi + 0xc0]
push dword [edx + 0x10]
push dword [edx + 4]
push edi
call fcn.004e0d50
dec dword [edi + 0xc0]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov dword [esp + 0x9c], 0
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
test esi, esi
je 0x4db9a4
mov ebx, dword [esi]
test ebx, ebx
je 0x4db9a4
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x18]
push esi
call eax
push esi
push dword [ebp + 8]
mov dword [esp + 0x24], eax
call fcn.004e1440
mov edx, dword [esp + 0x24]
add esp, 0x10
test edx, edx
jne 0x4d6b5a
mov eax, dword [esp + 0x9c]
push 2
push 0xffffffffffffffff
push edx
mov dword [eax], esi
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebp + 8]
call fcn.0046b460
add esp, 0x14
test eax, eax
je 0x4db990
mov ecx, dword [esp + 0x9c]
mov dword [eax + 0x28], ecx
inc dword [esi + 4]
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
lea ebx, [eax + eax*4]
mov eax, dword [esi + 0x60]
mov esi, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x28]
mov edx, dword [ecx + ebx*8 + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + ebx*8]
mov dword [esp + 0x38], eax
xor eax, eax
test edx, edx
jle 0x4db04b
lea ecx, [ecx + ebx*8]
add ecx, 0x50
nop
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4db040
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x64]
push edx
push dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
push dword [esp + 0x44]
push esi
call eax
push dword [esp + 0x30]
mov dword [esp + 0x2c], eax
push dword [ebp + 8]
call fcn.004e1440
mov edx, dword [esp + 0x30]
add esp, 0x1c
test edx, edx
jne 0x4d6b5a
mov eax, dword [ebx + 0x28]
push esi
call eax
mov ecx, dword [esp + 0x30]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
je 0x4d5fa4
jmp 0x4d8d00
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x18]
cmp byte [ebx + 2], 0
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
je 0x4db0d4
push esi
call fcn.004de240
add esp, 4
jmp 0x4d5fa4
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
mov dword [esp + 0x38], eax
xor eax, eax
test byte [edx + 2], 1
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x138], esi
je 0x4db144
push esi
call fcn.004de240
mov edx, dword [esp + 0x10]
add esp, 4
mov eax, 0x4001
mov dword [esi], 0
jmp 0x4db154
mov ax, word [esi + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [esi + 8], ax
lea eax, [esp + 0x138]
push dword [edx + 8]
push eax
mov eax, dword [esp + 0x40]
push dword [ebx + 0x28]
mov eax, dword [eax + 0x2c]
call eax
push dword [esp + 0x6c]
mov ebx, dword [ebp + 8]
push ebx
mov dword [esp + 0x28], eax
call fcn.004e1440
add esp, 0x14
cmp dword [esp + 0x14c], 0
jle 0x4db1ad
push esi
call fcn.00455fd0
push eax
push 0x5178b0
push ebx
call fcn.004d5c70
mov eax, dword [esp + 0x15c]
add esp, 0x10
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x48]
push eax
push esi
call fcn.004d4e80
push esi
call fcn.004de690
add esp, 0xc
test eax, eax
jne 0x4db9ae
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x4dbb9b
mov esi, dword [esp + 0xc]
mov ecx, ebx
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x60]
mov ebx, dword [eax + ecx*4]
cmp byte [ebx + 2], 0
jne 0x4d5fa4
mov eax, dword [ebx + 0x28]
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 0x24]
call eax
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [esp + 0x20], eax
call fcn.004e1440
mov edx, dword [esp + 0x20]
add esp, 0xc
test edx, edx
jne 0x4d6b5d
mov eax, dword [esp + 0x38]
push dword [ebx + 0x28]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
test eax, eax
jne 0x4d8054
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 8]
mov edx, dword [esp + 0x44]
dec esi
lea esi, [esi + esi*4]
lea esi, [edx + esi*4]
mov dword [esp + 0xc], esi
jmp 0x4d805b
mov edx, dword [esp + 0xc]
mov ebx, dword [edi + 0x20]
or dword [edi + 0x20], 0x4000000
and ebx, 0x4000000
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x10]
push 1
mov esi, dword [eax + 8]
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
push eax
mov dword [esp + 0x40], eax
call fcn.004d4e80
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov ecx, dword [esp + 0x38]
mov eax, dword [esi]
push dword [ecx + 0x10]
mov eax, dword [eax + 0x4c]
push esi
call eax
add esp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x4db2e1
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfbffffff
mov dword [edi + 0x24], eax
push esi
push dword [ebp + 8]
call fcn.004e1440
mov ecx, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x14]
and dword [ecx + 0x98], 0xfffffffc
test edx, edx
jne 0x4dbb94
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
cmp byte [edi + 0x51], 0
jne 0x4d968c
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4db9a4
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4db9a4
cmp dword [eax + 0x34], 0
mov edx, dword [edx + 8]
je 0x4d6150
mov al, byte [edi + 0x56]
mov esi, dword [ecx + 0x5c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x7b], al
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
xor eax, eax
test edx, edx
jle 0x4db381
mov dword [esi + eax*4], ecx
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4db376
mov eax, dword [esp + 0xc]
mov al, byte [eax + 2]
mov byte [edi + 0x56], al
lea eax, [esp + 0x130]
push eax
mov eax, dword [esp + 0x3c]
push esi
push edx
push ebx
mov eax, dword [eax + 0x34]
call eax
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x8b]
push ebx
push dword [ebp + 8]
mov byte [edi + 0x56], al
call fcn.004e1440
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [esp + 0xc]
test edx, edx
jne 0x4db3e2
cmp dword [eax + 4], edx
je 0x4db3e2
mov eax, dword [esp + 0x130]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x134]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0xc]
cmp dl, 0x13
jne 0x4db41f
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x10], 0
je 0x4db41f
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 2]
cmp eax, 4
jne 0x4db40a
mov dword [esp + 0x14], 0
jmp 0x4d5fa4
cmp eax, 5
jne 0x4db414
mov eax, 2
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x92], al
jmp 0x4db425
mov ecx, dword [ebp + 8]
inc dword [ecx + 0x2c]
test edx, edx
jne 0x4d6b5a
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x10]
shl edx, 4
mov ecx, dword [edx + ecx + 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], 0
jmp 0x4d5fa4
push dword [esp + 0xc]
push ecx
call fcn.00496be0
mov ecx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x14]
add esp, 8
mov edx, dword [eax + 4]
add edx, edx
mov esi, dword [ecx + edx*8 + 4]
xor ecx, ecx
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4db4ae
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
cmp ecx, edx
jae 0x4db4ae
mov ecx, edx
push ecx
push esi
call fcn.004a82f0
add esp, 8
mov dword [ebx], eax
mov dword [ebx + 4], 0
jmp 0x4d5fa4
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0xc]
mov esi, dword [edx + 0x10]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*8]
mov dword [esp + 0x38], ebx
cmp dword [esi], ebx
je 0x4db51b
mov dword [esi + 0xc], ecx
movzx ecx, byte [esi + 0x19]
dec ecx
mov dword [esi], ebx
js 0x4db51b
mov edi, dword [esp + 0xc]
lea edx, [esi + 0x1c]
mov ebx, dword [esp + 0x18]
lea edx, [edx + ecx*4]
lea esp, [esp]
mov eax, dword [edi + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
sub edx, 4
dec ecx
jns 0x4db500
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
mov ax, word [ebx + 8]
mov ecx, 0x3e40
and ax, cx
or ax, 1
mov word [ebx + 8], ax
lea eax, [esi + 0x1c]
mov ecx, dword [esi + 4]
push eax
movzx eax, byte [esi + 0x19]
push eax
mov eax, dword [ecx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x4db59a
jle 0x4db56b
push ebx
call fcn.00455fd0
push eax
push 0x5178b0
push dword [ebp + 8]
call fcn.004d5c70
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
push dword [eax + 4]
mov eax, dword [ebp + 8]
push dword [esi + 0x10]
add eax, 0xdc
push eax
push edi
call fcn.004d5660
mov edx, dword [esp + 0x24]
add esp, 0x10
mov dword [esi + 0x14], 0
test edx, edx
jne 0x4d6b5a
test byte [ebx + 8], 0x12
je 0x4d5fa4
movzx eax, byte [esp + 0x48]
push eax
push ebx
call fcn.004d4e80
push ebx
jmp 0x4daa3c
mov cl, byte [edi + 0x58]
mov ebx, dword [ebp + 8]
test cl, 0x41
je 0x4db666
cmp byte [ebx + 0x95], 0
jne 0x4db666
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4db5e7
mov eax, dword [ebx + 0xc0]
test eax, eax
je 0x4db666
push eax
test cl, 0x40
je 0x4db613
push ebx
call fcn.004dc000
mov ecx, dword [edi + 0xcc]
mov esi, eax
push esi
push dword [edi + 0xd0]
call ecx
push esi
call fcn.0045d750
mov esi, dword [esp + 0x20]
add esp, 0x14
jmp 0x4db666
cmp dword [edi + 0xbc], 1
jle 0x4db652
push str.____s
push edi
call fcn.004c2dc0
mov ecx, dword [edi + 0xcc]
mov esi, eax
push esi
push ebx
push dword [edi + 0xd0]
push 1
call ecx
add esp, 0x1c
test esi, esi
je 0x4db64c
push esi
push edi
call fcn.004ad230
add esp, 8
mov esi, dword [esp + 0xc]
jmp 0x4db666
mov eax, dword [edi + 0xcc]
push ebx
push dword [edi + 0xd0]
push 1
call eax
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, dword [0x52e3d4]
jl 0x4db6b1
cmp byte [esi], 0xaa
je 0x4d5df0
mov edx, 1
cmp dword [ebx + 0x6c], edx
jle 0x4db6aa
mov eax, 0x14
lea esp, [esp]
mov ecx, dword [ebx + 0x68]
cmp byte [eax + ecx], 0x11
jne 0x4db6a1
mov dword [eax + ecx + 4], 0
inc edx
add eax, 0x14
cmp edx, dword [ebx + 0x6c]
jl 0x4db690
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
inc dword [esi + 4]
inc dword [ecx + 0xbc]
jmp 0x4d8d07
mov esi, dword [esp + 0xc]
mov ecx, edx
mov eax, dword [esp + 0x10]
add esi, 0x14
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x84]
jmp 0x4d5d66
mov ecx, dword [edx + 4]
mov dword [ebx + 0x28], ecx
mov al, byte [edx + 8]
mov byte [ebx + 0x92], al
mov dword [ebx + 0x24], esi
test ecx, ecx
je 0x4db764
movzx eax, word [edx + 2]
test ax, ax
je 0x4db735
push dword [eax*4 + 0x51f688]
push str._s_constraint_failed
push ebx
call fcn.004d5c70
mov eax, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4db746
push eax
push dword [ebx + 0x7c]
push str._z:__s
push edi
call fcn.004c2dc0
add esp, 0x10
mov dword [ebx + 0x7c], eax
jmp 0x4db746
push dword [edx + 0x10]
push 0x5178b0
push ebx
call fcn.004d5c70
add esp, 0xc
push dword [ebx + 0x7c]
mov eax, dword [esp + 0x10]
push dword [ebx + 0xc0]
push esi
push str.abort_at__d_in___s_:__s
push dword [eax + 4]
call fcn.00466a50
add esp, 0x14
push ebx
call fcn.004dca70
mov esi, eax
add esp, 4
cmp esi, 5
jne 0x4dbb48
mov dword [ebx + 0x28], eax
jmp 0x4dbca4
push 0x15897
call fcn.004abc10
add esp, 4
mov edx, eax
jmp 0x4d6b56
mov esi, dword [ebp + 8]
push str.cannot_open_savepoint___SQL_statements_in_progress
push esi
call fcn.004d5c70
mov edx, 5
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
mov esi, dword [ebp + 8]
push str.cannot_release_savepoint___SQL_statements_in_progress
push esi
call fcn.004d5c70
mov edx, 5
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
mov ecx, dword [esp + 0xc]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov esi, 5
mov ebx, dword [ebp + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
mov byte [edi + 0x4f], 0
mov dword [ebx + 0x28], esi
jmp 0x4dbca4
mov esi, dword [ebp + 8]
push str.no_such_savepoint:__s
push esi
call fcn.004d5c70
mov edx, 1
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
mov edx, 8
jmp 0x4d6b56
cmp dl, 5
jne 0x4d6b5a
mov ecx, dword [esp + 0xc]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
imul ecx
mov dword [ebx + 0x28], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x4dbca4
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4db873
push eax
push edi
call fcn.004ad230
add esp, 8
push str.database_schema_has_changed
push edi
call fcn.004ad5e0
mov dword [esi + 0x7c], eax
add esp, 8
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
mov ecx, edx
mov eax, dword [edi + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [esp + 0xa0]
je 0x4db8ab
push edx
push edi
call fcn.004ca8d0
add esp, 8
mov eax, dword [esi + 0x98]
mov edx, 0x11
and eax, 0xfffffffd
mov dword [esp + 0x14], edx
or eax, 1
mov dword [esi + 0x98], eax
jmp 0x4d6b5d
mov edx, 0x204
jmp 0x4d6b56
mov edx, 0x30b
jmp 0x4d6b56
mov esi, dword [ebp + 8]
mov edx, 6
mov dword [esp + 0x14], edx
mov byte [esi + 0x92], 2
jmp 0x4d6b5d
mov dword [esp + 0x14], 7
push edi
call fcn.004ca850
mov edx, dword [esp + 0x18]
add esp, 4
cmp edx, 7
je 0x4d968c
jmp 0x4d6b5a
mov esi, dword [ebp + 8]
push str.too_many_levels_of_trigger_recursion
push esi
mov dword [esp + 0x1c], 1
call fcn.004d5c70
add esp, 8
mov edx, 1
jmp 0x4d6b5d
push esi
call fcn.00455fd0
mov esi, dword [ebp + 8]
push eax
push 0x5178b0
push esi
call fcn.004d5c70
mov edx, dword [esp + 0x24]
add esp, 0x10
jmp 0x4d6b5d
mov dword [esp + 0x14], 1
mov eax, str.into
cmp esi, 5
je 0x4db975
mov eax, str.out_of
mov esi, dword [ebp + 8]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
push esi
call fcn.004d5c70
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4d6b5d
push dword [esp + 0x9c]
mov eax, dword [ebx + 0x1c]
call eax
add esp, 4
jmp 0x4d968c
mov edx, 6
jmp 0x4d6b56
mov esi, ebx
jmp 0x4daa4f
push 0
push ecx
call fcn.004d50a0
mov edx, eax
add esp, 8
mov dword [esp + 0x14], edx
test edx, edx
jne 0x4d6b5a
mov ebx, dword [ebp + 8]
push 1
push ebx
call fcn.004d5470
mov eax, dword [ebx + 0x20]
add esp, 8
mov ecx, dword [esp + 0xc]
add eax, 2
mov edx, dword [esp + 0x18]
or eax, 1
mov dword [ebx + 0x20], eax
mov eax, dword [ecx + 4]
lea eax, [eax + eax*4]
lea esi, [edx + eax*8]
mov dword [ebx + 0x78], esi
xor ebx, ebx
cmp dword [ecx + 8], ebx
jle 0x4dba35
mov eax, 0x1000
test word [esi + 8], ax
je 0x4dba1f
push esi
call fcn.004ddfa0
add esp, 4
test eax, eax
jne 0x4d968c
push esi
call fcn.004de030
mov eax, dword [esp + 0x10]
inc ebx
add esp, 4
add esi, 0x28
cmp ebx, dword [eax + 8]
jl 0x4dba03
cmp byte [edi + 0x51], 0
jne 0x4d968c
test byte [edi + 0x58], 4
mov ebx, dword [ebp + 8]
je 0x4dba5e
mov eax, dword [edi + 0xcc]
push 0
push ebx
push dword [edi + 0xd0]
push 4
call eax
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
mov esi, 0x64
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
mov dword [ebx + 0x24], eax
jmp 0x4dbca4
mov edx, dword [esp + 0xc]
movzx eax, byte [edi + 0x4f]
mov ebx, dword [edx + 4]
mov ecx, dword [edx + 8]
cmp ebx, eax
je 0x4dbb60
test ecx, ecx
je 0x4dbab3
push 0x204
push edi
call fcn.004caf90
add esp, 8
mov byte [edi + 0x4f], 1
jmp 0x4dbaf9
test ebx, ebx
je 0x4dbadf
cmp dword [edi + 0xb8], 0
jle 0x4dbadf
mov esi, dword [ebp + 8]
push str.cannot_commit_transaction___SQL_statements_in_progress
push esi
call fcn.004d5c70
mov edx, 5
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
push 1
push dword [ebp + 8]
call fcn.004d50a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dbca1
mov byte [edi + 0x4f], bl
mov esi, dword [ebp + 8]
push esi
call fcn.004dca70
add esp, 4
cmp eax, 5
jne 0x4dbb3d
mov ecx, dword [esp + 0xc]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x24], eax
mov al, 1
sub al, bl
mov esi, 5
mov ebx, dword [ebp + 8]
mov byte [edi + 0x4f], al
mov dword [ebx + 0x28], esi
jmp 0x4dbca4
push edi
call fcn.004aa340
add esp, 4
mov ebx, esi
mov ecx, dword [ebx + 0x28]
neg ecx
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x65
mov dword [esp + 0x14], ecx
mov esi, ecx
jmp 0x4dbca4
test ebx, ebx
jne 0x4dbb6b
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x4dbb79
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x4dbb79
mov eax, str.cannot_commit___no_transaction_is_active
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004d5c70
mov edx, 1
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x4d6b5d
mov esi, ecx
jmp 0x4d6b5d
mov esi, ebx
jmp 0x4d6b5d
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x4dbbb5
mov ecx, str.no_more_rows_available
jmp 0x4dbbb5
mov ecx, str.another_row_available
push ecx
push 0x5178b0
push esi
call fcn.004d5c70
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 0x28], edx
cmp edx, 0xc0a
je 0x4dbbfa
movzx eax, dl
cmp eax, 0xe
je 0x4dbbe0
cmp eax, 0xa
jne 0x4dbbfa
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4dbbf5
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x4dbbf7
xor eax, eax
mov dword [edi + 0x48], eax
mov ecx, dword [esp + 0xc]
mov eax, 0x66666667
sub ecx, dword [esp + 0x44]
push dword [esi + 0x7c]
mov ebx, dword [esp + 0x18]
push dword [esi + 0xc0]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.00466a50
push esi
call fcn.004dca70
add esp, 0x18
cmp ebx, 0xc0a
jne 0x4dbc80
cmp byte [edi + 0x51], 0
jne 0x4dbc80
cmp byte [edi + 0x52], 0
jne 0x4dbc80
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x4dbc60
mov dword [edi + 0x110], 1
inc dword [edi + 0x118]
xor eax, eax
mov word [edi + 0x11c], ax
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x4dbc80
mov dword [eax + 0xc], 7
mov al, byte [esp + 0x67]
mov esi, 1
test al, al
je 0x4dbca1
movzx eax, al
dec eax
push eax
push edi
call fcn.004ca8d0
add esp, 8
jmp 0x4dbca1
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x74]
cmp dword [esp + 0x10], edx
jb 0x4dbcff
mov ecx, dword [esp + 0x70]
ja 0x4dbcbd
cmp dword [esp + 0x84], ecx
jb 0x4dbcff
mov eax, dword [edi + 0x158]
test eax, eax
je 0x4dbcff
add ecx, dword [edi + 0x160]
push dword [edi + 0x15c]
adc edx, 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
call eax
add esp, 4
test eax, eax
je 0x4dbca4
or esi, 0xffffffff
or eax, 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov edx, 9
jmp 0x4d6b56
mov ecx, dword [esp + 0x84]
add dword [ebx + 0xb4], ecx
cmp dword [ebx + 0xa0], 0
je 0x4dbd1e
push ebx
call fcn.004ee280
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret