Function at 0x4ba134
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x4ba13c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bbdcb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004bc804
cmp dword [0x506e74], 0
je 0x4bb70f
mov eax, dword [0x506e74]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x4bbde4
mov edx, 0x4bbdfc
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [0x50580c]
mov al, byte [eax]
mov byte [ebp - 0x2d], al
mov eax, dword [0x50580c]
mov byte [eax], 0x2e
push 0
push 0
mov edx, 0x4bbdfc
mov ecx, 0x4bbe10
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
fstp qword [eax + 0x10]
wait
mov eax, dword [0x50580c]
mov dl, byte [ebp - 0x2d]
mov byte [eax], dl
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov edx, dword [ebp - 4]
mov dword [edx + 0x7a80], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7a84], 0
je 0x4ba297
mov eax, dword [0x506f18]
mov eax, dword [eax + 4]
dec eax
test eax, eax
jl 0x4ba2e1
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x14]
lea ebx, [ebx + ebx*2]
mov eax, dword [0x506f18]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
lea edx, [ebp - 0x4c]
call fcn.00409014
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
call fcn.00405048
jne 0x4ba289
mov eax, dword [0x506f18]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4 + 8]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
mov eax, dword [0x506f18]
mov eax, dword [eax + 8]
mov edx, dword [eax + ebx*4 + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
call fcn.004284dc
call fcn.00424010
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
call fcn.004284dc
call fcn.00423b60
jmp 0x4ba2e1
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x4ba20c
jmp 0x4ba2e1
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe20
call fcn.00405240
dec eax
jge 0x4ba2be
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.00404f48
cmp dword [ebp - 0x20], 0
je 0x4ba2e1
mov eax, dword [ebp - 0x20]
call fcn.00409978
test al, al
je 0x4ba2e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
call fcn.004285c8
cmp al, 7
je 0x4ba347
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov dl, 7
call fcn.004294ec
push 0xff00ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov cl, 0xff
call fcn.0046a3c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
mov edx, 0xff00ff
call fcn.00429654
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7a80]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dl, 1
mov eax, dword [0x4171cc]
call fcn.00403dfc
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041b6c0
mov dl, 1
mov eax, dword [0x4171cc]
call fcn.00403dfc
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041b6c0
xor eax, eax
push ebp
push 0x4bb708
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bb6d9
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bb6cd
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x64]
mov edx, 0x4bbdfc
call fcn.00405048
jne 0x4ba457
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
mov edx, 0x4bbde4
call fcn.00405048
je 0x4bb6c1
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x20], 0
je 0x4bb6c1
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
sub al, 0x21
je 0x4baaf2
sub al, 0x1f
je 0x4ba649
sub al, 0x1e
je 0x4ba7d5
sub al, 0x20
jne 0x4bb083
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea ebx, [edx + eax*8]
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 8]
call fcn.00404c90
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 4]
call fcn.00404c90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 1
lea eax, [ebp - 0x7c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x7c]
call fcn.004094c8
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x80]
call fcn.004094c8
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x84]
call fcn.004094c8
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x88]
call fcn.004094c8
pop edx
pop ecx
call fcn.0040707c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x1c], 1
lea eax, [ebp - 0x8c]
push eax
mov ecx, 2
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x8c]
call fcn.004094c8
mov word [ebx + 0x22], ax
mov eax, dword [ebp - 0x20]
call fcn.00404efc
cmp eax, 0x18
jle 0x4ba63e
lea eax, [ebp - 0x90]
push eax
mov ecx, 1
mov edx, 0x19
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x90]
call fcn.004094c8
mov word [ebx + 0x1e], ax
jmp 0x4bb6c1
mov word [ebx + 0x1e], 0
jmp 0x4bb6c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea ebx, [edx + eax*8]
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 8]
call fcn.00404c90
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x98]
lea eax, [ebx + 4]
call fcn.00404c90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 2
lea eax, [ebp - 0x9c]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0x9c]
call fcn.004094c8
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xa0]
call fcn.004094c8
push eax
lea eax, [ebp - 0xa4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xa4]
call fcn.004094c8
push eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xa8]
call fcn.004094c8
pop edx
pop ecx
call fcn.0040707c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xac]
push eax
mov ecx, 1
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xac]
call fcn.004094c8
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0xb0]
push eax
mov ecx, 1
mov edx, 0x18
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xb0]
call fcn.004094c8
mov word [ebx + 0x1e], ax
jmp 0x4bb6c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov esi, dword [ebp - 0x1c]
mov eax, esi
shl esi, 3
sub esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
lea ebx, [eax + esi*8]
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb4]
lea eax, [ebx + 8]
call fcn.00404c90
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb8]
lea eax, [ebx + 4]
call fcn.00404c90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x28], eax
mov byte [ebx + 0x24], 0
lea eax, [ebp - 0xbc]
push eax
mov ecx, 4
mov edx, 0x11
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xbc]
call fcn.004094c8
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, 4
mov edx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xc0]
call fcn.004094c8
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, 4
mov edx, 7
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xc4]
call fcn.004094c8
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 4
mov edx, 2
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xc8]
call fcn.004094c8
pop edx
pop ecx
call fcn.0040707c
push esi
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0xcc]
push eax
mov ecx, 4
mov edx, 0x16
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xcc]
call fcn.004094c8
mov word [ebx + 0x2c], ax
lea eax, [ebp - 0xd0]
push eax
mov ecx, 4
mov edx, 0x1b
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xd0]
call fcn.004094c8
mov word [ebx + 0x2e], ax
lea eax, [ebp - 0xd4]
push eax
mov ecx, 4
mov edx, 0x20
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xd4]
call fcn.004094c8
mov word [ebx + 0x30], ax
lea eax, [ebp - 0xd8]
push eax
mov ecx, 4
mov edx, 0x25
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xd8]
call fcn.004094c8
mov word [ebx + 0x32], ax
lea eax, [ebp - 0xdc]
push eax
mov ecx, 1
mov edx, 0x2a
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xdc]
call fcn.004094c8
mov word [ebx + 0x1c], ax
lea eax, [ebp - 0xe0]
push eax
mov ecx, 1
mov edx, 0x2c
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xe0]
call fcn.004094c8
mov word [ebx + 0x1e], ax
lea eax, [ebp - 0xe4]
push eax
mov ecx, 1
mov edx, 0x2e
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xe4]
call fcn.004094c8
mov word [ebx + 0x22], ax
lea eax, [ebp - 0xe8]
push eax
mov ecx, 1
mov edx, 0x30
mov eax, dword [ebp - 0x20]
call fcn.0040515c
mov eax, dword [ebp - 0xe8]
call fcn.004094c8
mov word [ebx + 0x20], ax
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x4baad6
cmp word [ebx + 0x20], 0
je 0x4baa91
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x4baad6
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.004ea058
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.004ea06c
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
lea edx, [eax + esi*8]
mov eax, dword [ebp - 4]
call fcn.004b6fb8
mov dword [ebx + 0x34], eax
jmp 0x4bb6c1
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 1
call fcn.004ea1dc
mov edx, dword [ebp - 0x28]
mov eax, 0x4bbe4c
call fcn.00405240
test eax, eax
setg bl
test bl, bl
jne 0x4bab33
mov edx, dword [ebp - 0x28]
mov eax, 0x4bbe5c
call fcn.00405240
test eax, eax
jle 0x4bb6c1
xor esi, esi
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7a84], 0
je 0x4bac80
mov eax, dword [0x506f18]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x4bad58
inc edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0xec]
call fcn.00409014
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0x28]
call fcn.00405048
jne 0x4bac71
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov esi, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0x14]
test bl, bl
je 0x4babdc
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x4bad58
mov dl, 1
mov eax, dword [0x4f6a10]
call fcn.004f8550
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7aa8], 0
jg 0x4bac64
fld xword [0x4bbe64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
fcomp qword [eax + 0x10]
fnstsw ax
sahf
jae 0x4bac5d
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.004694c0
jmp 0x4bac64
mov eax, esi
call fcn.004ffaf4
lea eax, [ebp - 0x2c]
call fcn.0040e9a0
jmp 0x4bad58
inc dword [ebp - 0x1c]
dec edi
jne 0x4bab5e
jmp 0x4bad58
mov edx, dword [ebp - 0x28]
mov eax, 0x4bbe20
call fcn.00405240
dec eax
jge 0x4baca7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
call fcn.00404f48
mov eax, dword [ebp - 0x28]
call fcn.00409978
test al, al
je 0x4bad58
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov esi, eax
test bl, bl
je 0x4bacd8
mov edx, dword [ebp - 0x28]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x4bad58
mov dl, 1
mov eax, dword [0x4f6a10]
call fcn.004f8550
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7aa8], 0
jg 0x4bad50
fld xword [0x4bbe64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
fcomp qword [eax + 0x10]
fnstsw ax
sahf
jae 0x4bad49
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, esi
call fcn.004694c0
jmp 0x4bad50
mov eax, esi
call fcn.004ffaf4
lea eax, [ebp - 0x2c]
call fcn.0040e9a0
test esi, esi
je 0x4bb6c1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4bb6c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8]
mov dword [ebp - 0x3c], eax
xor eax, eax
push ebp
push 0x4bb079
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x3c]
mov dword [eax], esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.004284dc
call fcn.00424010
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.004284dc
call fcn.00423b60
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 4
call fcn.004b6ec8
mov edx, 4
call fcn.0042a6a8
mov al, byte [eax + 0x504b3c]
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.004285c8
cmp al, 7
je 0x4bae64
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dl, 7
call fcn.004294ec
push 0xff00ff
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov cl, 0xff
call fcn.0046a3c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb6c1
lea ecx, [ebp - 0xf0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x3c]
add eax, 8
call fcn.00404c90
lea ecx, [ebp - 0xf4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x3c]
add eax, 4
call fcn.00404c90
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov dword [eax + 0x28], edx
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 2
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x1c], ax
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 3
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
lea edi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, 0x4bbe24
mov eax, dword [ebp - 0x20]
call fcn.004ea360
cmp eax, 4
jle 0x4baf99
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 5
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x2c], ax
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 6
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x2e], ax
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 7
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x30], ax
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 8
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x32], ax
jmp 0x4bb015
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add eax, 0xc
xor edx, edx
call fcn.004ea058
mov edx, dword [ebp - 0x40]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x40]
add eax, 0xc
xor edx, edx
call fcn.004ea06c
mov edx, dword [ebp - 0x40]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x40]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x40]
mov ax, word [eax + 0x2c]
mov edx, dword [ebp - 0x40]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x40]
mov ax, word [eax + 0x2e]
mov edx, dword [ebp - 0x40]
mov word [edx + 0x32], ax
mov edx, 0x4bbe24
mov eax, dword [ebp - 0x20]
call fcn.004ea360
cmp eax, 8
jle 0x4bb042
mov ecx, 0x4bbe24
mov edx, dword [ebp - 0x20]
mov eax, 9
call fcn.004b6ec8
mov edx, dword [ebp - 0x3c]
mov word [edx + 0x22], ax
jmp 0x4bb04b
mov eax, dword [ebp - 0x3c]
mov word [eax + 0x22], 1
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x24], 0
jne 0x4bb078
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea edx, [edx + eax*8]
mov eax, dword [ebp - 4]
call fcn.004b6fb8
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x34], eax
ret
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe78
call fcn.00405240
test eax, eax
jle 0x4bb352
mov eax, dword [ebp - 0x20]
mov edx, 0x4bbe78
call fcn.00405048
je 0x4bb6c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea ebx, [edx + eax*8 - 0x38]
lea ecx, [ebp - 0xfc]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.00409014
mov edx, dword [ebp - 0xf8]
lea eax, [ebx + 8]
call fcn.00404c90
lea ecx, [ebp - 0x104]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00409014
mov edx, dword [ebp - 0x100]
lea eax, [ebx + 4]
call fcn.00404c90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bbe7c
mov edx, dword [ebp - 0x20]
mov eax, 2
call fcn.004ea1dc
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.004b6ec8
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.004b6ec8
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.004b6ec8
push eax
mov ecx, 0x4bbebc
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.004b6ec8
pop edx
pop ecx
call fcn.0040707c
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bbe7c
mov edx, dword [ebp - 0x20]
mov eax, 3
call fcn.004ea1dc
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.004b6ec8
mov word [ebx + 0x1c], ax
cmp word [ebx + 0x1c], 1
jge 0x4bb208
mov word [ebx + 0x1c], 1
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.004b6ec8
mov word [ebx + 0x1e], ax
cmp word [ebx + 0x1e], 0
jge 0x4bb22b
mov word [ebx + 0x1e], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.004ea1dc
cmp dword [ebp - 0x28], 0
je 0x4bb262
mov eax, dword [ebp - 0x28]
call fcn.004094c8
mov word [ebx + 0x20], ax
cmp word [ebx + 0x20], 0
jge 0x4bb268
mov word [ebx + 0x20], 0
jmp 0x4bb268
mov word [ebx + 0x20], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.004ea1dc
cmp dword [ebp - 0x28], 0
je 0x4bb292
mov eax, dword [ebp - 0x28]
call fcn.004094c8
mov word [ebx + 0x22], ax
jmp 0x4bb298
mov word [ebx + 0x22], 1
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x4bb32b
cmp word [ebx + 0x20], 0
je 0x4bb2db
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x4bb32b
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8 - 0x38]
call fcn.004ead14
mov word [ebx + 0x2c], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8 - 0x38]
call fcn.004ead4c
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b6fb8
mov dword [ebx + 0x34], eax
jmp 0x4bb6c1
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 0x20]
call fcn.0040917c
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x20]
call fcn.00404cd4
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe4c
call fcn.00405240
test eax, eax
jle 0x4bb6c1
xor esi, esi
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7a84], 0
je 0x4bb429
mov eax, dword [0x506f18]
mov edi, dword [eax + 4]
dec edi
test edi, edi
jl 0x4bb474
inc edi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4]
lea edx, [ebp - 0x10c]
call fcn.00409014
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x20]
call fcn.00405048
jne 0x4bb421
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov esi, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov eax, dword [edx + eax*4 + 8]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
mov edx, dword [0x506f18]
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4 + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
jmp 0x4bb474
inc dword [ebp - 0x1c]
dec edi
jne 0x4bb3ae
jmp 0x4bb474
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe20
call fcn.00405240
dec eax
jge 0x4bb450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.00404f48
mov eax, dword [ebp - 0x20]
call fcn.00409978
test al, al
je 0x4bb474
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov esi, eax
mov edx, dword [ebp - 0x20]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test esi, esi
je 0x4bb6c1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4bb6c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], esi
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.004284dc
call fcn.00424010
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.004284dc
call fcn.00423b60
mov eax, dword [ebp - 0x44]
add eax, 8
call fcn.00404c3c
mov eax, dword [ebp - 0x44]
add eax, 4
call fcn.00404c3c
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 4]
mov dword [eax + 0x28], edx
xor eax, eax
push ebp
push 0x4bb6b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
call fcn.004285c8
cmp al, 7
je 0x4bb578
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dl, 7
call fcn.004294ec
push 0xff00ff
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov cl, 0xff
call fcn.0046a3c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb6c1
lea ecx, [ebp - 0x114]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00409014
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x44]
add eax, 8
call fcn.00404c90
lea ecx, [ebp - 0x11c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.00409014
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x44]
add eax, 4
call fcn.00404c90
mov eax, dword [ebp - 0x44]
mov word [eax + 0x1e], 1
mov eax, dword [ebp - 0x44]
mov word [eax + 0x1c], 3
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x5c]
lea edi, [eax + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
add eax, 0xc
xor edx, edx
call fcn.004ea058
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x44]
mov word [edx + 0x2c], ax
mov eax, dword [ebp - 0x44]
add eax, 0xc
xor edx, edx
call fcn.004ea06c
mov edx, dword [ebp - 0x44]
movsx edx, word [edx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov edx, dword [ebp - 0x44]
mov word [edx + 0x2e], ax
mov eax, dword [ebp - 0x44]
mov ax, word [eax + 0x2c]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x30], ax
mov eax, dword [ebp - 0x44]
mov ax, word [eax + 0x2e]
mov edx, dword [ebp - 0x44]
mov word [edx + 0x32], ax
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea edx, [edx + eax*8 - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b6fb8
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x34], eax
ret
inc dword [ebp - 0x18]
dec dword [ebp - 0x38]
jne 0x4ba419
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x4ba3e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb70f
cmp dword [ebp - 0x10], 0
je 0x4bb6f4
lea eax, [ebp - 0x10]
call fcn.0040e9a0
cmp dword [ebp - 0xc], 0
je 0x4bb702
lea eax, [ebp - 0xc]
call fcn.0040e9a0
xor eax, eax
mov dword [ebp - 8], eax
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4bbd98
mov ecx, 0x4bbee4
mov dl, 1
mov eax, dword [0x432560]
call fcn.00433420
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00433978
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 8]
call fcn.004339dc
mov dl, 1
mov eax, dword [0x4171cc]
call fcn.00403dfc
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0041b6c0
mov dl, 1
mov eax, dword [0x4171cc]
call fcn.00403dfc
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0041b6c0
xor eax, eax
push ebp
push 0x4bbd91
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 8]
call fcn.004339dc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bbd65
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x124]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00409014
mov eax, dword [ebp - 0x120]
mov edx, 0x4bbdfc
call fcn.00405048
je 0x4bbd59
lea ecx, [ebp - 0x128]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4bbd59
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
push 0x4bbef4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x12c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 8]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7a80], 0
je 0x4bbb46
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe78
call fcn.00405240
test eax, eax
jle 0x4bbb46
mov eax, dword [ebp - 0x20]
mov edx, 0x4bbe78
call fcn.00405048
je 0x4bbd4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov esi, dword [ebp - 0x1c]
mov eax, esi
shl esi, 3
sub esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
lea ebx, [eax + esi*8 - 0x38]
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409014
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 8]
call fcn.00404c90
lea ecx, [ebp - 0x140]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409014
mov edx, dword [ebp - 0x13c]
lea eax, [ebx + 4]
call fcn.00404c90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bbe7c
mov edx, dword [ebp - 0x20]
mov eax, 2
call fcn.004ea1dc
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.004b6ec8
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.004b6ec8
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.004b6ec8
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.004b6ec8
pop edx
pop ecx
call fcn.0040707c
push esi
lea esi, [ebp - 0x5c]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bbe7c
mov edx, dword [ebp - 0x20]
mov eax, 3
call fcn.004ea1dc
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 1
call fcn.004b6ec8
mov edi, eax
mov word [ebx + 0x1c], di
cmp di, 1
jge 0x4bba11
mov word [ebx + 0x1c], 1
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 2
call fcn.004b6ec8
mov edi, eax
mov word [ebx + 0x1e], di
test di, di
jge 0x4bba34
mov word [ebx + 0x1e], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 3
call fcn.004ea1dc
cmp dword [ebp - 0x28], 0
je 0x4bba6b
mov eax, dword [ebp - 0x28]
call fcn.004094c8
mov edi, eax
mov word [ebx + 0x20], di
test di, di
jge 0x4bba71
mov word [ebx + 0x20], 0
jmp 0x4bba71
mov word [ebx + 0x20], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4bbe9c
mov edx, dword [ebp - 0x24]
mov eax, 4
call fcn.004ea1dc
cmp dword [ebp - 0x28], 0
je 0x4bba9b
mov eax, dword [ebp - 0x28]
call fcn.004094c8
mov word [ebx + 0x22], ax
jmp 0x4bbaa1
mov word [ebx + 0x22], 1
movsx eax, word [ebx + 0x2c]
movsx edx, word [ebx + 0x2e]
add eax, edx
movsx edx, word [ebx + 0x30]
add eax, edx
movsx edx, word [ebx + 0x32]
add eax, edx
test eax, eax
jne 0x4bbb29
cmp word [ebx + 0x20], 0
je 0x4bbae4
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2c], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x20]
mov word [ebx + 0x32], ax
jmp 0x4bbb29
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.004ea058
movsx edx, word [ebx + 0x1c]
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2c], ax
lea eax, [ebx + 0xc]
xor edx, edx
call fcn.004ea06c
movsx edx, word [ebx + 0x1e]
inc edx
lea edx, [edx + edx*2]
mov ecx, edx
cdq
idiv ecx
mov word [ebx + 0x2e], ax
mov ax, word [ebx + 0x2c]
mov word [ebx + 0x30], ax
mov ax, word [ebx + 0x2e]
mov word [ebx + 0x32], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
lea edx, [eax + esi*8 - 0x38]
mov eax, dword [ebp - 4]
call fcn.004b6fb8
mov dword [ebx + 0x34], eax
jmp 0x4bbd4d
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x20]
call fcn.0040917c
mov edx, dword [ebp - 0x144]
lea eax, [ebp - 0x20]
call fcn.00404cd4
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe4c
call fcn.00405240
test eax, eax
jle 0x4bbd4d
mov edx, dword [ebp - 0x20]
mov eax, 0x4bbe20
call fcn.00405240
dec eax
jge 0x4bbb9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7888]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.00404f48
mov eax, dword [ebp - 0x20]
call fcn.00409978
test al, al
je 0x4bbd4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x788c]
call fcn.00405efc
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
add eax, 0x788c
mov ecx, 1
mov edx, dword [0x4eac84]
call fcn.004060d8
add esp, 4
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x788c]
lea eax, [edx + eax*8 - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, 8
call fcn.00404c3c
mov eax, dword [ebp - 0x48]
add eax, 4
call fcn.00404c3c
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
mov dword [eax + 0x28], edx
xor eax, eax
push ebp
push 0x4bbd09
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421f68]
call fcn.00427f0c
mov ebx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], ebx
mov eax, ebx
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
call fcn.004285c8
cmp al, 7
je 0x4bbc95
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dl, 7
call fcn.004294ec
push 0xff00ff
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040707c
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov cl, 0xff
call fcn.0046a3c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbd10
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409014
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x48]
add eax, 8
call fcn.00404c90
lea ecx, [ebp - 0x154]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00409014
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x48]
add eax, 4
call fcn.00404c90
ret
inc dword [ebp - 0x18]
dec dword [ebp - 0x38]
jne 0x4bb839
inc dword [ebp - 0x14]
dec dword [ebp - 0x34]
jne 0x4bb7c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbd98
cmp dword [ebp - 0x10], 0
je 0x4bbd80
lea eax, [ebp - 0x10]
call fcn.0040e9a0
lea eax, [ebp - 8]
call fcn.0040e9a0
lea eax, [ebp - 0xc]
call fcn.0040e9a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbdd2
lea eax, [ebp - 0x154]
mov edx, 0x3e
call fcn.00404c60
lea eax, [ebp - 0x4c]
call fcn.00404c3c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404c60
ret