Function at 0x46c008
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x46c011
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x21]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
movsb byte es:[edi], byte [esi]
mov ebx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x21]
mov edx, dword [0x44ba80]
call fcn.00405898
xor eax, eax
push ebp
push 0x46d2ff
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00451b30
test al, al
je 0x46c089
cmp byte [0x4c2e9c], 0
je 0x46c089
cmp dword [0x4c2e94], 0
jne 0x46c089
mov eax, dword [0x4bf71c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x46c089
mov byte [ebp - 0xb9], 1
jmp 0x46d280
mov byte [ebp - 0xb9], 0
call fcn.0040b900
fstp qword [0x4c2f54]
wait
mov eax, dword [ebp - 0x2c]
mov dword [0x4bddc4], eax
mov eax, 0x4c2f14
call fcn.00404c70
mov dword [0x4c2f5c], 1
xor edx, edx
push ebp
push 0x46d25b
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00406f64
mov byte [eax + 0x139], 1
mov ecx, dword [0x4c2e0c]
mov dl, 1
mov eax, dword [0x44b9b8]
call fcn.0046f450
mov dword [ebp - 0x6c], eax
xor edx, edx
push ebp
push 0x46d24a
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x28], 0
je 0x46c103
mov eax, dword [ebp - 0x28]
mov dword [0x4c2ecc], eax
test bl, bl
je 0x46c116
cmp dword [ebp - 0x28], 0
je 0x46c116
mov eax, dword [ebp - 0x28]
sub eax, 5
mov dword [ebp - 0x28], eax
call fcn.0046bc84
cmp esi, dword [0x4c0668]
je 0x46c12b
mov ebx, dword [0x4c0668]
jmp 0x46c133
mov ebx, dword [0x4bf434]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x28]
mov dword [0x4c30f8], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x4c30f4], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4c30fc], eax
mov cl, 1
mov edx, eax
mov eax, dword [0x4c2e0c]
call fcn.0046f88c
cmp byte [0x4bddcc], 0
je 0x46c1d3
mov eax, dword [0x4c0668]
call fcn.0045010c
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x46c2ee
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x4c2e1c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [ebp - 0x1ac]
xor eax, eax
call fcn.0044c23c
mov edx, dword [ebp - 0x1ac]
mov eax, dword [0x4c2e1c]
call fcn.00427e8c
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x5c]
call fcn.0040514c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov edx, eax
mov eax, dword [0x4c2e1c]
call fcn.00427ea8
jmp 0x46c2ee
xor eax, eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0x28], 0
je 0x46c1f9
mov dword [0x4c2f5c], 0x65
mov eax, dword [ebp - 0x28]
call fcn.004501c4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x46c20e
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x46c255
mov dword [0x4c2f5c], 0x66
mov eax, esi
call fcn.0045010c
mov dword [ebp - 0xd0], eax
mov dword [0x4c2f5c], 0x67
cmp dword [ebp - 0xd0], 0
je 0x46c248
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x46c255
test ebx, ebx
je 0x46c255
mov eax, ebx
call fcn.0045010c
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x4c2e1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x4c2e1c]
test byte [eax + 0x331], 8
je 0x46c2c9
test ebx, ebx
je 0x46c2c9
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov eax, ebx
call fcn.0045010c
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x46c2a8
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x27], 0
jne 0x46c2b6
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
jmp 0x46c2c9
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x23]
mov eax, dword [0x4c2e1c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 4]
mov eax, dword [0x4c2e1c]
call fcn.00427e8c
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [0x4c2e1c]
call fcn.00427ea8
lea ecx, [ebp - 0x1b0]
mov dl, 0x9a
mov eax, dword [0x4c2e1c]
call fcn.00426390
mov edx, dword [ebp - 0x1b0]
mov eax, 0x4bddd0
call fcn.00404cc4
lea ecx, [ebp - 0x1b4]
mov dl, 0x9b
mov eax, dword [0x4c2e1c]
call fcn.00426390
mov edx, dword [ebp - 0x1b4]
mov eax, 0x4bddd4
call fcn.00404cc4
mov dword [0x4c2f5c], 0x68
call fcn.004259f4
test al, al
je 0x46c386
mov eax, dword [0x4c2e1c]
mov dx, word [0x46d318]
not edx
and dx, word [eax + 0x314]
mov eax, dword [0x4c2e1c]
call fcn.004281f8
mov ecx, 0x46d324
mov dl, 0x1a
mov eax, dword [0x4c2e1c]
call fcn.00427dfc
mov ecx, 0x46d350
mov dl, 0x1b
mov eax, dword [0x4c2e1c]
call fcn.00427dfc
mov dword [0x4c2f5c], 2
xor eax, eax
call fcn.004577f8
mov bl, 2
mov byte [ebp - 0xc1], 0
mov eax, dword [0x4c2e1c]
mov al, byte [eax + 0x6a]
mov byte [0x4c30ac], al
mov byte [0x4c30ad], 0
cmp byte [ebp + 8], 2
je 0x46c4eb
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x2ed], 0
je 0x46c4eb
push ebp
call fcn.00468404
pop ecx
mov dword [ebp - 0xc0], eax
mov dword [0x4c2f5c], 0xc9
cmp dword [ebp - 0xc0], 0xffffffff
je 0x46c4eb
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.00425edc
mov al, byte [eax + 0xc]
mov byte [ebp - 0xc1], al
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.00425edc
mov bl, byte [eax + 0xb]
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.00425edc
movzx eax, byte [eax + 0xa]
cmp eax, 4
ja case.default.0x46c442
jmp dword [eax*4 + 0x46c449]
mov byte [0x4c30ac], 0
jmp case.default.0x46c442
mov eax, dword [0x4c2e1c]
mov al, byte [eax + 0x6a]
mov byte [0x4c30ac], al
jmp case.default.0x46c442
mov byte [0x4c30ac], 1
jmp case.default.0x46c442
mov byte [0x4c30ac], 2
jmp case.default.0x46c442
mov byte [0x4c30ac], 3
mov byte [0x4c30ad], 1
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.00425edc
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1b8]
call fcn.00424ce8
cmp dword [ebp - 0x1b8], 0
je 0x46c4eb
mov eax, dword [0x4c2e1c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.00425edc
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1bc]
call fcn.00424ce8
mov eax, dword [ebp - 0x1bc]
call fcn.004577f8
call fcn.0046bbec
mov byte [ebp - 0xba], al
mov dword [0x4c2f5c], 3
cmp bl, 2
jne 0x46d1f0
cmp dword [ebp - 0x14], 0
jne 0x46c517
call fcn.0044de50
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jne 0x46c52b
call fcn.00406f64
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
jne 0x46c54d
call fcn.00406f64
cmp dword [eax + 0x1c], 0
je 0x46c54d
call fcn.00406f64
lea eax, [eax + 0x1c]
mov dword [ebp - 0x20], eax
mov edx, 0xcc
mov eax, dword [ebp - 0x20]
call fcn.00425200
test al, al
jne 0x46c563
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x46c577
call fcn.00406f64
lea eax, [eax + 0xe8]
mov dword [ebp - 0x1c], eax
mov edx, 0x50
mov eax, dword [ebp - 0x1c]
call fcn.00425200
test al, al
jne 0x46c58d
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4c2ed0], eax
mov dword [0x4c2f5c], 4
cmp dword [0x4c2f00], 0
je 0x46c5c0
mov edx, dword [ebp - 0x28]
add edx, 5
mov eax, dword [0x4c2f00]
call fcn.00455d48
test al, al
jne 0x46ca1f
cmp dword [0x4bddb0], 0
je 0x46c5d3
mov eax, dword [0x4bddb0]
call fcn.00403d7c
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46c601
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x46d360]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004575d4
mov dword [0x4bddb0], eax
jmp 0x46c606
mov dword [0x4bddb0], eax
lea eax, [ebp - 0x1c0]
call fcn.004663a0
push dword [ebp - 0x1c0]
push ebp
lea eax, [ebp - 0x1c4]
call fcn.00465ac0
pop ecx
push dword [ebp - 0x1c4]
push ebp
lea eax, [ebp - 0x1c8]
call fcn.00465bf4
pop ecx
push dword [ebp - 0x1c8]
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.0040500c
mov eax, dword [0x4bddb0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46c775
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
cmp byte [eax], 4
jne 0x46c763
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
mov ebx, dword [eax + 5]
xor edx, edx
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
cmp ebx, dword [eax + 5]
jne 0x46c763
push dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
lea edx, [eax + 0x59]
lea eax, [ebp - 0x1cc]
call fcn.00404ed4
push dword [ebp - 0x1cc]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
lea edx, [eax + 0x159]
lea eax, [ebp - 0x1d0]
call fcn.00404ed4
push dword [ebp - 0x1d0]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
lea edx, [eax + 0x259]
lea eax, [ebp - 0x1d4]
call fcn.00404ed4
push dword [ebp - 0x1d4]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x4bddb0]
call fcn.0046f2b0
mov eax, dword [eax + 0x35d]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1d8]
call fcn.00409654
push dword [ebp - 0x1d8]
lea eax, [ebp - 0xcc]
mov edx, 5
call fcn.0040500c
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46c66f
mov eax, dword [ebp - 0xcc]
call fcn.0043a770
movzx eax, ax
lea ecx, [ebp - 0x1dc]
mov edx, 4
call fcn.0040967c
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0xcc]
call fcn.00404d08
mov eax, 0x4c30a8
mov edx, dword [ebp - 0xcc]
call fcn.00404cc4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6ac
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffff
je 0x46c7e1
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bd24
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46c88d
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46c87b
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bd98
test al, al
je 0x46c87b
mov eax, dword [0x4c2e0c]
call fcn.0046f710
xor eax, eax
push ebp
push 0x46c874
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c87b
mov eax, dword [0x4c2e0c]
call fcn.0046f71c
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46c801
xor eax, eax
push ebp
push 0x46ca18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46c99d
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46c98b
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bd98
test al, al
je 0x46c98b
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x1a8]
xor ecx, ecx
mov edx, 0xcc
call fcn.004035a4
mov dword [ebp - 0x1a8], 0x10003
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x46c98b
cmp dword [ebp - 0xf0], 0
je 0x46c98b
cmp dword [ebp - 0xe4], 0
je 0x46c98b
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push eax
push 1
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x46d360]
push eax
mov ecx, dword [ebp - 0xe4]
xor edx, edx
mov eax, dword [0x4bddb0]
call fcn.004572c8
mov eax, dword [ebp - 0xc8]
call fcn.0046bd24
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46c8bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ca1f
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46ca17
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46ca09
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bd98
test al, al
je 0x46ca09
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax + 4]
push eax
call fcn.004074a0
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46c9c6
ret
mov dword [0x4c2f5c], 5
cmp byte [ebp + 8], 2
je 0x46d1d9
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46caf8
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x46cae6
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46cae6
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bdd8
test al, al
je 0x46cae6
mov eax, dword [0x4c2e0c]
call fcn.0046f710
xor eax, eax
push ebp
push 0x46cadf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cae6
mov eax, dword [0x4c2e0c]
call fcn.0046f71c
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46ca53
xor edx, edx
push ebp
push 0x46d177
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [0x4c2f5c], 6
mov byte [0x4c30cd], 1
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f0], 0x10
je 0x46cb2f
call fcn.00450e00
call fcn.00451704
mov dword [0x4c2f5c], 7
mov eax, dword [0x4bddb0]
mov dword [0x4c3110], eax
mov eax, dword [0x4c2e1c]
mov dword [0x4c3114], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4c3100], eax
mov eax, dword [ebp - 0x20]
mov dword [0x4c3104], eax
mov dword [0x4c2f5c], 0x2be
push ebp
call fcn.00469744
pop ecx
mov eax, 0x4c3108
mov edx, dword [0x4c2ee8]
call fcn.00404cc4
mov dword [0x4c2f5c], 0x2bf
mov eax, dword [0x4bdda8]
mov dword [0x4c310c], eax
mov dword [0x4c2f5c], 0x2c0
mov dword [0x4c2ee4], 0x4c30f4
mov al, 1
call fcn.00453f9c
mov dword [0x4c2f5c], 0x2c1
call fcn.0044fab8
mov dword [0x4c2f5c], 0x2c2
push ebp
call fcn.0046be30
pop ecx
call fcn.004518f4
test al, al
je 0x46cc02
lea eax, [ebp - 0x1e4]
call fcn.00454558
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x1e0]
call fcn.00454874
mov edx, dword [ebp - 0x1e0]
mov eax, 0x4c2e84
call fcn.00404cc4
mov eax, 0x4c37c8
mov edx, dword [0x4c2e84]
call fcn.00404cc4
push ebp
call fcn.0046bc2c
pop ecx
test al, al
je 0x46cc27
mov eax, 0x457684
call fcn.00455c94
cmp byte [ebp - 0x21], 0
jne 0x46cc39
mov eax, 0x454b44
call fcn.00455c94
jmp 0x46cc43
mov eax, 0x454c14
call fcn.00455c94
call fcn.004609a4
mov dword [0x4c2f5c], 8
cmp byte [0x4c30cd], 0
je 0x46d0dc
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x324], 0
je 0x46ccb8
call fcn.0040b900
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1e8]
call fcn.0040c564
mov edx, dword [ebp - 0x1e8]
mov eax, dword [0x4c2f50]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4c2f50]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x4c2e1c]
cmp eax, dword [edx + 0x328]
jle 0x46ccb8
xor edx, edx
mov eax, dword [0x4c2f50]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [0x4c3130]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, 0x45503c
call fcn.00455c94
mov eax, dword [0x4c3130]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x46cd0d
mov eax, dword [0x4c2e1c]
test byte [eax + 0x69], 0x80
je 0x46cd0d
lea ecx, [ebp - 0x1ec]
mov dl, 0x5b
mov eax, dword [0x4c2e1c]
call fcn.00426390
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [0x4c3130]
mov eax, 7
call fcn.004582b4
mov dword [0x4c2f5c], 9
inc dword [0x4c2e28]
mov dword [0x4c2f5c], 0xa
push ebp
lea eax, [ebp - 0x1f4]
call fcn.00465f64
pop ecx
mov eax, dword [ebp - 0x1f4]
lea edx, [ebp - 0x1f0]
call fcn.004655a4
mov edx, dword [ebp - 0x1f0]
mov eax, 0x4c2edc
call fcn.00404cc4
mov byte [ebp - 0xbb], 0
mov dword [0x4c2f5c], 0xb
cmp byte [0x4c30ad], 0
jne 0x46cd7c
mov eax, dword [0x4c2e1c]
mov al, byte [eax + 0x6a]
mov byte [0x4c30ac], al
cmp byte [0x4c30ac], 0
je 0x46cf26
mov dword [0x4c2f5c], 0xc
mov byte [0x4c30cc], 1
call fcn.0044fab8
mov eax, 0x468458
call fcn.00455c94
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x30c], 0
jne 0x46cdc9
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x30d], 0
jne 0x46cdc9
xor eax, eax
jmp 0x46cdcb
mov al, 1
mov byte [0x4c2ef4], al
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x4c2ef5], al
cmp byte [0x4c30cc], 0
je 0x46cf82
mov dword [0x4c2f5c], 0xd
mov al, byte [ebp + 0x10]
call fcn.0046bcdc
sub al, 1
jb 0x46ce95
je 0x46ce26
dec al
jne 0x46cf10
push ebp
mov eax, dword [0x4c2ee8]
call fcn.0046ba4c
pop ecx
jmp 0x46cf10
xor eax, eax
push ebp
push 0x46ce76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1f8]
mov ecx, dword [0x4c2ee8]
mov edx, dword [ebp - 0x38]
call fcn.00404f98
mov edx, dword [ebp - 0x1f8]
mov eax, dword [0x4bf40c]
call fcn.00405368
call fcn.00403834
call fcn.00402c4c
mov byte [0x4c30cc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cf10
xor edx, edx
push ebp
push 0x46cef3
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x4c30ac], 3
sete byte [ebp - 0xbb]
mov byte [0x4c3389], 0
cmp byte [0x4c30ac], 0
setne al
call fcn.0045f9fc
xor eax, eax
cmp byte [0x4c30ac], 0
je 0x46ced9
mov byte [0x4c3389], 1
cmp byte [0x4c30ac], 0
jne 0x46cec2
mov byte [0x4c30cc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cf10
mov dword [0x4c2f5c], 0xe
mov eax, 0x46847c
call fcn.00455c94
jmp 0x46cf82
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x30c], 0
jne 0x46cf46
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x30d], 0
jne 0x46cf46
xor eax, eax
jmp 0x46cf48
mov al, 1
mov byte [0x4c2ef4], al
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x4c2ef5], al
call fcn.00451b3c
test al, al
je 0x46cf82
push ebp
lea eax, [ebp - 0x1fc]
call fcn.0045780c
mov eax, dword [ebp - 0x1fc]
call fcn.0046ba4c
pop ecx
cmp byte [ebp - 0xbb], 0
je 0x46cf90
call fcn.00458a34
call fcn.0046bbec
test al, al
je 0x46cfaf
lea eax, [ebp - 0x200]
call fcn.00454330
mov eax, dword [ebp - 0x200]
call fcn.004610cc
call fcn.0046115c
mov dword [0x4c2f5c], 0xf
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f0], 4
je 0x46d075
call fcn.00453eb4
xor eax, eax
push ebp
push 0x46d019
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [0x4c3140]
call fcn.0043e12c
mov ecx, eax
dec ecx
mov edx, 0x46d388
mov eax, dword [0x4c3140]
call fcn.0043dec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d020
call fcn.00453f80
ret
call fcn.0046bbec
mov byte [ebp - 0xba], al
mov eax, dword [0x4c2e1c]
cmp byte [eax + 0x2ef], 0
je 0x46d093
call fcn.00468204
cmp byte [0x4c2ef6], 0
je 0x46d0a6
mov eax, dword [0x4c2ee8]
call fcn.0044ff14
mov dword [0x4c2f5c], 0x10
cmp byte [ebp - 0xba], 0
je 0x46d0be
call fcn.004648f0
cmp byte [ebp - 0xba], 0
je 0x46d0d5
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f1], 0x80
jne 0x46d0e3
call fcn.00464944
jmp 0x46d0e3
mov byte [ebp - 0xb9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d181
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46d176
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x46d168
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46d168
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
call fcn.0046bdd8
test al, al
je 0x46d168
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046f6dc
mov eax, dword [eax + 4]
push eax
call fcn.004074a0
inc dword [ebp - 0xc0]
dec dword [ebp - 0xdc]
jne 0x46d10c
ret
mov eax, dword [0x4c2e1c]
test byte [eax + 0x331], 0x80
je 0x46d1fc
mov byte [ebp - 0xb9], 1
jmp 0x46d1fc
cmp bl, 1
jne 0x46d1fc
mov byte [ebp - 0xb9], 1
mov dword [0x4c2f5c], 0x12
cmp byte [ebp + 8], 2
je 0x46d228
cmp byte [ebp - 0xba], 0
je 0x46d223
mov eax, dword [0x4c2e1c]
test byte [eax + 0x2f1], 0x80
jne 0x46d228
call fcn.00464a54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d251
mov eax, dword [ebp - 0x6c]
call fcn.00403d7c
call fcn.00406f64
mov byte [eax + 0x139], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d306
lea eax, [ebp - 0x210]
mov edx, 0x1a
call fcn.00404c94
lea eax, [ebp - 0xd8]
call fcn.00404c70
lea eax, [ebp - 0xcc]
call fcn.00404c70
lea eax, [ebp - 0xb8]
call fcn.00404c70
lea eax, [ebp - 0x78]
call fcn.00404c70
lea eax, [ebp - 0x68]
call fcn.00404c70
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404c94
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404c94
lea eax, [ebp - 0x30]
call fcn.00404c70
lea eax, [ebp - 0x21]
mov edx, dword [0x44ba80]
call fcn.00405754
ret