Function at 0x4eb7cf
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 4], 0
push 8
call fcn.00508034
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x1c
call fcn.00508034
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x109
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274a5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x89
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274ad
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x89
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274ad
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x109
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274a5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x109
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274a5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x18
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c30
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
push 0x88
call fcn.00508034
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x22
rep stosd dword es:[edi], eax
add ebx, 0x10
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c10
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x8c
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c28
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x21
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
add ebx, 0x10
push ebx
push 0x10c
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c20
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x10c
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c20
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x10c
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c20
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x18
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c30
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x8c
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x22c28
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x21
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x28
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27511
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0xd0
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27519
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x32
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0xd0
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27519
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x32
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0xd4
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27521
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x33
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.004edf1a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ebc2a
mov eax, 0
jmp 0x4edcf5
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
cmp eax, 0
jge 0x4ebc50
push 0x7b
push 0x4058a94
push 0xa
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x34], eax
lea ebx, [ebp - 0x38]
call fcn.00497799
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00508034
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x34]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 8]
call fcn.00497799
pop edx
test ecx, ecx
je 0x4ebccc
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4ebcb9
push ebx
call fcn.0050802e
add esp, 4
pop ebx
call fcn.0050802e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4ebc91
pop edx
pop edi
test edx, edx
je 0x4ebd36
mov ebx, edi
push edx
push ebx
push 0x10
call fcn.00508034
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 4
push ebx
push 0x107
call fcn.00508034
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x274e1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0xff
rep stosb byte es:[edi], al
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x4ebcd6
push dword [ebp - 8]
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
call fcn.00497780
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jl 0x4ebf00
mov ebx, dword [ebp - 8]
call fcn.00497799
mov eax, 0
cmp eax, ecx
jl 0x4ebd82
push 0xe8
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 8]
call fcn.00497799
mov eax, 0
cmp eax, ecx
jl 0x4ebdb4
push 0x110
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
push eax
push 0x108
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0x9a
call fcn.00508046
cmp dword [ebp - 0x3c], esp
je 0x4ebe34
push 0x110
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ebe75
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ebe73
imul eax, dword [edi]
jmp 0x4ebe68
mov ecx, eax
cmp ecx, 0xff
jle 0x4ebe82
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xff
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.004e8da4
call fcn.0050802e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.00497799
mov eax, 0
cmp eax, ecx
jl 0x4ebed4
push 0x14a
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fmul qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.00497759
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
call fcn.00497799
push ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x4ebf1f
xor eax, eax
jmp 0x4ebf2e
imul ecx, ecx, 0x108
push ecx
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4ebf91
push ecx
push edi
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x4ebf91
add ebx, 4
add edi, 0x108
jmp 0x4ebf43
push 0
push 0
mov eax, 0x9b
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ebfc1
push 0x1a1
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4ec052
push ecx
push edi
push ebx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec012
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec010
imul eax, dword [edi]
jmp 0x4ec005
mov ecx, eax
cmp ecx, 0xff
jle 0x4ec01f
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xff
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.004e8da4
pop ebx
pop edi
pop ecx
dec ecx
je 0x4ec052
add ebx, 0x108
add edi, 4
jmp 0x4ebfd4
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4ec072
mov eax, 0
jmp 0x4edcf5
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0050803a
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4ec0a7
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.0050803a
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ec0e0
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], esp
push 0
push 0x1a
push dword [ebp - 0x10]
push 0
mov eax, 0x9f
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ec11f
push 0x38b
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
test eax, eax
je 0x4ec157
push 0x27536
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00495dbc
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4ec153
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], esp
push 0
push 0x23
push dword [ebp - 0x14]
push 0
mov eax, 0x9f
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ec192
push 0x438
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
test eax, eax
je 0x4ec1ca
push 0x27536
push dword [ebp - 0x14]
mov ecx, 2
call fcn.00495dbc
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4ec1c6
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
call fcn.004ee321
mov ebx, dword [ebp - 8]
call fcn.00497780
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4edc91
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
mov eax, dword [ebp - 0x1c]
push eax
push 0x419
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, 0xa0
call fcn.00508046
cmp dword [ebp - 0x38], esp
je 0x4ec2c6
push 0x53e
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec307
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec305
imul eax, dword [edi]
jmp 0x4ec2fa
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec314
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec352
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec350
imul eax, dword [edi]
jmp 0x4ec345
mov ecx, eax
cmp ecx, 0x81
jle 0x4ec35f
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec39d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec39b
imul eax, dword [edi]
jmp 0x4ec390
mov ecx, eax
cmp ecx, 0x81
jle 0x4ec3aa
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec3e8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec3e6
imul eax, dword [edi]
jmp 0x4ec3db
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec3f5
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec433
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec431
imul eax, dword [edi]
jmp 0x4ec426
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec440
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec47e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec47c
imul eax, dword [edi]
jmp 0x4ec471
mov ecx, eax
cmp ecx, 0x10
jle 0x4ec488
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x10
call fcn.0050802e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 8]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4ec4d2
push 0x559
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ec4ef
push 0x559
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
push 0xff
mov ebx, dword [ebp - 0x38]
mov ebx, dword [ebx]
call fcn.00497799
push ebx
mov ebx, dword [ebp - 0x34]
mov ebx, dword [ebx]
call fcn.00497799
push ebx
mov eax, 0xa1
call fcn.00508046
cmp dword [ebp - 0x3c], esp
je 0x4ec540
push 0x559
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x34], esp
mov eax, 1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x419
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 0
mov eax, 0xa2
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ec623
push 0x59c
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec664
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec662
imul eax, dword [edi]
jmp 0x4ec657
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec671
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec6af
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec6ad
imul eax, dword [edi]
jmp 0x4ec6a2
mov ecx, eax
cmp ecx, 0x81
jle 0x4ec6bc
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec6fa
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec6f8
imul eax, dword [edi]
jmp 0x4ec6ed
mov ecx, eax
cmp ecx, 0x81
jle 0x4ec707
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec745
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec743
imul eax, dword [edi]
jmp 0x4ec738
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec752
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec790
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec78e
imul eax, dword [edi]
jmp 0x4ec783
mov ecx, eax
cmp ecx, 0x101
jle 0x4ec79d
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ec7db
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ec7d9
imul eax, dword [edi]
jmp 0x4ec7ce
mov ecx, eax
cmp ecx, 0x10
jle 0x4ec7e5
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x10
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x34], esp
mov eax, dword [ebp - 0x20]
push eax
push 0x704
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x20
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xcc
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0xa3
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ecaa7
push 0x5d8
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecb06
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecb04
imul eax, dword [edi]
jmp 0x4ecaf9
mov ecx, eax
cmp ecx, 8
jle 0x4ecb10
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecb4b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecb49
imul eax, dword [edi]
jmp 0x4ecb3e
mov ecx, eax
cmp ecx, 0x84
jle 0x4ecb58
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x84
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecca9
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecca7
imul eax, dword [edi]
jmp 0x4ecc9c
mov ecx, eax
cmp ecx, 0x104
jle 0x4eccb6
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4eccf4
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4eccf2
imul eax, dword [edi]
jmp 0x4ecce7
mov ecx, eax
cmp ecx, 0x104
jle 0x4ecd01
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecd3f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecd3d
imul eax, dword [edi]
jmp 0x4ecd32
mov ecx, eax
cmp ecx, 0x104
jle 0x4ecd4c
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecd8a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecd88
imul eax, dword [edi]
jmp 0x4ecd7d
mov ecx, eax
cmp ecx, 0x10
jle 0x4ecd94
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x10
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecdcf
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecdcd
imul eax, dword [edi]
jmp 0x4ecdc2
mov ecx, eax
cmp ecx, 0x84
jle 0x4ecddc
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x84
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ece1a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ece18
imul eax, dword [edi]
jmp 0x4ece0d
mov ecx, eax
cmp ecx, 0x20
jle 0x4ece24
mov ecx, 0x20
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x20
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ece5f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ece5d
imul eax, dword [edi]
jmp 0x4ece52
mov ecx, eax
cmp ecx, 0xc8
jle 0x4ece6c
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xc8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4eceaa
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecea8
imul eax, dword [edi]
jmp 0x4ece9d
mov ecx, eax
cmp ecx, 0xc8
jle 0x4eceb7
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xc8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ecef5
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ecef3
imul eax, dword [edi]
jmp 0x4ecee8
mov ecx, eax
cmp ecx, 0xcc
jle 0x4ecf02
mov ecx, 0xcc
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xcc
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4ecfb6
push 0x61d
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4ecfd3
push 0x61d
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esp
push dword [ebp - 0x24]
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x704
call fcn.00508034
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x20
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xcc
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ebx, dword [ebp - 0x34]
mov ebx, dword [ebx]
call fcn.00497799
push ebx
push 0
mov eax, 0xa4
call fcn.00508046
cmp dword [ebp - 0x38], esp
je 0x4ed2a9
push 0x61d
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed308
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed306
imul eax, dword [edi]
jmp 0x4ed2fb
mov ecx, eax
cmp ecx, 8
jle 0x4ed312
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed34d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed34b
imul eax, dword [edi]
jmp 0x4ed340
mov ecx, eax
cmp ecx, 0x84
jle 0x4ed35a
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x84
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed4ab
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed4a9
imul eax, dword [edi]
jmp 0x4ed49e
mov ecx, eax
cmp ecx, 0x104
jle 0x4ed4b8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed4f6
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed4f4
imul eax, dword [edi]
jmp 0x4ed4e9
mov ecx, eax
cmp ecx, 0x104
jle 0x4ed503
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed541
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed53f
imul eax, dword [edi]
jmp 0x4ed534
mov ecx, eax
cmp ecx, 0x104
jle 0x4ed54e
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed58c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed58a
imul eax, dword [edi]
jmp 0x4ed57f
mov ecx, eax
cmp ecx, 0x10
jle 0x4ed596
mov ecx, 0x10
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x10
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed5d1
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed5cf
imul eax, dword [edi]
jmp 0x4ed5c4
mov ecx, eax
cmp ecx, 0x84
jle 0x4ed5de
mov ecx, 0x84
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x84
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed61c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed61a
imul eax, dword [edi]
jmp 0x4ed60f
mov ecx, eax
cmp ecx, 0x20
jle 0x4ed626
mov ecx, 0x20
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x20
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed661
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed65f
imul eax, dword [edi]
jmp 0x4ed654
mov ecx, eax
cmp ecx, 0xc8
jle 0x4ed66e
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xc8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed6ac
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed6aa
imul eax, dword [edi]
jmp 0x4ed69f
mov ecx, eax
cmp ecx, 0xc8
jle 0x4ed6b9
mov ecx, 0xc8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xc8
push ebx
push edi
push 1
mov eax, 2
call fcn.00508028
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4ed6f7
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4ed6f5
imul eax, dword [edi]
jmp 0x4ed6ea
mov ecx, eax
cmp ecx, 0xcc
jle 0x4ed704
mov ecx, 0xcc
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xcc
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0050802e
add esp, 4
pop eax
push 0
push dword [ebp - 0x10]
call fcn.00496f63
add esp, 8
cmp eax, 0
jne 0x4ed7b6
push 0
push dword [ebp - 0x14]
call fcn.00496f63
add esp, 8
cmp eax, 0
jne 0x4ed7b6
xor eax, eax
jmp 0x4ed7bb
mov eax, 1
test eax, eax
je 0x4edbf9
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004ef576
mov dword [ebp - 0x38], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4ed7ea
mov eax, 0
push eax
push 1
mov ebx, 0x198
call fcn.0050803a
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ed810
push ebx
call fcn.0050802e
add esp, 4
push 0x27566
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.00499b16
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4ed838
push ebx
call fcn.0050802e
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4ed84c
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004ef576
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004ef718
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4ed880
push ebx
call fcn.0050802e
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4ed894
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
push 0
push 0x2756f
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ed8b2
add eax, 8
push eax
mov eax, 0xa5
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ed8d9
push 0x7a5
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4ed92a
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
push 0
push 0x2756f
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4ed900
add eax, 8
push eax
mov eax, 0xa5
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ed927
push 0x832
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4ed978
mov dword [ebp - 0x34], esp
push dword [ebp - 0x10]
push 0
push 0x2756f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ed94e
add eax, 8
push eax
mov eax, 0xa5
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ed975
push 0x8c1
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4ed9c6
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
push 0
push 0x2756f
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4ed99c
add eax, 8
push eax
mov eax, 0xa5
call fcn.00508046
cmp dword [ebp - 0x34], esp
je 0x4ed9c3
push 0x950
push 0x4058a94
push 6
call fcn.00508040
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x4edbf9
mov ebx, dword [0x16c]
call fcn.00497780
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4edbf6
mov ebx, dword [0x16c]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4eda1c
push 0xa1e
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4eda39
push 0xa1e
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
push 0x80000301
push 0
push dword [ebp - 0x30]
push 1
mov ebx, 0x168
call fcn.0050803a
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.00496f63
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4eda91
push ebx
call fcn.0050802e
add esp, 4
cmp dword [ebp - 0x3c], 0
je 0x4edb11
mov ebx, dword [0x16c]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4edac5
push 0xa62
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4edae2
push 0xa62
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x40], ebx
push 0
mov ebx, dword [ebp - 0x40]
push dword [ebx]
call fcn.00496f63
add esp, 8
cmp eax, 0
je 0x4edb11
mov eax, 1
jmp 0x4edb16
mov eax, 0
test eax, eax
je 0x4edbee
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov ebx, dword [0x16c]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4edb51
push 0xa94
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4edb6e
push 0xa94
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call fcn.004efae5
mov ebx, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x34], ebx
mov ebx, dword [0x16c]
call fcn.00497799
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4edbb9
push 0xace
push 0x4058a94
push 4
call fcn.00508040
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4edbd6
push 0xace
push 0x4058a94
push 1
call fcn.00508040
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
push dword [ebp - 0x38]
push dword [ebp - 0x34]
call fcn.004efae5
pop eax
pop ebx
pop ecx
jmp 0x4ed9e4
add esp, 0xc
mov ebx, dword [ebp - 0x1c]
add ebx, 4
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004ef576
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4edc23
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004ef576
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4edc53
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x14
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004ef576
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4edc83
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x4ec1e0
add esp, 0xc
push 0x80000004
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x4edca9
mov eax, 0
push eax
push 1
mov ebx, 0x174
call fcn.0050803a
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x34]
call fcn.00496f63
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4edced
push ebx
call fcn.0050802e
add esp, 4
mov eax, dword [ebp - 0x38]
jmp 0x4edcf5
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4edd14
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4edd10
imul eax, dword [ebx]
jmp 0x4edd05
mov ecx, eax
test ecx, ecx
je 0x4edd53
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4edd42
push ebx
call fcn.0050802e
add esp, 4
pop ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4edd1a
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4edd6b
push ebx
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4edd7b
push ebx
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 0x10
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0050802e
add esp, 4
pop ebx
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4edf03
push ebx
call fcn.0050802e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4edf13
push ebx
call fcn.0050802e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18