Function at 0x4c2c2c
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x4c2c35
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c39c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0x1f4
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00404ed4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c], edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004b9e08
cmp dword [ebp - 0x24], 0
jne 0x4c2cc9
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404f6c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404f6c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x20]
call 0x40b83c
mov eax, dword [ebp - 0x68]
mov edx, 0x4c39dc
call fcn.004052fc
jne 0x4c2d48
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
setne byte [ebp - 0x45]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x204
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404f28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x208
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404f28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x218
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.00404f28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404f28
jmp 0x4c2d8c
mov byte [ebp - 0x45], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x204
call fcn.00404ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x208
call fcn.00404ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x218
call fcn.00404ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x21c
call fcn.00404ed4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
je 0x4c2d9b
cmp byte [ebp - 0x45], 0
je 0x4c2d9f
xor eax, eax
jmp 0x4c2da1
mov al, 1
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4c2dbb
cmp eax, 0
seta al
jmp 0x4c2dbe
setg al
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
and al, byte [ebp - 0xe]
je 0x4c2dde
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x4c39ec
call fcn.004052fc
je 0x4c2de2
xor eax, eax
jmp 0x4c2de4
mov al, 1
mov byte [ebp - 0x10], al
cmp byte [ebp - 0x10], 0
je 0x4c2dff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ecx, 0x4c39f8
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0xe], 0
je 0x4c2e65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x70]
call 0x40be6c
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x4c3a18
call 0x4051ec
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x4c2e65
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
lea eax, [ebp - 0x74]
mov edx, 0x4c3a34
call 0x4051ec
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x4c2e91
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
lea eax, [ebp - 0x78]
mov edx, 0x4c3a4c
call 0x4051ec
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jg 0x4c2ea7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
jle 0x4c2f4a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x70]
jl 0x4c2f06
push 0x4c3a64
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.0040bd80
push dword [ebp - 0x80]
push 0x4c3a7c
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0040bd80
push dword [ebp - 0x84]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00405268
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4c2f4a
push 0x4c3a64
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
call fcn.0040bd80
push dword [ebp - 0x8c]
push 0x4c3a7c
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00405268
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x40]
call fcn.00404ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4c2faa
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x40], 0
je 0x4c2f80
lea eax, [ebp - 0x40]
mov edx, 0x4c3a88
call fcn.004051a0
lea ecx, [ebp - 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x40]
call fcn.004051a0
inc dword [ebp - 0x4c]
dec dword [ebp - 0x60]
jne 0x4c2f6d
cmp dword [ebp - 0x40], 0
je 0x4c2fd6
lea eax, [ebp - 0x94]
mov ecx, dword [ebp - 0x40]
mov edx, 0x4c3a94
call 0x4051ec
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x50]
call fcn.00404ed4
cmp byte [ebp - 0x51], 0
je 0x4c2ff1
lea eax, [ebp - 0x50]
mov edx, 0x4c3aa8
call fcn.00404f6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3c], 0
je 0x4c305c
lea eax, [ebp - 0x98]
mov ecx, 0x4c3ab8
mov edx, dword [ebp - 0x50]
call 0x4051ec
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0040bd80
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov edx, 0x4c3ad8
call 0x4051ec
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4c3082
lea eax, [ebp - 0xa4]
mov ecx, 0x4c3af0
mov edx, dword [ebp - 0x50]
call 0x4051ec
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [ebp - 0x24], 0
je 0x4c30dd
push dword [ebp - 0x24]
push 0x4c3b0c
push dword [ebp - 0x28]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.00405268
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.004b1b74
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, 0x4c3b18
call 0x4051ec
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x51], 0
je 0x4c3147
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x4c3147
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0x4c3b0c
mov eax, dword [ebp - 4]
push dword [eax + 0x54]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00405268
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.004b1b74
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 0x4c3b38
call 0x4051ec
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x2c]
call fcn.004babd8
test al, al
je 0x4c316f
push 0x4c3b5c
push dword [ebp - 0x2c]
push 0x4c3b68
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405268
jmp 0x4c317a
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.00404f6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x78], 0
je 0x4c31c7
mov eax, dword [ebp - 0x30]
mov edx, 0x4c3b74
call fcn.004052fc
je 0x4c31c7
push 0x4c3b80
push dword [ebp - 0x40]
push 0x4c3b0c
push dword [ebp - 0x30]
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.00405268
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4c31ed
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp - 0x40]
mov edx, 0x4c3b80
call 0x4051ec
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x51], 0
je 0x4c3216
push dword [ebp - 0x20]
push 0x4c3b90
push dword [ebp - 0x40]
push 0x4c3b0c
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
mov edx, 6
call fcn.00405268
mov eax, dword [ebp - 0x3c]
mov edx, 0x4c3b9c
call fcn.004052fc
jne 0x4c3232
lea eax, [ebp - 0x3c]
mov edx, 0x4c3ba8
call fcn.00404f6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x4c3bb4
call fcn.004052fc
jne 0x4c3285
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 8]
call 0x40b83c
push dword [ebp - 0xcc]
push 0x4c3bc0
push dword [ebp - 0x3c]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00405268
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4c32cf
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 8]
call 0x40b83c
push dword [ebp - 0xd4]
push 0x4c3bc0
push dword [ebp - 0x3c]
push 0x4c3bcc
mov eax, dword [ebp - 4]
push dword [eax + 0x38]
lea eax, [ebp - 0xd0]
mov edx, 5
call fcn.00405268
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x51], 0
je 0x4c32f9
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.00404f28
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
call fcn.00404f28
jmp 0x4c3315
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0x2c]
call fcn.00404f28
mov eax, dword [ebp - 4]
add eax, 8
mov edx, dword [ebp - 0x30]
call fcn.00404f28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xd8], 0
je 0x4c334a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0x20]
call 0x40b83c
mov eax, dword [ebp - 0xdc]
mov edx, 0x4c39dc
call fcn.004052fc
sete dl
mov eax, dword [ebp - 4]
call fcn.004c2bac
test al, al
jne 0x4c3392
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404ed4
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404ed4
jmp 0x4c3988
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00422b84
lea eax, [ebp - 0x14]
call fcn.00404ed4
cmp byte [ebp - 0x10], 0
je 0x4c34a7
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 4]
call fcn.004c2a4c
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4c3988
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
cmp dword [ebp - 0x40], 0
jne 0x4c340e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4c33e5
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.004c296c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x40]
call fcn.00404f6c
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
cmp dword [ebp - 0x40], 0
je 0x4c344d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4c3424
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
jl 0x4c35af
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xc8
jge 0x4c35af
lea eax, [ebp - 0x14]
call fcn.00404ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x4c35af
cmp byte [ebp - 0xe], 0
je 0x4c3590
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4c34c9
cmp eax, 0x10000
jb 0x4c351f
jmp 0x4c34cb
jl 0x4c351f
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 4]
call fcn.004c2a4c
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x4c35af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004ba810
mov eax, dword [ebp - 0xe8]
push eax
lea edx, [ebp - 0xec]
mov eax, dword [ebp - 4]
call fcn.004c2a4c
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0x40]
pop ecx
call 0x4051ec
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4c3577
mov eax, dword [ebp - 0x64]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x4c35af
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 4]
call fcn.004c2a4c
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4c3988
mov eax, dword [ebp - 4]
call fcn.004c2918
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 0
cmp dword [ebp - 0x14], 0
jne 0x4c3688
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
cmp dword [ebp - 0x40], 0
jne 0x4c360b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4c35e2
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x40]
call 0x40b83c
mov edx, dword [ebp - 0xf4]
mov eax, 0x4c3bdc
call fcn.004054b0
dec eax
jne 0x4c3647
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.004c296c
jmp 0x4c366a
lea eax, [ebp - 0x40]
mov edx, 0x4c3bec
call fcn.004051a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x40]
call fcn.004ba858
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x4c3696
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x64
je 0x4c35e2
jmp 0x4c3696
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, 0x4c39ec
call fcn.004052fc
setne byte [ebp - 0x15]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4c38a8
mov dl, 1
mov eax, dword [0x41ea8c]
call fcn.00403fc4
mov dword [ebp - 0x58], eax
xor eax, eax
push ebp
push 0x4c38a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x40], 0
je 0x4c370e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x4c36da
xor eax, eax
mov dword [ebp - 0x5c], eax
jmp 0x4c387a
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
call fcn.004ba8cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x40]
call 0x40b83c
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3bf8
call fcn.004054b0
dec eax
jne 0x4c379a
lea ecx, [ebp - 0xfc]
mov edx, 0x4c3bc0
mov eax, dword [ebp - 0x40]
call fcn.004b9d90
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xf8]
call fcn.0040bbdc
mov eax, dword [ebp - 0xf8]
or edx, 0xffffffff
call fcn.0040bf28
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4c379a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
jne 0x4c379a
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 1
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c10
call fcn.004054b0
dec eax
jne 0x4c37df
lea ecx, [ebp - 0x104]
mov edx, 0x4c3bc0
mov eax, dword [ebp - 0x40]
call fcn.004b9d90
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.0040bbdc
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404f28
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c28
call fcn.004054b0
dec eax
jne 0x4c3828
lea ecx, [ebp - 0x108]
mov edx, 0x4c3bc0
mov eax, dword [ebp - 0x44]
call fcn.004b9d90
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x40]
call fcn.0040bbdc
mov edx, dword [ebp - 0x40]
mov eax, 0x4c3c44
call fcn.004054b0
test eax, eax
jle 0x4c3828
mov eax, dword [ebp - 4]
mov byte [eax + 0x20], 2
cmp byte [ebp - 0x51], 0
je 0x4c3855
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c54
call fcn.004054b0
dec eax
jne 0x4c387a
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c70
call fcn.004054b0
test eax, eax
jle 0x4c387a
mov byte [ebp - 0x15], 1
jmp 0x4c387a
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c80
call fcn.004054b0
dec eax
jne 0x4c387a
mov edx, dword [ebp - 0x44]
mov eax, 0x4c3c70
call fcn.004054b0
test eax, eax
jle 0x4c387a
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x5c]
jg 0x4c3718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c38a8
mov eax, dword [ebp - 0x58]
call fcn.00403ff4
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1b8], 0
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x4c3988
mov eax, dword [ebp - 8]
mov edx, 0x4c3c94
call fcn.004052fc
setne byte [ebp - 0xf]
cmp byte [ebp - 0xf], 0
je 0x4c38e6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0xcc
jne 0x4c38ea
xor eax, eax
jmp 0x4c38ec
mov al, 1
mov byte [ebp - 0xf], al
cmp byte [ebp - 0xf], 0
je 0x4c3901
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0x130
jne 0x4c3905
xor eax, eax
jmp 0x4c3907
mov al, 1
mov byte [ebp - 0xf], al
cmp byte [ebp - 0xf], 0
je 0x4c394a
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x20]
sub al, 1
jb 0x4c3922
je 0x4c392f
dec al
je 0x4c393f
jmp 0x4c394a
mov eax, dword [ebp - 4]
call fcn.004c3c9c
mov byte [ebp - 0xd], al
jmp 0x4c394a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004c3d44
mov byte [ebp - 0xd], al
jmp 0x4c394a
mov eax, dword [ebp - 4]
call fcn.004c3db0
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp byte [ebp - 0x15], 0
je 0x4c3980
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404ed4
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404ed4
mov eax, dword [ebp - 4]
call fcn.004c3ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c39ca
lea eax, [ebp - 0x108]
mov edx, 0x29
call fcn.00404ef8
lea eax, [ebp - 0x50]
call fcn.00404ed4
lea eax, [ebp - 0x44]
mov edx, 0xa
call fcn.00404ef8
lea eax, [ebp - 0x14]
call fcn.00404ed4
ret