Function at 0x4c2eec
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8b2546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x164], ecx
mov byte [ecx + 0x19d8], 1
mov dword [ebp - 4], 0
mov byte [0x8cf9c4], 1
lea eax, [ebp - 0x160]
xor edx, edx
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x160], 0xa09100
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call fcn.0041cbf8
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.004e4b6c
mov byte [ebp - 0xb8], 1
xor eax, eax
mov esi, 0xffffffff
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov byte [ebp - 0x150], al
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
mov byte [ebp - 0x14d], al
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xbc], eax
mov word [ebp - 0x142], ax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 5
xor al, al
xor dl, dl
xor cl, cl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x3c], dl
mov byte [ebp - 0x34], cl
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4c30a7
mov edi, dword [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + ecx*4 + 0x16fcc]
test ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x4c30a7
movsx eax, byte [ecx + 0x9044]
movsx edx, byte [ecx + 0x9045]
movsx esi, word [ecx + 0x904e]
mov dword [ebp - 0x20], eax
mov cl, 1
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], cl
xor al, al
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x38], al
call fcn.0041cbf8
mov dword [ebp - 4], 6
mov ecx, 0x9d7710
call fcn.004e53f4
mov ecx, 0x9d7700
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e2d98
mov byte [0x9caf1c], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov byte [eax + 0x1702c], 1
call fcn.004e2de4
cmp eax, 5
je 0x4c4c80
cmp eax, 2
je 0x4c4c5e
cmp eax, 4
je 0x4c3afc
cmp eax, 1
je 0x4c311b
cmp eax, 3
mov dword [ebp - 0x30], edx
jne 0x4c3af5
lea edx, [ebp - 0x90]
mov eax, dword [ebp + 0xc]
push eax
push edx
call fcn.0043be78
add esp, 8
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
call fcn.004061ec
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.00406220
lea ecx, [ebp - 0x94]
call fcn.004064e4
lea ecx, [ebp - 0x8c]
push 0x9fb2e4
call fcn.004061ac
mov dword [ebp - 4], 8
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c319a
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x4c3193
xor eax, eax
jmp 0x4c31e8
mov eax, 0xffffffff
jmp 0x4c31e8
mov esi, dword [ebp - 0x8c]
test esi, esi
je 0x4c31e3
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c31dc
jle 0x4c31b5
mov eax, 1
jmp 0x4c31e8
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c31d5
or dl, dl
je 0x4c31d1
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c31d5
add edi, 2
add esi, 2
or dl, dl
jne 0x4c31b5
xor eax, eax
jmp 0x4c31da
sbb eax, eax
or eax, 1
jmp 0x4c31e8
mov eax, 0xffffffff
jmp 0x4c31e8
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.00406220
test ebx, ebx
je 0x4c3227
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.005f92f8
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b
lea ecx, [ebp - 0x88]
push 0x9fb2ec
call fcn.004061ac
mov dword [ebp - 4], 9
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c325d
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x4c3256
xor eax, eax
jmp 0x4c32ab
mov eax, 0xffffffff
jmp 0x4c32ab
mov esi, dword [ebp - 0x88]
test esi, esi
je 0x4c32a6
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c329f
jle 0x4c3278
mov eax, 1
jmp 0x4c32ab
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c3298
or dl, dl
je 0x4c3294
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c3298
add edi, 2
add esi, 2
or dl, dl
jne 0x4c3278
xor eax, eax
jmp 0x4c329d
sbb eax, eax
or eax, 1
jmp 0x4c32ab
mov eax, 0xffffffff
jmp 0x4c32ab
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00406220
test ebx, ebx
je 0x4c32ea
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.005fde50
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b
lea ecx, [ebp - 0x84]
push 0x9fb2e0
call fcn.004061ac
mov dword [ebp - 4], 0xa
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c3320
mov eax, dword [ebp - 0x84]
test eax, eax
jne 0x4c3319
xor eax, eax
jmp 0x4c336e
mov eax, 0xffffffff
jmp 0x4c336e
mov esi, dword [ebp - 0x84]
test esi, esi
je 0x4c3369
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c3362
jle 0x4c333b
mov eax, 1
jmp 0x4c336e
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c335b
or dl, dl
je 0x4c3357
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c335b
add edi, 2
add esi, 2
or dl, dl
jne 0x4c333b
xor eax, eax
jmp 0x4c3360
sbb eax, eax
or eax, 1
jmp 0x4c336e
mov eax, 0xffffffff
jmp 0x4c336e
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.00406220
test ebx, ebx
je 0x4c33ad
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.006075f0
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b
lea ecx, [ebp - 0x80]
push 0x9fb2dc
call fcn.004061ac
mov dword [ebp - 4], 0xb
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c33dd
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x4c33d6
xor eax, eax
jmp 0x4c3428
mov eax, 0xffffffff
jmp 0x4c3428
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x4c3423
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c341c
jle 0x4c33f5
mov eax, 1
jmp 0x4c3428
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c3415
or dl, dl
je 0x4c3411
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c3415
add edi, 2
add esi, 2
or dl, dl
jne 0x4c33f5
xor eax, eax
jmp 0x4c341a
sbb eax, eax
or eax, 1
jmp 0x4c3428
mov eax, 0xffffffff
jmp 0x4c3428
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.00406220
test ebx, ebx
je 0x4c3464
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.00612954
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b
lea ecx, [ebp - 0x7c]
push 0x9fb2d8
call fcn.004061ac
mov dword [ebp - 4], 0xc
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c3494
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4c348d
xor eax, eax
jmp 0x4c34df
mov eax, 0xffffffff
jmp 0x4c34df
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x4c34da
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c34d3
jle 0x4c34ac
mov eax, 1
jmp 0x4c34df
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c34cc
or dl, dl
je 0x4c34c8
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c34cc
add edi, 2
add esi, 2
or dl, dl
jne 0x4c34ac
xor eax, eax
jmp 0x4c34d1
sbb eax, eax
or eax, 1
jmp 0x4c34df
mov eax, 0xffffffff
jmp 0x4c34df
mov eax, 1
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call fcn.00406220
test ebx, ebx
jne 0x4c4c10
mov al, 1
xor edx, edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 0x38], al
mov dword [ebp - 0x30], edx
push 0x9fb2f0
call fcn.004061ac
mov dword [ebp - 4], 0xd
mov edi, dword [ebp - 0x94]
test edi, edi
jne 0x4c3537
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x4c3530
xor eax, eax
jmp 0x4c3582
mov eax, 0xffffffff
jmp 0x4c3582
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x4c357d
mov al, byte [edi]
mov dl, byte [esi]
cmp al, dl
jl 0x4c3576
jle 0x4c354f
mov eax, 1
jmp 0x4c3582
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x4c356f
or dl, dl
je 0x4c356b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x4c356f
add edi, 2
add esi, 2
or dl, dl
jne 0x4c354f
xor eax, eax
jmp 0x4c3574
sbb eax, eax
or eax, 1
jmp 0x4c3582
mov eax, 0xffffffff
jmp 0x4c3582
mov eax, 1
xor edx, edx
test eax, eax
sete dl
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.00406220
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4c4be8
mov eax, dword [ebp - 0x14]
cmp eax, 0xffffffff
je 0x4c48e3
mov al, byte [ebp + 0x1c]
test al, al
jne 0x4c367c
lea ecx, [ebp - 0x74]
call fcn.0041cbf8
mov dword [ebp - 4], 0x15
lea eax, [ebp - 0x70]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004e4108
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x70]
push eax
call fcn.004061ec
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
call fcn.00406220
mov dword [ebp - 0x6c], 0
push 0x2c
call fcn.00898760
mov dword [ebp - 0x40], eax
add esp, 4
test eax, eax
mov dword [ebp - 0x68], eax
je 0x4c3feb
mov dword [ebp - 0x6c], 1
mov dword [ebp - 4], 0x17
add esp, 0xfffffff4
mov ecx, esp
lea eax, [ebp - 0x74]
push eax
call fcn.0040618c
lea ecx, [esp + 8]
push 0xa091e0
call fcn.004061ac
mov byte [esp + 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.005659f8
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0x15
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x74]
call fcn.00406220
mov eax, 1
lea ecx, [ebp - 0x160]
xor esi, esi
mov byte [0x97a1fc], al
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
push esi
mov edi, dword [ebp + 0xc]
push esi
push eax
push edx
push ebx
push edi
call fcn.005da554
mov dword [ebp - 0x40], eax
call fcn.004e0dd8
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4c37a9
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4c3b1b
mov al, byte [ebp + 0x18]
test al, al
je 0x4c3b1b
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x17010]
cmp edx, dword [0x979380]
jne 0x4c36ee
mov edx, dword [eax + 0x1700c]
cmp edx, dword [0x8cf9cc]
je 0x4c3b1b
lea ecx, [ebp - 0x50]
call fcn.0041cbf8
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0x54
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x17010]
cmp edx, dword [0x979380]
jl 0x4c3723
mov edx, dword [eax + 0x1700c]
cmp edx, dword [0x8cf9cc]
jge 0x4c377e
lea ecx, [ebp - 0x18c]
push 0xa09200
call fcn.004061ac
lea eax, [ebp - 0x54]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x188], 5
mov dword [ebp - 4], 0x55
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x188]
and eax, 0xf
or eax, 0x10
mov ecx, dword [ebp - 0x190]
push eax
push edx
call fcn.0043ec3c
mov dword [ebp - 4], 0x54
lea ecx, [ebp - 0x18c]
call fcn.00406220
mov dword [ebp - 4], 6
lea eax, [ebp - 0x54]
mov dword [ebp - 0x180], eax
mov dword [ebp - 4], 0x57
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00406220
jmp 0x4c3b1b
lea ecx, [ebp - 0x58]
call fcn.0041cbf8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x40]
cmp eax, 4
je 0x4c46bc
cmp eax, 5
je 0x4c4495
cmp eax, 6
je 0x4c426e
cmp eax, 7
je 0x4c39f3
cmp eax, 3
jne 0x4c38f1
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x260], eax
mov dword [ebp - 4], 0x21
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c3841
je 0x4c3841
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x258], eax
mov dword [ebp - 4], 0x22
mov dword [ebp - 4], 0x23
mov dword [ebp - 4], 0x24
mov dword [ebp - 4], 0x25
mov dword [ebp - 4], 0x24
lea eax, [ebp - 0xac]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0x26
mov dword [ebp - 4], 0x24
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c3ffe
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0x27
mov dword [ebp - 4], 0x28
mov dword [ebp - 4], 0x27
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c38ab
jmp 0x4c3ff5
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x280], eax
mov dword [ebp - 4], 0x19
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c3943
je 0x4c3943
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x278], eax
mov dword [ebp - 4], 0x1a
mov dword [ebp - 4], 0x1b
mov dword [ebp - 4], 0x1c
mov dword [ebp - 4], 0x1d
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0xac]
mov dword [ebp - 0x270], eax
mov dword [ebp - 4], 0x1e
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c40d1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 0x1f
mov dword [ebp - 4], 0x20
mov dword [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c39ad
jmp 0x4c40c8
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0x31
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c3a45
je 0x4c3a45
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0x32
mov dword [ebp - 4], 0x33
mov dword [ebp - 4], 0x34
mov dword [ebp - 4], 0x35
mov dword [ebp - 4], 0x34
lea eax, [ebp - 0xac]
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 0x36
mov dword [ebp - 4], 0x34
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c41a4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0x37
mov dword [ebp - 4], 0x38
mov dword [ebp - 4], 0x37
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c3aaf
jmp 0x4c419b
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x4c3b1b
push 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push esi
mov ecx, dword [ebp - 0x18]
push eax
call fcn.005f0d2c
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4c3b42
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + eax*4 + 0x16fcc]
test ecx, ecx
je 0x4c3b42
add ecx, 0x9020
mov eax, dword [ebp + 0xc]
push eax
call fcn.004e2d98
mov cl, byte [ebp - 0x38]
test cl, cl
je 0x4c3ba0
mov al, byte [ebp - 0x2c]
test al, al
je 0x4c3ba0
mov al, byte [0x9ec370]
test al, al
je 0x4c3ba0
mov eax, dword [ebp - 0x14]
lea edx, [eax + eax]
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + eax*4 + 0x16fcc]
cmp byte [eax + 0x9044], 0xff
je 0x4c3b84
mov ebx, dword [ebp - 0x20]
mov byte [eax + 0x9044], bl
mov eax, esi
mov eax, dword [eax + edx*2 + 0x16fcc]
mov ebx, dword [ebp - 0x24]
mov byte [eax + 0x9045], bl
mov eax, esi
mov esi, dword [eax + edx*2 + 0x16fcc]
mov edx, dword [ebp - 0x1c]
mov word [esi + 0x904e], dx
test cl, cl
je 0x4c3bc1
mov al, byte [ebp - 0x3c]
test al, al
je 0x4c3bc1
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + eax*4 + 0x16fcc]
xor edx, edx
mov word [ecx + 0x904e], dx
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + ebx*4 + 0x16fcc]
test ecx, ecx
je 0x4c3be3
push 0
call fcn.005794dc
movzx eax, al
test eax, eax
jne 0x4c4c4f
inc ebx
cmp ebx, 0x10
jl 0x4c3bc3
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1704e], 0
mov ecx, eax
call fcn.004c2b40
mov eax, dword [0x9ee004]
cmp eax, 3
je 0x4c3fb8
mov eax, dword [ebp - 0x14]
test eax, eax
jge 0x4c3fa7
xor esi, esi
push esi
mov ecx, dword [ebp - 0x18]
call fcn.00487bd0
movzx eax, al
test eax, eax
je 0x4c3ccb
mov al, byte [0x9ec1b0]
test al, al
je 0x4c3ccb
push esi
mov ecx, dword [ebp - 0x18]
call fcn.00487bd0
movzx eax, al
test eax, eax
je 0x4c3ccb
push esi
mov ecx, dword [ebp - 0x18]
call fcn.00487bf4
mov ebx, eax
add ebx, 0x8520
mov edx, 0xffffffff
mov edi, dword [ebp - 0x18]
push edx
mov ecx, ebx
push edx
push esi
push 2
push 0x74
push edi
call fcn.005399c4
mov edi, eax
test edi, edi
je 0x4c3c93
push 0x41200000
mov ecx, edi
call fcn.0053a90c
mov dword [edi + 0x58], 7
mov byte [edi + 0x51], 0
mov byte [edi + 0x11], 1
mov edx, 0xffffffff
mov edi, dword [ebp - 0x18]
mov ecx, ebx
push edx
push edx
push esi
push 2
push 0x75
push edi
call fcn.005399c4
mov ebx, eax
test ebx, ebx
je 0x4c3ccb
push 0x41200000
mov ecx, ebx
call fcn.0053a90c
mov dword [ebx + 0x58], 0xa
mov byte [ebx + 0x51], 0
mov byte [ebx + 0x11], 1
inc esi
cmp esi, 0x10
jl 0x4c3c15
mov ecx, 0x9d7710
call fcn.004e53f4
mov byte [0x9caf1c], 0
mov eax, dword [0x9ee004]
cmp eax, 4
je 0x4c3f6b
test eax, eax
jne 0x4c3d1e
mov eax, dword [0x9ee038]
cmp eax, 0x18
je 0x4c3ecb
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4c3edb
push 0
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0050c100
jmp 0x4c3d27
cmp eax, 5
je 0x4c3eea
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c3d53
je 0x4c3d53
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 0x58
mov dword [ebp - 4], 0x59
mov dword [ebp - 4], 0x5a
mov dword [ebp - 4], 0x5b
mov dword [ebp - 4], 0x5a
lea eax, [ebp - 0xac]
mov dword [ebp - 0x170], eax
mov dword [ebp - 4], 0x5c
mov dword [ebp - 4], 0x5a
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
je 0x4c3e03
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], 0x5d
mov dword [ebp - 4], 0x5e
mov dword [ebp - 4], 0x5d
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp eax, edx
jne 0x4c3db9
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c3e3b
mov dword [ebp - 0xc8], 0
je 0x4c3e3b
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c3e58
mov dword [ebp - 0xc4], 0
je 0x4c3e58
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c3e7e
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c3e9b
mov dword [ebp - 0x148], 0
je 0x4c3e9b
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x19d8], 0
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov al, byte [ebp + 0x14]
test al, al
je 0x4c3d06
jmp 0x4c3d27
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0050c008
jmp 0x4c3d27
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4c3d27
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00487bd0
movzx eax, al
test eax, eax
je 0x4c3d27
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00487bf4
mov ebx, eax
mov dl, byte [ebp - 0x34]
test dl, dl
jne 0x4c3f34
xor esi, esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push esi
push eax
call fcn.00511b0c
jmp 0x4c3d27
push dword [ebx + 0x9074]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
push dword [edx + 0x16974]
call fcn.0056eb30
xor esi, esi
mov edx, dword [ebx + 0x8000]
test edx, edx
jle 0x4c3f1f
mov edx, dword [ebx + esi*4 + 0x4000]
inc esi
mov byte [edx], 0
cmp esi, dword [ebx + 0x8000]
jl 0x4c3f56
jmp 0x4c3f1f
mov eax, dword [0x9ee038]
cmp eax, 0x18
je 0x4c3f9b
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4c3f8c
push 0
mov ecx, dword [ebp - 0x18]
push eax
call fcn.005048d8
jmp 0x4c3d27
push 0
mov ecx, dword [ebp - 0x18]
call fcn.005047e4
jmp 0x4c3d27
mov al, byte [ebp + 0x14]
test al, al
je 0x4c3f75
jmp 0x4c3d27
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.004c2e38
jmp 0x4c3cd5
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x4c3c08
mov eax, dword [ebp - 0x14]
test eax, eax
jl 0x4c3c13
cmp eax, 0x10
jge 0x4c3fa7
mov esi, dword [ebp - 0x18]
mov edx, dword [esi + eax*4 + 0x16fcc]
test edx, edx
je 0x4c3fa7
inc al
mov byte [edx + 0x9044], al
jmp 0x4c3fa7
xor eax, eax
mov dword [ebp - 0x40], eax
jmp 0x4c3657
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c4036
mov dword [ebp - 0xc8], 0
je 0x4c4036
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c4053
mov dword [ebp - 0xc4], 0
je 0x4c4053
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c4079
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c4096
mov dword [ebp - 0x148], 0
je 0x4c4096
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 8
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c4109
mov dword [ebp - 0xc8], 0
je 0x4c4109
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c4126
mov dword [ebp - 0xc4], 0
je 0x4c4126
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c414c
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c4169
mov dword [ebp - 0x148], 0
je 0x4c4169
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 0xa
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c41dc
mov dword [ebp - 0xc8], 0
je 0x4c41dc
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c41f9
mov dword [ebp - 0xc4], 0
je 0x4c41f9
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c421f
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c423c
mov dword [ebp - 0x148], 0
je 0x4c423c
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 1
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x21c]
push 0xa09320
call fcn.004061ac
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], 5
mov dword [ebp - 4], 0x39
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
and eax, 0xf
or eax, 0x10
mov ecx, dword [ebp - 0x220]
push eax
push edx
call fcn.0043ec3c
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x21c]
call fcn.00406220
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x210], eax
mov dword [ebp - 4], 0x3a
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c431b
je 0x4c431b
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x208], eax
mov dword [ebp - 4], 0x3b
mov dword [ebp - 4], 0x3c
mov dword [ebp - 4], 0x3d
mov dword [ebp - 4], 0x3e
mov dword [ebp - 4], 0x3d
lea eax, [ebp - 0xac]
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 0x3f
mov dword [ebp - 4], 0x3d
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c43cb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 0x40
mov dword [ebp - 4], 0x41
mov dword [ebp - 4], 0x40
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c4381
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c4403
mov dword [ebp - 0xc8], 0
je 0x4c4403
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c4420
mov dword [ebp - 0xc4], 0
je 0x4c4420
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c4446
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c4463
mov dword [ebp - 0x148], 0
je 0x4c4463
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 7
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x1ec]
push 0xa092e0
call fcn.004061ac
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1e8], 5
mov dword [ebp - 4], 0x42
lea edx, [ebp - 0x1ec]
mov eax, dword [ebp - 0x1e8]
and eax, 0xf
or eax, 0x10
mov ecx, dword [ebp - 0x1f0]
push eax
push edx
call fcn.0043ec3c
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x1ec]
call fcn.00406220
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 4], 0x43
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c4542
je 0x4c4542
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 4], 0x44
mov dword [ebp - 4], 0x45
mov dword [ebp - 4], 0x46
mov dword [ebp - 4], 0x47
mov dword [ebp - 4], 0x46
lea eax, [ebp - 0xac]
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 4], 0x48
mov dword [ebp - 4], 0x46
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c45f2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 4], 0x49
mov dword [ebp - 4], 0x4a
mov dword [ebp - 4], 0x49
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c45a8
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c462a
mov dword [ebp - 0xc8], 0
je 0x4c462a
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c4647
mov dword [ebp - 0xc4], 0
je 0x4c4647
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c466d
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c468a
mov dword [ebp - 0x148], 0
je 0x4c468a
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 6
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x1bc]
push 0xa09260
call fcn.004061ac
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1b8], 5
mov dword [ebp - 4], 0x4b
lea edx, [ebp - 0x1bc]
mov eax, dword [ebp - 0x1b8]
and eax, 0xf
or eax, 0x10
mov ecx, dword [ebp - 0x1c0]
push eax
push edx
call fcn.0043ec3c
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x1bc]
call fcn.00406220
mov dword [ebp - 4], 6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 0x4c
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00406220
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c4769
je 0x4c4769
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 0x4d
mov dword [ebp - 4], 0x4e
mov dword [ebp - 4], 0x4f
mov dword [ebp - 4], 0x50
mov dword [ebp - 4], 0x4f
lea eax, [ebp - 0xac]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 4], 0x51
mov dword [ebp - 4], 0x4f
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
je 0x4c4819
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x198], eax
mov dword [ebp - 4], 0x52
mov dword [ebp - 4], 0x53
mov dword [ebp - 4], 0x52
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp eax, edx
jne 0x4c47cf
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x34], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c4851
mov dword [ebp - 0xc8], 0
je 0x4c4851
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c486e
mov dword [ebp - 0xc4], 0
je 0x4c486e
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c4894
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c48b1
mov dword [ebp - 0x148], 0
je 0x4c48b1
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 5
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
mov al, 1
xor edx, edx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x3c], al
mov ebx, dword [ecx + 0x16fcc]
test ebx, ebx
mov dword [ebp - 0x14], edx
je 0x4c4a36
mov eax, 1
mov edx, ecx
mov ecx, dword [edx + 0x16fd0]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 2
mov ecx, dword [edx + 0x16fd4]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 3
mov ecx, dword [edx + 0x16fd8]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 4
mov ecx, dword [edx + 0x16fdc]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 5
mov ecx, dword [edx + 0x16fe0]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 6
mov ecx, dword [edx + 0x16fe4]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 7
mov ecx, dword [edx + 0x16fe8]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 8
mov ecx, dword [edx + 0x16fec]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 9
mov ecx, dword [edx + 0x16ff0]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xa
mov ecx, dword [edx + 0x16ff4]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xb
mov ecx, dword [edx + 0x16ff8]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xc
mov ecx, dword [edx + 0x16ffc]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xd
mov ecx, dword [edx + 0x17000]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xe
mov ecx, dword [edx + 0x17004]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0xf
mov ecx, dword [edx + 0x17008]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4c4a36
mov eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jl 0x4c35b2
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00406220
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x4c4a6e
je 0x4c4a6e
push 1
call fcn.00487bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x298], eax
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0x10
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0xac]
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0x12
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], edx
je 0x4c4b1e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0x13
mov dword [ebp - 4], 0x14
mov dword [ebp - 4], 0x13
lea ecx, [eax + 0xc]
call fcn.00406220
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 8]
call fcn.00406220
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
cmp eax, edx
jne 0x4c4ad4
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x28], eax
push eax
call fcn.00888fb0
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
je 0x4c4b56
mov dword [ebp - 0xc8], 0
je 0x4c4b56
push 1
call fcn.00459754
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4c4b73
mov dword [ebp - 0xc4], 0
je 0x4c4b73
push 1
call fcn.00459944
lea ecx, [ebp - 0xfc]
call fcn.00406220
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4c4b99
mov dword [ebp - 0x14c], 0
push eax
call fcn.00888fb0
pop ecx
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x4c4bb6
mov dword [ebp - 0x148], 0
je 0x4c4bb6
push 1
call fcn.004b66e8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x164]
mov eax, 4
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x19d8], 0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
xor al, al
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2c], al
call fcn.0058e7e0
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x16dcc]
call fcn.00566888
mov ecx, dword [ebp - 0x18]
call fcn.0058e6c8
jmp 0x4c35b2
xor al, al
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x2c], al
call fcn.0058e7e0
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x16dcc]
call fcn.00566888
mov ecx, dword [ebp - 0x18]
call fcn.0058e6c8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00610574
mov dword [ebp - 0x30], eax
mov eax, 1
mov dword [ebp - 0x28], eax
jmp 0x4c3b1b
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x1704e], 1
jmp 0x4c3bf3
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push eax
call fcn.005f0238
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b
push 0
movzx esi, byte [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push edi
push eax
call fcn.006182f4
mov dword [ebp - 0x30], eax
mov al, 1
xor edx, edx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x28], edx
jmp 0x4c3b1b