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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [ebp + 0x30]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], eax
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], ecx
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x58], eax
movsx eax, word [edx + 0x22]
mov dword [esp + 0xc], edi
mov dword [esp + 0xac], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x23], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
test cl, cl
js 0x4d5bc1
mov dword [esp + 0x30], 0
mov dword [esp + 0x8c], 1
jmp 0x4d5bf7
mov eax, dword [edx + 8]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4d5bec
mov esi, eax
nop
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x4d5be0
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4d5bd0
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x8c], eax
test ecx, 0x800
mov cl, byte [ebp + 0x20]
mov dword [esp + 0x6c], ecx
je 0x4d5fb0
xor eax, eax
xor edi, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x10]
nop
xor edx, edx
mov dword [esp + 0x44], edx
test ecx, ecx
jle 0x4d5f59
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x4c], edi
nop dword [eax + eax]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
add ecx, edi
mov dword [esp + 0x3c], ecx
mov edi, dword [ecx + 4]
and edi, 0xf
je 0x4d5f2f
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
cmp edx, eax
je 0x4d5f2b
movzx eax, word [ecx + 0xe]
and eax, 0x60
je 0x4d5c82
cmp dword [esp + 0x40], 0
jne 0x4d5c82
inc dword [esp + 0x2c]
jmp 0x4d5f2b
cmp dword [ebp + 0x2c], 0
mov esi, dword [esp + 0x24]
je 0x4d5ca1
mov esi, dword [ebp + 0x2c]
cmp dword [esi + edx*4], 0
mov esi, dword [esp + 0x24]
jge 0x4d5ca1
test eax, eax
je 0x4d5f2b
cmp byte [esp + 0x6c], 0xb
mov edx, dword [esp + 0x44]
je 0x4d5cd1
mov edx, dword [esp + 0x6c]
movzx edi, dl
mov edx, dword [esp + 0x44]
cmp edi, 5
jne 0x4d5cdb
cmp dword [esp + 0x40], 0
jne 0x4d5cca
cmp word [ecx + 0xc], 0
jne 0x4d5cea
mov edi, 2
jmp 0x4d5cea
cmp edi, 0xb
jne 0x4d5cb7
mov edi, 2
cmp dword [esp + 0x40], 0
je 0x4d5cea
test eax, eax
je 0x4d5f2b
mov ecx, dword [esp + 0x14]
call fcn.004c09f0
mov edx, dword [ebp + 0x14]
cwde
inc edx
add edx, eax
lea eax, [edi - 1]
mov dword [esp + 0x34], edx
cmp eax, 4
ja case.0x4d5d0a.4
jmp dword [eax*4 + 0x4d7c64]
mov edi, dword [esi + 0x74]
mov dword [esp + 0x28], edi
cmp dword [esi + 0x78], edi
jg 0x4d5d37
push 0
push 0
push edx
mov edx, 0x33
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4d5d66
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edx
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 + 0x3c]
inc dword [esp + 0x38]
movzx eax, word [eax + 0xc]
test ax, ax
je 0x4d5dad
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x2b], 0
jne 0x4d5dad
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x4d5dad
cmp dword [ecx], eax
jl 0x4d5dad
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*4 - 0xc]
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
test edx, edx
je 0x4d5db3
push 0
push 0
mov ecx, edi
call fcn.004ae6e0
add esp, 8
jmp 0x4d5db5
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
xor eax, eax
cmp byte [edi + 0x57], 0
mov dword [esp + 0x3c], eax
jne 0x4d5dd2
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
push edx
mov edx, eax
call fcn.004b5580
add esp, 4
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4d5de1
mov ecx, edi
call fcn.004ae3f0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d5df9
mov eax, 0x5d1b70
mov dword [eax + 8], edx
jmp 0x4d5f2b
mov ecx, dword [esp + 0x28]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4d5f2b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esp + 0x3c]
push dword [eax]
mov eax, dword [esp + 0x18]
push dword [eax]
push str._s._s
push dword [esp + 0x64]
call fcn.004740c0
mov ecx, dword [esi + 0x74]
add esp, 0x10
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
cmp dword [esi + 0x78], ecx
jg 0x4d5e6c
push edx
push edi
push 0x513
mov edx, 0x45
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d5e97
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x513
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x3c]
cmp byte [ecx + 0x57], 0
je 0x4d5eb3
push edx
mov edx, 0xfffffff9
call fcn.00496b00
add esp, 4
jmp 0x4d5ec5
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf9
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d5f2b
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4d5f2b
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d5efd
push 0
push dword [ebp + 0x24]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00495ff0
add esp, 0xc
jmp 0x4d5f2b
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [eax + ecx*4], 0x32
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 + 0x10]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x4c]
inc ecx
add edi, 0x10
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edi
mov edx, ecx
cmp ecx, eax
jl 0x4d5c40
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
test edi, edi
jne 0x4d5f65
test edx, edx
je 0x4d5fa4
test eax, eax
jne 0x4d5fa4
mov eax, 1
mov dword [esp + 0x40], eax
test edx, edx
jle 0x4d5c20
mov edx, dword [esp + 0x14]
test byte [edx + 0x1c], 0x60
je 0x4d5c20
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ebp + 0x14]
lea edx, [edx + 1]
call fcn.004d3620
mov eax, dword [esp + 0x44]
add esp, 4
jmp 0x4d5c1a
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], 2
test edx, edx
je 0x4d6266
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
and eax, 0x200
or eax, 0
jne 0x4d6266
mov eax, dword [ebp + 0x14]
not eax
mov dword [edi + 0x34], eax
movzx edi, cl
cmp cl, 0xb
jne 0x4d5ff1
mov edi, 2
xor ecx, ecx
mov dword [esp + 0x38], ecx
cmp dword [edx], ecx
jle 0x4d625b
lea eax, [edx + 0xc]
mov dword [esp + 0x60], 0xfffd
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], 3
nop dword [eax]
cmp dword [ebp + 0x2c], 0
mov eax, dword [eax - 4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x98], eax
je 0x4d60a2
mov esi, dword [ebp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0xc8], 0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0x24]
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0xb4], 0x4d5af0
test eax, eax
je 0x4d6086
mov edx, eax
lea ecx, [esp + 0xb0]
call fcn.004a9aa0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
cmp byte [ebp + 0x1c], 0
mov ax, word [esp + 0xc4]
jne 0x4d6099
and ax, word [esp + 0x60]
test ax, ax
je 0x4d6243
cmp byte [esp + 0x23], 0
jne 0x4d60c1
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x14]
inc eax
push eax
call fcn.004d33a0
add esp, 4
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x98]
dec dword [eax + 0x38]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x28], ecx
test edx, edx
je 0x4d60f0
mov ecx, dword [esp + 0x58]
push 0
push 0
call fcn.004ae6e0
mov ecx, dword [esp + 0x30]
add esp, 8
jmp 0x4d60f2
xor eax, eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
cmp byte [edx + 0x57], 0
jne 0x4d6110
push 0x10
push ecx
push eax
push dword [esp + 0x18]
call fcn.004b59b0
add esp, 0x10
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x4d6121
mov ecx, dword [esp + 0x58]
call fcn.004ae3f0
cmp edi, 4
jne 0x4d617e
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6147
push 0
push dword [ebp + 0x24]
lea edx, [edi + 7]
mov ecx, esi
push 0
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6214
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 0x4d6214
mov eax, dword [esp + 0x18]
cmp edi, 5
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, 2
cmove edi, eax
mov dword [esp + 0x98], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x4d61ca
cmp dword [ecx + 0x74], eax
jne 0x4d61b6
mov eax, dword [ecx]
test byte [eax + 0x50], 8
jne 0x4d61b6
mov byte [ecx + 0x17], 1
call fcn.00495da0
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
cmp edi, 2
jne 0x4d61db
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esp + 0x34]
push 0
push edx
push 0
push edi
push 0x113
mov edx, 0x46
call fcn.00496390
mov eax, dword [esp + 0x48]
add esp, 0x14
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x4d6214
mov eax, dword [eax + 0x70]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x80]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d6232
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d623b
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x14
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [edx]
jl 0x4d6020
mov edi, dword [esp + 0xc]
mov dword [edi + 0x34], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], 0
mov eax, dword [edx + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x38], eax
test ecx, ecx
je 0x4d63ce
cmp dword [ecx], 0
jne 0x4d62bb
mov al, byte [ecx + 0x14]
xor ecx, ecx
test al, al
cmovne ecx, dword [esp + 0x68]
setne al
mov dword [ebp + 0x30], ecx
lea eax, [eax*2 + 4]
mov dword [esp + 0x6c], eax
jmp 0x4d63ce
test eax, eax
je 0x4d63ce
xor edi, edi
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4d62c5
mov ecx, dword [esp + 0x58]
lea eax, [edi + edi*4]
add eax, eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x98], eax
push 0
push eax
test ecx, ecx
je 0x4d62f7
call fcn.00471b50
jmp 0x4d62fc
call fcn.00471490
add esp, 8
mov dword [esp + 0x70], eax
test eax, eax
je 0x4d7c5b
push dword [esp + 0x98]
push 0
push eax
call fcn.0054fa10
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [ebp + 0x30]
xor edx, edx
mov dword [esp + 0x18], edx
lea esi, [eax + edi*8]
mov edi, ecx
mov dword [esp + 0x28], esi
mov dword [ecx + 0x18], eax
cmp dword [edi], 0
je 0x4d638d
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x4d6382
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [eax + 8]
test eax, eax
je 0x4d635c
nop
cmp eax, edx
je 0x4d635c
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4d6350
cmp byte [ecx + esi], 0
mov edx, dword [esp + 0x18]
jne 0x4d6386
mov byte [ecx + esi], 1
mov esi, dword [esp + 0x70]
mov dword [esi + edx*8], eax
mov eax, esi
mov esi, dword [esp + 0x28]
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [esp + 0x18], edx
jmp 0x4d6386
mov edx, dword [esp + 0x18]
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x4d6336
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, dword [esp + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x4d63c6
mov edi, dword [esp + 0x70]
lea edx, [edi + edx*8]
mov edi, dword [esp + 0x28]
nop dword [eax]
cmp byte [ecx + edi], 0
jne 0x4d63be
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4d63b0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov eax, ecx
and eax, 0x6000
or eax, 0
jne 0x4d63ee
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
jmp 0x4d64ad
and ecx, 0x2000
or ecx, 0
push 0
mov ecx, edi
push 0
je 0x4d642e
push 0x80
call fcn.004f20c0
add esp, 0xc
mov dword [esp + 0x68], eax
test eax, eax
jne 0x4d6448
mov edx, dword [esp + 0x14]
mov ecx, edi
push eax
push eax
call fcn.004d1db0
add esp, 8
test eax, eax
jne 0x4d6448
mov dword [esp + 0x54], eax
jmp 0x4d64ad
mov dword [esp + 0x70], 0
call fcn.004d1db0
mov edx, eax
add esp, 8
mov dword [esp + 0x54], edx
test edx, edx
je 0x4d64ad
inc dword [edi + 0x2c]
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x54], edx
cmp dword [esi + 0x78], ecx
jg 0x4d6470
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d64a3
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x47
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
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x64], eax
cmp byte [ebp + 0x1c], 0
je 0x4d69a9
cmp dword [esp + 0x30], 0
jne 0x4d69a9
mov eax, dword [esp + 0x14]
dec dword [edi + 0x38]
mov ecx, dword [esp + 0x6c]
mov edi, dword [edi + 0x38]
movzx edx, byte [eax + 0x2a]
cmp cl, 0xb
je 0x4d64de
movzx edx, cl
jmp 0x4d64e6
cmp edx, 0xb
cmove edx, dword [esp + 0x4c]
cmp dword [ebp + 0x30], 0
mov dword [esp + 0x18], edx
je 0x4d6599
mov ecx, dword [ebp + 0x30]
cmp dword [ecx], 0
je 0x4d6509
cmp dword [ecx + 0x1c], 0
je 0x4d6509
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4d64f7
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x4d6529
xor edx, edx
cmp byte [ecx + 0x14], dl
setne dl
lea edx, [edx*2 + 4]
mov dword [esp + 0x18], edx
cmp ecx, dword [ebp + 0x30]
je 0x4d6595
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x90], ecx
cmp dword [esi + 0x78], ecx
jg 0x4d655a
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x90], eax
jmp 0x4d6591
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
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 + 0x14]
mov ecx, dword [esp + 0x6c]
cmp edx, 5
jne 0x4d6614
cmp cl, dl
je 0x4d6614
cmp dword [eax + 8], 0
je 0x4d6614
cmp dword [esp + 0x90], 0
jne 0x4d6614
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x4d65d3
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov edx, eax
jmp 0x4d660a
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
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
lea eax, [edx + 1]
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d667d
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6639
push eax
push edi
push dword [ebp + 0x14]
mov edx, 0x35
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6666
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d667d
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d669d
push dword [ebp + 0x14]
mov edx, 0x21
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00495ff0
add esp, 0xc
jmp 0x4d66ca
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, 5
ja case.default.0x4d66da
jmp dword [eax*4 + 0x4d7c78]
cmp dword [esp + 0x54], 0
mov edx, dword [esp + 0x14]
je 0x4d67ae
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 1
push 5
mov eax, dword [ecx + 0x74]
test eax, eax
push 0
push 1
push dword [ebp + 0x14]
cmovne ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov byte [ecx + 0x14], 1
push dword [esp + 0x88]
mov ecx, dword [esp + 0x30]
call fcn.004caf10
mov ecx, dword [esi + 0x74]
add esp, 0x24
cmp dword [esi + 0x78], ecx
jg 0x4d6760
push 0
push 1
push dword [esp + 0x5c]
mov edx, 0x55
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0xa4], 1
mov dword [esp + 0xac], 1
jmp 0x4d686b
mov edx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [esp + 0xa4], 1
mov dword [esp + 0xac], 1
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4d686b
cmp dword [edx + 8], 0
je 0x4d67da
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov eax, dword [ecx + 0x74]
test eax, eax
push dword [ebp + 0xc]
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x1c]
call fcn.004cb4c0
add esp, 0x10
mov dword [esp + 0xac], 1
jmp 0x4d686b
push dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push dword [esp + 0x1c]
call fcn.004f7570
add esp, 0xc
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6822
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00495ff0
add esp, 0xc
jmp 0x4d686b
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 0x4d686b
mov edx, 2
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.004c86a0
add esp, 4
mov ecx, dword [esi + 0xc]
not edi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d6885
push edi
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d688e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edi*4], eax
mov edi, dword [ebp + 0x30]
test edi, edi
je 0x4d6903
cmp dword [esp + 0x78], edi
je 0x4d6903
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xa0], ecx
cmp dword [esi + 0x78], ecx
jg 0x4d68cb
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0xa0], eax
jmp 0x4d69ac
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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
jmp 0x4d69ac
cmp dword [esp + 0x94], 0
je 0x4d69ac
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xa8], ecx
cmp dword [esi + 0x78], ecx
jg 0x4d693e
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0xa8], eax
jmp 0x4d6971
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 [esi]
mov ecx, dword [esp + 0x94]
mov edx, dword [esi + 0x74]
dec ecx
cmp byte [eax + 0x57], 0
je 0x4d698d
mov eax, 0x5d1b78
mov dword [eax], edx
jmp 0x4d69ac
test ecx, ecx
mov eax, edx
cmovns eax, dword [esp + 0x94]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
jmp 0x4d69ac
mov edi, dword [ebp + 0x30]
cmp dword [esp + 0x3c], 0
je 0x4d69be
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4d69c4
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x48], edx
test eax, eax
je 0x4d791f
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 8]
cmp dword [edx + ecx*4], 0
je 0x4d78d5
test edi, edi
je 0x4d6a43
mov ecx, edi
cmp dword [ecx], 0
je 0x4d6a04
cmp dword [ecx + 0x1c], eax
je 0x4d6a04
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x4d69f3
cmp dword [esp + 0x90], 0
mov dword [esp + 0x78], ecx
je 0x4d6a43
cmp ecx, edi
jne 0x4d6a43
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d6a28
mov eax, 0x5d1b70
jmp 0x4d6a40
mov ecx, dword [esp + 0x90]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x38]
dec eax
cmp byte [esp + 0x23], 0
mov dword [esp + 0x50], eax
mov dword [edi + 0x38], eax
jne 0x4d6a71
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x14]
inc eax
push eax
call fcn.004d33a0
add esp, 4
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
cmp dword [eax + 0x24], 0
je 0x4d6b4a
mov eax, dword [ebp + 8]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6aa7
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6ada
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4a
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 [edi + 0x34], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x24]
mov eax, dword [edi]
mov dword [esp + 0x28], eax
test edx, edx
je 0x4d6b0d
push 0
push 0
mov ecx, eax
call fcn.004ae6e0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x28]
jmp 0x4d6b0f
xor edi, edi
cmp byte [eax + 0x57], 0
jne 0x4d6b2c
push 0x10
push dword [esp + 0x54]
push edi
push dword [esp + 0x18]
call fcn.004b5ed0
mov eax, dword [esp + 0x38]
add esp, 0x10
test edi, edi
je 0x4d6b39
mov edx, edi
mov ecx, eax
call fcn.004ae3f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x34], 0
jmp 0x4d6b53
mov eax, dword [ebp + 0x14]
not eax
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x80], edx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x98], eax
lea edi, [eax + 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], edi
movzx eax, word [eax + 0x34]
mov ecx, eax
cmp dx, ax
jae 0x4d6ce3
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edx
nop
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
movzx edx, word [eax + edx*2]
movsx ecx, dx
cmp ecx, 0xfffffffe
jne 0x4d6c1c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov edx, dword [eax + edx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
test edx, edx
je 0x4d6be1
push 0
push 0
mov ecx, eax
call fcn.004ae6e0
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 8
jmp 0x4d6be3
xor edi, edi
cmp byte [eax + 0x57], 0
jne 0x4d6bfb
push dword [esp + 0x18]
mov edx, edi
call fcn.004b5580
mov eax, dword [esp + 0x2c]
add esp, 4
test edi, edi
je 0x4d6c08
mov edx, edi
mov ecx, eax
call fcn.004ae3f0
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov dword [eax + 0x34], 0
jmp 0x4d6cc0
cmp ecx, 0xffffffff
je 0x4d6c73
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x4d6c73
mov ecx, dword [esp + 0x14]
call fcn.004c09f0
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0x74]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x78], ecx
jg 0x4d6c5a
push 0
push edi
push edx
mov edx, 0x50
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6cc0
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x50
jmp 0x4d6ca8
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d6c92
push 0
push edi
push dword [ebp + 0x14]
mov edx, 0x51
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6cc0
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esp + 0x10]
inc edi
mov edx, dword [esp + 0x2c]
add dword [esp + 0x34], 0x14
inc edx
mov dword [esp + 0x2c], edx
movzx ecx, word [eax + 0x34]
mov dword [esp + 0x18], edi
cmp edx, ecx
jl 0x4d6b90
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
movzx edi, cx
mov ecx, dword [esi + 0x74]
mov edx, dword [edx + eax*4]
cmp dword [esi + 0x78], ecx
jg 0x4d6d0f
push edx
push edi
push dword [esp + 0x48]
mov edx, 0x60
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d6d3e
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
je 0x4d6d85
cmp edx, edi
jne 0x4d6d85
cmp byte [ebp + 0x1c], 0
jne 0x4d6d85
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d6d77
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d78ce
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
jmp 0x4d78ce
movzx eax, byte [edi + 0x36]
test eax, eax
jne 0x4d6dae
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d6d77
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d78ce
mov ecx, dword [esp + 0x6c]
cmp cl, 0xb
je 0x4d6dbc
movzx eax, cl
jmp 0x4d6dc7
cmp eax, 0xb
mov ecx, 2
cmove eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4d6de6
xor eax, eax
cmp byte [ecx + 0x14], al
setne al
lea eax, [eax*2 + 4]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x1c], 0
jne 0x4d6e9a
cmp dword [edi + 0x14], 0
jne 0x4d6e9a
cmp edx, edi
jne 0x4d6e9a
cmp eax, 5
jne 0x4d6e9a
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
and eax, 0x2000
mov dword [esp + 0x80], eax
je 0x4d6e3e
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0x80
call fcn.004f20c0
add esp, 0xc
test eax, eax
jne 0x4d6e9a
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x20]
and eax, 0x4000
mov dword [esp + 0x80], eax
je 0x4d6e75
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x30], 0
jne 0x4d6e9a
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax]
add ecx, 0x38
push 0
call fcn.00476580
add esp, 4
cmp dword [eax + 8], 0
jne 0x4d6e9a
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d6d77
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d78ce
mov edx, dword [esi + 0x74]
movzx edi, word [edi + 0x32]
mov dword [esp + 0x80], edi
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4d6ed8
push dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov edx, 0x1d
push dword [esp + 0x54]
add eax, dword [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00495ff0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x44], edx
jmp 0x4d6f1d
mov edi, dword [esp + 0x80]
lea eax, [edx + 1]
lea ecx, [edx + edx*4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
add edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4d6f34
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp edx, ecx
jne 0x4d6f4a
mov edi, dword [esp + 0x40]
mov dword [esp + 0x5c], edi
jmp 0x4d6fbd
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0xc]
cmp eax, 1
jne 0x4d6f82
mov al, byte [edx + 0x13]
test al, al
jne 0x4d6f6d
inc dword [edx + 0x2c]
mov edi, dword [edx + 0x2c]
mov dword [esp + 0x5c], edi
jmp 0x4d6fb9
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov edi, dword [edx + eax*4 + 0x98]
mov dword [esp + 0x5c], edi
jmp 0x4d6fb9
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x20]
mov dword [esp + 0x5c], edi
cmp eax, ecx
jg 0x4d6fa1
add eax, edi
sub ecx, dword [esp + 0x8c]
mov dword [edx + 0x20], eax
mov dword [edx + 0x1c], ecx
jmp 0x4d6fb5
mov eax, dword [edx + 0x2c]
lea edi, [eax + 1]
add eax, dword [esp + 0x8c]
mov dword [esp + 0x5c], edi
mov dword [edx + 0x2c], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
cmp dword [ebp + 0x18], 0
jne 0x4d6fce
cmp dword [esp + 0x34], 5
jne 0x4d736c
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0x80
jne 0x4d70b5
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7000
mov eax, dword [esp + 0x1c]
mov edx, 0x8d
add eax, dword [ebp + 0x10]
mov ecx, esi
push 0
push edi
push eax
call fcn.00495ff0
add esp, 0xc
jmp 0x4d703a
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
add edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x5c]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x8d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4d736f
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7067
push edx
push dword [esp + 0x54]
mov edx, 0x35
mov ecx, esi
push edi
call fcn.00495ff0
mov edx, dword [ebp + 0x18]
add esp, 0xc
jmp 0x4d7095
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x18]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d736f
lea ecx, [eax + eax*4]
mov edi, 0x90
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], di
jmp 0x4d736f
cmp edx, ecx
je 0x4d719e
xor edi, edi
xor eax, eax
mov dword [esp + 0x18], edi
cmp ax, word [ecx + 0x32]
jae 0x4d719e
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
movzx edx, word [edx + 0x34]
xor ecx, ecx
test edx, edx
je 0x4d7100
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movzx edi, word [eax + edi*2]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp di, word [eax]
je 0x4d7134
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4d70f3
or eax, 0xffffffff
mov ecx, dword [esi + 0x74]
movsx edx, ax
mov dword [esp + 0x80], edx
cmp dword [esi + 0x78], ecx
jg 0x4d7139
mov edi, dword [esp + 0x2c]
mov ecx, esi
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
push edi
push edx
push eax
mov edx, 0x5d
call fcn.00495ff0
add esp, 0xc
jmp 0x4d7176
movzx eax, cx
jmp 0x4d7103
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
add edi, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x80]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
inc edi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x2c], edi
mov edi, ecx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x4d70d7
mov ecx, dword [esp + 0x30]
cmp dword [ebp + 0x18], 0
je 0x4d736c
movzx ecx, word [ecx + 0x32]
mov eax, dword [esi + 0x74]
add eax, ecx
mov dword [esp + 0x4c], 0x34
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x5c]
and al, 3
cmp al, 2
cmove edx, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x18], edi
test ecx, ecx
je 0x4d736c
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x20]
mov edi, dword [eax + edi*4]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov al, byte [ecx + 0xb1]
mov dl, byte [ecx + 0x54]
mov byte [esp + 0x77], al
movzx eax, al
push eax
push edi
mov byte [esp + 0x87], dl
call fcn.004c8f90
add esp, 8
mov ecx, eax
cmp byte [esp + 0x77], 0
mov dword [esp + 0x2c], ecx
jne 0x4d7240
test ecx, ecx
je 0x4d722a
cmp dword [ecx + 0xc], 0
jne 0x4d7240
mov dl, byte [esp + 0x7f]
push edi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004c90a0
add esp, 8
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 4]
movzx edx, word [eax + ecx*2]
movzx eax, word [edi + 0x32]
dec eax
cmp ecx, eax
jne 0x4d7268
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], 0x35
mov ecx, dword [esp + 0x14]
call fcn.004c09f0
mov edi, dword [ebp + 0x18]
mov edx, dword [esi + 0x74]
inc edi
cwde
add edi, eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x80]
cmp dword [esi + 0x78], edx
jg 0x4d72a7
mov edx, dword [esp + 0x4c]
mov ecx, esi
push eax
push dword [esp + 0x2c]
push edi
call fcn.00495ff0
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, eax
jmp 0x4d72ec
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x10], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
add ecx, edi
mov byte [eax + 1], 0
mov dword [eax + 0xc], ecx
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4d7308
mov edx, dword [esp + 0x2c]
push edx
mov edx, 0xfffffffe
call fcn.00496b00
add esp, 4
jmp 0x4d7340
test edx, edx
jns 0x4d7310
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x2c]
je 0x4d7335
push 0xfffffffffffffffe
push edx
mov edx, eax
mov ecx, esi
call fcn.00496d50
add esp, 8
jmp 0x4d7340
test edx, edx
je 0x4d7340
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfe
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d7357
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x30]
inc edi
mov dword [esp + 0x18], edi
movzx eax, word [eax + 0x32]
cmp edi, eax
jl 0x4d71e2
mov edx, dword [ebp + 0x18]
mov edi, dword [esp + 0x34]
lea eax, [edi - 1]
cmp eax, 5
ja case.0x4d737f.5
jmp dword [eax*4 + 0x4d7c90]
push dword [esp + 0x10]
mov edx, edi
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.004c83a0
add esp, 4
jmp 0x4d77b0
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [ebp + 0x30]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.004f7570
add esp, 0xc
jmp 0x4d73c6
mov edi, dword [esp + 0xc]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d73e9
push 0
push dword [ebp + 0x24]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00495ff0
add esp, 0xc
jmp 0x4d77b0
mov edx, dword [ebp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 0x4d77b0
mov edi, dword [esi + 0x74]
sub edi, dword [esp + 0x44]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x28], edi
je 0x4d7449
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
inc dword [esp + 0xa4]
mov byte [ecx + 0x14], 1
cmp dword [esp + 0x68], 0
je 0x4d74a6
test edx, edx
je 0x4d74a6
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7474
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa6
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d74a6
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa6
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x1c]
add eax, edx
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
sete al
movzx eax, al
push eax
push 5
push 0
push dword [esp + 0x9c]
push dword [esp + 0x70]
push edx
push dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
push dword [esp + 0x88]
call fcn.004caf10
add esp, 0x24
cmp dword [esp + 0x68], 0
je 0x4d7548
cmp dword [ebp + 0x18], 0
je 0x4d7548
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7516
push 0
push 0
push dword [ebp + 0xc]
mov edx, 0xa7
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d7548
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xa7
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4d77a1
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7572
push 0
push 1
push edx
mov edx, 0x55
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d75a5
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x80], edx
cmp dword [esi + 0x78], edx
jg 0x4d75d2
push 0
push 0
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
mov dword [esp + 0x80], eax
jmp 0x4d7605
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
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 [esi + 0xc]
mov edx, dword [esp + 0x48]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d7623
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d762c
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xc]
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp dword [eax + 0x24], 0
je 0x4d769e
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4d7668
push 0
push edx
mov edx, dword [esp + 0xa0]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00495ff0
add esp, 0xc
jmp 0x4d769e
mov edx, dword [esp + 0x98]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
jle 0x4d7757
mov eax, dword [esp + 0x44]
nop word [eax + eax]
mov ecx, eax
test eax, eax
jns 0x4d76ba
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4d76c9
mov eax, 0x5d1b70
jmp 0x4d76d2
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
movups xmm0, xmmword [eax]
mov edi, dword [eax + 0x10]
movd eax, xmm0
movaps xmmword [esp + 0xb0], xmm0
cmp al, 0x8d
je 0x4d773d
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x24]
movzx edx, al
test byte [edx + 0x599510], 1
cmovne ecx, dword [esp + 0x48]
shr eax, 8
movsx eax, al
push eax
push edi
push dword [esp + 0xc4]
push ecx
push dword [esp + 0xc4]
mov ecx, esi
call fcn.00496390
mov eax, dword [esi + 0x74]
add esp, 0x14
test eax, eax
jle 0x4d773d
mov ecx, dword [esi + 0x70]
lea edx, [eax + eax*4]
mov ax, word [esp + 0xb2]
mov word [ecx + edx*4 - 0x12], ax
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
dec edi
inc eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], eax
test edi, edi
jg 0x4d76b0
push dword [esp + 0x10]
mov edi, dword [esp + 0x10]
mov edx, 2
mov ecx, edi
call fcn.004c83a0
mov eax, dword [esi]
add esp, 4
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d7783
mov eax, 0x5d1b70
mov dword [eax + 8], edx
jmp 0x4d77a5
mov ecx, dword [esp + 0x80]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4d77a5
mov edi, dword [esp + 0xc]
mov dword [esp + 0xac], 1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d77ce
push edx
mov edx, esi
call fcn.00496810
add esp, 4
jmp 0x4d77d7
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x40]
je 0x4d7812
mov eax, dword [esp + 0x8c]
cmp eax, 1
jne 0x4d7807
test ecx, ecx
je 0x4d7812
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4d7812
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
jmp 0x4d7812
cmp eax, dword [edi + 0x1c]
jle 0x4d7812
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4d78ce
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x4d78ce
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4d7843
cmp dword [eax], 0
je 0x4d7843
cmp dword [eax + 0x1c], 0
jne 0x4d78ce
mov edx, dword [esp + 0x90]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4d7869
push 0
push edx
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d789f
mov edi, dword [esp + 0xa0]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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 [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4d78b1
mov eax, 0x5d1b70
jmp 0x4d78c2
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [eax + 8], edx
mov dword [esp + 0xa0], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 0
je 0x4d78ff
mov eax, dword [esp + 0x60]
inc eax
mov ecx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x38]
jge 0x4d791f
mov eax, dword [esp + 0x70]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x4d790b
mov eax, dword [esp + 0x38]
inc ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4d791f
mov edi, dword [ebp + 0x30]
jmp 0x4d69e3
mov eax, dword [esp + 0x94]
lea edx, [esi + 0x78]
test eax, eax
je 0x4d79c9
mov ecx, dword [esi + 0x74]
cmp dword [edx], ecx
jg 0x4d7954
push 0
push eax
push 0
mov edx, 0xb
mov ecx, esi
call fcn.00495ff0
add esp, 0xc
lea edi, [esi + 0x70]
lea edx, [esi + 0x78]
jmp 0x4d7990
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edi, [esi + 0x70]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x94]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x60], ecx
cmp byte [eax + 0x57], 0
je 0x4d79a9
mov eax, 0x5d1b70
mov dword [eax + 8], ecx
jmp 0x4d79cc
lea eax, [ecx - 1]
mov ecx, dword [esp + 0xa8]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
jmp 0x4d79cc
lea edi, [esi + 0x70]
cmp dword [esp + 0xa4], 0
je 0x4d7bb5
mov ecx, dword [esi + 0x74]
lea edx, [esi + 0x78]
cmp dword [edx], ecx
jg 0x4d7a05
push 0
push dword [esp + 0x4c]
mov edx, 0x14
mov ecx, esi
push dword [esp + 0x5c]
call fcn.00495ff0
add esp, 0xc
lea edi, [esi + 0x70]
lea edx, [esi + 0x78]
jmp 0x4d7a3e
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea edi, [esi + 0x70]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
jne 0x4d7b2d
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4d7ac1
mov ecx, dword [esi + 0x74]
cmp dword [edx], ecx
jg 0x4d7a73
push eax
push dword [esp + 0x68]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x14]
call fcn.00495ff0
add esp, 0xc
lea edx, [esi + 0x78]
jmp 0x4d7aa7
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov esi, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [ebp + 0x18]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x4d7ac1
lea ecx, [eax + eax*4]
mov esi, 0x90
mov eax, dword [edi]
mov word [eax + ecx*4 - 0x12], si
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x74]
cmp dword [edx], ecx
jg 0x4d7ae3
push dword [ebp + 0x14]
mov edx, 0x21
mov ecx, esi
push dword [esp + 0x68]
push dword [ebp + 0xc]
call fcn.00495ff0
add esp, 0xc
jmp 0x4d7b13
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, 2
call fcn.004c86a0
add esp, 4
lea edx, [esi + 0x78]
jmp 0x4d7b86
mov ecx, dword [esi + 0x74]
cmp dword [edx], ecx
jg 0x4d7b50
push 0
push dword [esp + 0x68]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00495ff0
add esp, 0xc
lea edx, [esi + 0x78]
jmp 0x4d7b86
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not dword [esp + 0x48]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4d7ba8
push dword [esp + 0x48]
mov edx, esi
call fcn.00496810
add esp, 4
lea edx, [esi + 0x78]
jmp 0x4d7bb5
mov eax, dword [esi + 0x74]
mov ecx, dword [ecx + 0x40]
mov esi, dword [esp + 0x48]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x1c], 0x80
jne 0x4d7c4f
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
movsx ecx, word [ecx + 0x24]
mov dword [esp + 0x60], ecx
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x98], eax
mov ecx, dword [esi + 0x74]
cmp dword [edx], ecx
jg 0x4d7c03
mov edi, dword [esp + 0x60]
mov edx, 0x60
push eax
push edi
mov edi, dword [ebp + 0x14]
mov ecx, esi
inc edi
push edi
call fcn.00495ff0
add esp, 0xc
jmp 0x4d7c38
mov edx, dword [esp + 0x98]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov edi, dword [ebp + 0x14]
inc edi
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x23], 0
jne 0x4d7c4f
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
call fcn.004d33a0
add esp, 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0xac]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret