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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x705034]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 0x30]
push esi
mov esi, dword [ebp + 0x2c]
mov dword [esp + 0x58], ecx
xor ecx, ecx
push edi
mov edi, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0x4b], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], edi
test edi, edi
jne 0x4cf3fd
cmp dword [eax + 0x74], edi
jne 0x4cf3ec
test byte [ecx + 0x4c], 8
jne 0x4cf3ec
mov byte [eax + 0x17], 1
mov ecx, eax
call fcn.0049ada0
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x50], edi
test byte [edx + 0x24], 0x20
movsx eax, word [edx + 0x2a]
mov dword [esp + 0x54], eax
jne 0x4cf41d
mov dword [esp + 0x40], 0
mov dword [esp + 0x64], 1
jmp 0x4cf448
mov ecx, dword [edx + 8]
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4cf440
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4cf438
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4cf428
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x64], ecx
xor edx, edx
mov dword [esp + 0x20], edx
test eax, eax
jle 0x4cf642
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax]
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4cf62a
test esi, esi
je 0x4cf47e
cmp dword [esi + edx*4], 0
jl 0x4cf62a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx esi, byte [eax + ecx + 0xc]
test esi, esi
je 0x4cf626
mov dl, byte [ebp + 0x20]
cmp dl, 0xb
je 0x4cf4ce
movzx esi, dl
cmp esi, 5
jne 0x4cf4af
cmp dword [eax + ecx + 4], 0
mov eax, 2
cmove esi, eax
mov edx, dword [esp + 0x20]
lea eax, [esi - 1]
mov dword [esp + 0x28], 0
cmp eax, 4
ja case.0x4cf4c7.4
jmp dword [eax*4 + 0x4d0cd4]
cmp esi, 0xb
jne 0x4cf49d
mov esi, 2
jmp 0x4cf4af
mov eax, dword [esp + 0x14]
inc edx
mov esi, dword [ebp + 0x14]
mov ecx, edi
add esi, edx
mov edx, 0x33
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
push eax
push esi
mov dword [esp + 0x30], eax
call fcn.0049b210
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + eax + 4]
call fcn.004b7920
add esp, 0xc
mov edx, 0x33
mov ecx, edi
push dword [esp + 0x28]
push esi
call fcn.0049b210
add esp, 8
mov esi, 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push dword [eax + ecx]
push dword [edx]
push 0x709a24
push dword [esp + 0x6c]
call fcn.0047bbf0
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, dword [edi + 0x6c]
inc edx
add edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x70], ecx
jg 0x4cf58e
push edx
push esi
push 0x513
mov edx, 0x44
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cf5bd
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov edx, dword [esp + 0x38]
cmp byte [ecx + 0x51], 0
je 0x4cf5d9
push edx
mov edx, 0xfffffff9
call fcn.0049bdb0
add esp, 4
jmp 0x4cf5eb
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cf602
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4cf622
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cf686
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
add dword [esp + 0x30], 0x10
inc edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x54]
jl 0x4cf460
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], edx
test edx, edx
je 0x4cf945
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4cf945
mov eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x20]
cmp al, 0xb
je 0x4cf6f0
movzx eax, al
mov dword [esp + 0x30], eax
jmp 0x4cf6f8
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4cf622
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
inc esi
add esi, edx
cmp dword [edi + 0x70], ecx
jg 0x4cf6b9
push 0
push dword [ebp + 0x24]
mov edx, 0x32
mov ecx, edi
push esi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cf622
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4cf626
mov dword [esp + 0x30], 2
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edx], ecx
jle 0x4cf93e
lea eax, [edx + 8]
mov dword [esp + 0x44], eax
nop dword [eax]
cmp dword [esp + 0x34], 0
mov esi, dword [eax - 4]
je 0x4cf78d
mov edi, dword [esp + 0x34]
xorps xmm0, xmm0
xor al, al
mov dword [esp + 0xa8], 0
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], edi
mov edi, dword [esp + 0x50]
mov byte [esp + 0xa4], al
mov dword [esp + 0x94], 0x4cf320
test esi, esi
je 0x4cf77d
mov edx, esi
lea ecx, [esp + 0x90]
call fcn.004ae3a0
mov al, byte [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp byte [ebp + 0x1c], 0
jne 0x4cf785
and al, 0xfd
test al, al
je 0x4cf922
mov ecx, dword [esp + 0x14]
push 0x10
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
push eax
push esi
push ecx
mov dword [esp + 0x78], eax
call fcn.004b7e50
mov edx, dword [esp + 0x40]
add esp, 0x10
cmp edx, 4
jne 0x4cf80b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cf7d4
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cf8f3
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4cf8f3
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4cf823
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
cmp edx, 5
mov eax, 2
cmove edx, eax
mov dword [esp + 0x30], edx
mov esi, dword [ecx + 8]
test esi, esi
jne 0x4cf85d
cmp dword [ecx + 0x74], esi
jne 0x4cf84e
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cf84e
mov byte [ecx + 0x17], 1
call fcn.0049ada0
mov edx, dword [esp + 0x30]
mov esi, eax
mov ecx, dword [esp + 0x14]
cmp edx, 2
jne 0x4cf86e
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4cf893
push 0
push edx
push 0x113
mov edx, 0x45
mov ecx, esi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cf8ca
mov edi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x113
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049c020
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cf8f3
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x68]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cf911
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4cf91a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
inc ecx
add eax, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [edx]
jl 0x4cf710
mov esi, dword [esp + 0x14]
mov dword [esi + 0x34], 0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4cf9c9
cmp dword [eax], 0
jne 0x4cf964
mov byte [ebp + 0x20], 4
mov dword [esp + 0x5c], 0
jmp 0x4cf9c9
mov eax, dword [eax + 0x10]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4cf9c9
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [edi + 0x70], edx
jg 0x4cf996
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x4cf9c9
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp + 0x1c], 0
je 0x4cfe10
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x4cfe10
mov ecx, dword [esp + 0x18]
dec dword [esi + 0x38]
cmp byte [ebp + 0x20], 0xb
mov edx, dword [esi + 0x38]
movzx eax, byte [ecx + 0x30]
mov dword [esp + 0x30], edx
je 0x4cf9fd
movzx eax, byte [ebp + 0x20]
jmp 0x4cfa08
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
test esi, esi
je 0x4cfa2f
cmp dword [esi + 0x10], 0
jne 0x4cfa2f
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
jmp 0x4cfa52
cmp eax, 5
jne 0x4cfa52
cmp byte [ebp + 0x20], al
je 0x4cfa52
cmp dword [ecx + 8], 0
je 0x4cfa52
lea edx, [eax + 6]
mov ecx, edi
call fcn.0049b150
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cfabf
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cfa7b
push eax
push edx
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, edi
call fcn.0049b0a0
mov edx, dword [esp + 0x3c]
add esp, 0xc
jmp 0x4cfaa8
mov esi, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4cfabf
lea ecx, [eax + eax*4]
mov esi, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], si
mov ecx, dword [edi + 0x6c]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x70], ecx
jg 0x4cfae0
push dword [ebp + 0x14]
mov ecx, edi
push edx
push esi
mov edx, 0x1f
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cfb0a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.default.0x4cfb1a
jmp dword [eax*4 + 0x4d0ce8]
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4cfb4d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push esi
push 0x7c
call fcn.004e3b10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cfb86
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4cfbcb
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047e430
add esp, 4
cmp dword [eax + 8], 0
jne 0x4cfb86
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cfbc7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 1
mov eax, dword [ecx + 0x74]
test eax, eax
push 5
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x34]
push esi
call fcn.004c7560
add esp, 0x24
mov dword [esp + 0x74], 1
jmp 0x4cfd54
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp dword [esi + 8], 0
je 0x4cfbf9
mov eax, dword [ecx + 0x74]
mov edx, esi
test eax, eax
push 0xffffffffffffffff
cmovne ecx, eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x24]
call fcn.004c7960
add esp, 0x10
mov dword [esp + 0x74], 1
jmp 0x4cfd54
push dword [ebp + 0xc]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
call fcn.004e7150
add esp, 0xc
mov edx, dword [ebp + 0x24]
mov ecx, edi
call fcn.0049b280
jmp 0x4cfd54
mov esi, 2
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 0x28]
test ax, ax
js 0x4cfc6a
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov eax, dword [esp + 0x18]
push dword [edx]
push 0x7094fc
push dword [eax]
call fcn.0047bbf0
add esp, 0x10
mov dword [esp + 0x28], 0x613
jmp 0x4cfc87
push dword [edx]
mov eax, dword [esp + 0x18]
push str._s.rowid
push dword [eax]
call fcn.0047bbf0
add esp, 0xc
mov dword [esp + 0x28], 0xa13
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
test edx, edx
jne 0x4cfcba
cmp dword [ecx + 0x74], edx
jne 0x4cfcab
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4cfcab
mov byte [ecx + 0x17], 1
call fcn.0049ada0
mov ecx, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x44], edx
cmp esi, 2
jne 0x4cfccb
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x4c], ecx
cmp dword [edx + 0x70], ecx
jg 0x4cfcf4
mov edx, dword [esp + 0x28]
push 0
push esi
mov esi, dword [esp + 0x4c]
mov ecx, esi
push edx
mov edx, 0x45
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cfd2b
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
push 0xfffffffffffffff9
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
call fcn.0049c020
mov eax, dword [esi + 0x6c]
add esp, 8
test eax, eax
jle 0x4cfd54
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cfd72
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4cfd7b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp dword [esp + 0x78], 0
je 0x4cfe10
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x80], esi
cmp dword [edi + 0x70], esi
jg 0x4cfdb3
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4cfde6
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x78]
sub ecx, 1
mov edx, dword [edi + 0x6c]
jns 0x4cfdf5
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4cfe04
mov eax, 0x717f0c
jmp 0x4cfe0d
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d02b4
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [edx + ecx*4], 0
je 0x4d02a0
mov edx, dword [esp + 0x6c]
cmp edx, eax
jne 0x4cfef3
mov eax, dword [esp + 0x70]
mov esi, dword [edi + 0x6c]
inc eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x7c], esi
cmp dword [edi + 0x70], esi
jg 0x4cfe77
push 0
push 0
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
mov dword [esp + 0x7c], eax
jmp 0x4cfeaa
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x70]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4cfeba
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4cfed8
mov esi, dword [esp + 0x14]
mov eax, 0x717f0c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
jmp 0x4cff01
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x6c]
lea eax, [eax + ecx*4]
mov eax, dword [esp + 0x1c]
jmp 0x4cff01
mov esi, dword [esp + 0x14]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x34], ecx
cmp byte [esp + 0x4b], 0
jne 0x4cff28
test edx, edx
je 0x4cff10
cmp edx, eax
jne 0x4cff28
mov eax, dword [ebp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x18]
inc eax
push eax
call fcn.004cda50
add esp, 4
mov byte [esp + 0x4b], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x24], 0
je 0x4d0001
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4cff5f
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4cff92
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x14]
not eax
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x38], eax
test edx, edx
je 0x4cffc1
push 0
push 0
mov ecx, eax
call fcn.004b1f30
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x38]
jmp 0x4cffc3
xor esi, esi
cmp byte [eax + 0x51], 0
jne 0x4cffe1
mov eax, dword [esp + 0x14]
push 0x10
push dword [esp + 0x38]
push esi
push eax
call fcn.004b8200
mov eax, dword [esp + 0x48]
add esp, 0x10
test esi, esi
je 0x4cffee
mov edx, esi
mov ecx, eax
call fcn.004b1ce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x34], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
xor esi, esi
mov edx, dword [edx + ecx*4]
xor ecx, ecx
inc edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], edx
cmp si, word [eax + 0x34]
jae 0x4d01f7
mov esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
nop dword [eax]
mov eax, dword [eax + 4]
movsx edx, word [eax + ecx*2]
cmp edx, 0xfffffffe
jne 0x4d0160
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x28]
not eax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 4]
test edx, edx
je 0x4d0077
push 0
push 0
call fcn.004b1f30
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x4d0079
xor eax, eax
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x38], eax
jne 0x4d00c4
test eax, eax
je 0x4d0112
cmp byte [eax], 0xab
jne 0x4d0112
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d00e1
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4e
mov ecx, esi
call fcn.0049b0a0
add esp, 0xc
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4d00d1
call fcn.004b1ce0
mov eax, dword [esp + 0x14]
mov dword [eax + 0x34], 0
jmp 0x4d01d0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4e
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d00c0
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
call fcn.004b6620
mov edx, eax
add esp, 4
cmp edx, esi
je 0x4d00c0
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
test esi, esi
je 0x4d00bc
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4d014b
push 0
push dword [esp + 0x24]
push edx
mov edx, 0x4f
jmp 0x4d00b2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x4d00f4
cmp edx, 0xffffffff
je 0x4d0179
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x28]
cmp edx, eax
je 0x4d0179
mov esi, dword [ebp + 0x14]
inc esi
add esi, edx
jmp 0x4d017c
mov esi, dword [ebp + 0x14]
mov ecx, dword [edi + 0x6c]
sar edx, 0x1f
and edx, 1
add edx, 0x4f
cmp dword [edi + 0x70], ecx
jg 0x4d01a4
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.0049b0a0
mov esi, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4d01d0
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov byte [eax + ecx*4], dl
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], esi
mov word [eax + 2], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, dword [esp + 0x1c]
inc esi
mov ecx, dword [esp + 0x54]
add dword [esp + 0x28], 0x18
inc ecx
mov dword [esp + 0x54], ecx
movzx eax, word [eax + 0x34]
cmp ecx, eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x1c]
jl 0x4d0030
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
movzx esi, word [eax + 0x34]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0225
push edx
push esi
push dword [esp + 0x38]
mov edx, 0x5c
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d0254
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
je 0x4d02f0
cmp edx, ecx
jne 0x4d02f0
cmp byte [ebp + 0x1c], 0
jne 0x4d02f0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d02e5
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x4cfe31
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4d0c22
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0bc3
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d0bf6
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4d0290
movzx eax, byte [ecx + 0x36]
test eax, eax
je 0x4d0274
cmp byte [ebp + 0x20], 0xb
je 0x4d0308
movzx eax, byte [ebp + 0x20]
jmp 0x4d0313
cmp eax, 0xb
mov esi, 2
cmove eax, esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x6c], ecx
jne 0x4d0334
mov esi, dword [esp + 0x5c]
xor eax, eax
cmp dword [esi + 8], eax
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], 0
jne 0x4d03fd
cmp dword [ecx + 0x14], 0
jne 0x4d03fd
cmp edx, ecx
jne 0x4d03fd
cmp eax, 5
jne 0x4d03fd
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4d0378
test eax, eax
je 0x4d03be
mov ecx, dword [esp + 0x14]
xor edx, edx
xor esi, esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4d0399
mov edx, dword [esp + 0x18]
call fcn.004e2a90
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4d03b3
nop
cmp byte [ecx + 8], 0x7c
jne 0x4d03ac
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4d03a0
xor eax, eax
test esi, esi
cmovne eax, edx
test eax, eax
jne 0x4d03fd
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x88], eax
mov eax, 0
jne 0x4d03dc
test eax, eax
je 0x4d0438
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x10], eax
jne 0x4d03fd
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.0047e430
add esp, 4
cmp dword [eax + 8], 0
je 0x4d043c
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x4c], edx
movzx esi, word [eax + 0x32]
mov dword [esp + 0x68], esi
cmp dword [edi + 0x70], edx
jg 0x4d046b
push dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, 0x1b
push dword [esp + 0x38]
add eax, dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.0049b0a0
add esp, 0xc
mov edx, eax
jmp 0x4d04ad
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d045d
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4d0294
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
jmp 0x4d0294
mov esi, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x24]
add edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x1b
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4d04c4
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x40]
jne 0x4d04d8
mov esi, dword [esp + 0x30]
mov dword [esp + 0x20], esi
jmp 0x4d0536
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
cmp eax, 1
jne 0x4d0505
mov al, byte [edx + 0x13]
test al, al
jne 0x4d04f4
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
jmp 0x4d052e
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov esi, dword [edx + eax*4 + 0x94]
jmp 0x4d052e
mov ecx, dword [edx + 0x1c]
mov esi, dword [edx + 0x20]
mov dword [esp + 0x20], esi
cmp eax, ecx
jg 0x4d0521
add eax, esi
sub ecx, dword [esp + 0x64]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4d0532
mov eax, dword [edx + 0x2c]
lea esi, [eax + 1]
add eax, dword [esp + 0x64]
mov dword [edx + 0x2c], eax
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x1c]
cmp dword [ebp + 0x18], 0
jne 0x4d0547
cmp dword [esp + 0x28], 5
jne 0x4d0919
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4d062b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0579
mov eax, dword [esp + 0x24]
mov edx, 0x87
add eax, dword [ebp + 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d05b3
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d0919
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d05dd
push eax
push dword [esp + 0x38]
mov edx, 0x35
mov ecx, edi
push esi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d060b
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4d0919
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4d0919
mov esi, dword [esp + 0x40]
cmp edx, esi
je 0x4d0716
mov ecx, dword [esp + 0x40]
xor esi, esi
xor eax, eax
mov dword [esp + 0x2c], esi
cmp ax, word [ecx + 0x32]
jae 0x4d0712
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
jle 0x4d067e
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
cmp si, word [eax]
je 0x4d06af
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4d0671
or eax, 0xffffffff
mov ecx, dword [edi + 0x6c]
movsx edx, ax
mov dword [esp + 0x4c], edx
cmp dword [edi + 0x70], ecx
jg 0x4d06b4
mov esi, dword [esp + 0x44]
mov ecx, edi
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
push esi
push edx
push eax
mov edx, 0x5a
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d06ee
movzx eax, cx
jmp 0x4d0681
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
add esi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x4c]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
inc esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x44], esi
mov esi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jl 0x4d0655
mov esi, dword [esp + 0x40]
cmp dword [ebp + 0x18], 0
je 0x4d0919
movzx ecx, word [esi + 0x32]
mov eax, dword [edi + 0x6c]
add eax, ecx
mov dword [esp + 0x54], 0x34
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x20]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
je 0x4d0919
mov eax, dword [ebp + 0x18]
inc eax
mov dword [esp + 0x68], eax
nop
mov eax, dword [esi + 0x20]
mov edx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], edx
mov esi, dword [eax]
mov ch, byte [esi + 0x4e]
mov cl, byte [esi + 0xa5]
mov byte [esp + 0x5b], ch
mov byte [esp + 0x5a], cl
test edx, edx
je 0x4d07ad
movzx eax, cl
mov ecx, esi
push eax
call fcn.004c6000
mov cl, byte [esp + 0x5e]
add esp, 4
mov edx, dword [esp + 0x88]
mov esi, eax
mov ch, byte [esp + 0x5b]
mov dword [esp + 0x44], eax
jmp 0x4d07b4
mov esi, dword [esi + 8]
mov dword [esp + 0x44], esi
test esi, esi
je 0x4d07c8
movzx eax, ch
lea eax, [eax + eax*4]
lea esi, [esi + eax*4]
add esi, 0xffffffec
mov dword [esp + 0x44], esi
test cl, cl
jne 0x4d07ec
test esi, esi
je 0x4d07d6
cmp dword [esi + 0xc], 0
jne 0x4d07ec
push edx
mov dl, ch
mov ecx, dword [esp + 0x18]
push esi
call fcn.004c5f20
mov esi, eax
add esp, 8
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edx*2]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x88], eax
movzx ecx, word [ecx + 0x32]
dec ecx
cmp edx, ecx
jne 0x4d081f
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], 0x35
mov ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x6c]
add ecx, eax
cmp dword [edi + 0x70], edx
jg 0x4d084d
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push eax
push dword [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
mov edx, eax
jmp 0x4d089d
mov esi, dword [esp + 0x44]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
mov byte [ecx], al
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4d08b5
push esi
mov edx, 0xfffffffe
call fcn.0049bdb0
add esp, 4
jmp 0x4d08e9
test edx, edx
jns 0x4d08bd
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4d08de
push 0xfffffffffffffffe
push esi
mov edx, eax
mov ecx, edi
call fcn.0049bf40
add esp, 8
jmp 0x4d08e9
test esi, esi
je 0x4d08e9
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfe
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4d0900
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
movzx eax, word [esi + 0x32]
cmp edx, eax
jl 0x4d0760
mov esi, dword [esp + 0x28]
lea eax, [esi - 1]
cmp eax, 5
ja case.0x4d0929.5
jmp dword [eax*4 + 0x4d0d00]
push dword [esp + 0x1c]
mov edx, esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.004c5230
add esp, 4
jmp 0x4d0ab3
mov eax, dword [esp + 0x24]
add eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x5c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004e7150
add esp, 0xc
jmp 0x4d0971
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4d0994
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d0ab3
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d0ab3
mov eax, dword [esp + 0x60]
xor esi, esi
mov eax, dword [eax + 0x20]
and eax, 0x2000
or eax, esi
je 0x4d0a26
mov ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4d09fc
mov edx, dword [esp + 0x18]
call fcn.004e2a90
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4d0a15
cmp byte [ecx + 8], 0x7c
jne 0x4d0a0e
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4d0a02
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov dword [esp + 0x4c], ecx
mov esi, ecx
test ecx, ecx
jne 0x4d0a5f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x4000
or eax, 0
je 0x4d0a6f
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [eax + 0x48]
mov edx, dword [eax]
add ecx, 0x38
call fcn.0047e430
add esp, 4
cmp dword [eax + 8], 0
jne 0x4d0a5f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x4d0a6f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
add eax, edx
push eax
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x20], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x74]
push dword [esp + 0x34]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.004c7560
add esp, 0x24
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x1c]
jne 0x4d0b48
mov edx, dword [esp + 0x70]
mov ecx, dword [edi + 0x6c]
inc edx
cmp dword [edi + 0x70], ecx
jg 0x4d0ae4
push 0
push edx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d0b17
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x7c]
mov ecx, eax
mov edx, dword [edi + 0x6c]
test eax, eax
jns 0x4d0b27
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0b39
mov eax, 0x717f0c
mov dword [eax + 8], edx
jmp 0x4d0b6f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4d0b6f
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x34]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d0b66
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4d0b6f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x30]
je 0x4d0290
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x4d0baf
test ecx, ecx
je 0x4d0290
mov al, byte [esi + 0x13]
mov edx, dword [esp + 0x3c]
cmp al, 8
jae 0x4d0ba6
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov esi, dword [esp + 0x18]
jmp 0x4d0298
cmp eax, dword [esi + 0x1c]
jle 0x4d0290
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
jmp 0x4d0290
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x80]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4d0c07
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4d0c16
mov eax, 0x717f0c
jmp 0x4d0c1f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test byte [esi + 0x24], 0x20
jne 0x4d0cb3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x88], esi
movsx edx, word [eax + 0x2a]
mov eax, dword [ebp + 0x14]
inc eax
cmp dword [edi + 0x70], ecx
jg 0x4d0c66
push esi
push edx
push eax
mov edx, 0x5c
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4d0c9c
mov esi, dword [esp + 0x88]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp + 0x14]
inc edi
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x4b], 0
jne 0x4d0cb3
mov edx, dword [esp + 0x18]
mov ecx, edi
push 0
call fcn.004cda50
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret