Function at 0x46b498
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x42
push 0
push 0
dec ecx
jne 0x46b4a1
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0x21]
mov edx, dword [0x44a218]
call fcn.00404dd8
xor eax, eax
push ebp
push 0x46c7d5
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00450a58
test al, al
je 0x46b519
cmp byte [0x6674e4], 0
je 0x46b519
cmp dword [0x6674dc], 0
jne 0x46b519
mov eax, dword [0x663ef8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x46b519
mov byte [ebp - 0xb9], 1
jmp 0x46c74c
mov byte [ebp - 0xb9], 0
call fcn.0040df28
fstp qword [0x667598]
wait
mov eax, dword [ebp - 0x2c]
mov dword [0x6614e8], eax
mov dword [0x6675a0], 1
xor edx, edx
push ebp
push 0x46c727
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004079e8
mov byte [eax + 0x181], 1
mov ecx, dword [0x66745c]
mov dl, 1
mov eax, dword [0x44a150]
call fcn.0046e9f4
mov dword [ebp - 0x6c], eax
xor edx, edx
push ebp
push 0x46c716
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0x28], 0
je 0x46b589
mov eax, dword [ebp - 0x28]
mov dword [0x667514], eax
test bl, bl
je 0x46b59c
cmp dword [ebp - 0x28], 0
je 0x46b59c
mov eax, dword [ebp - 0x28]
sub eax, 5
mov dword [ebp - 0x28], eax
call fcn.0046b124
cmp edi, dword [0x6644dc]
je 0x46b5b1
mov esi, dword [0x6644dc]
jmp 0x46b5b9
mov esi, dword [0x663a68]
mov esi, dword [esi]
mov eax, dword [ebp - 0x28]
mov dword [0x667738], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x667734], eax
mov eax, dword [ebp - 0xc]
mov dword [0x66773c], eax
cmp byte [0x660fc0], 0
je 0x46b63a
call fcn.00464780
call fcn.0044ee94
mov ebx, eax
test ebx, ebx
je 0x46b6f2
mov edx, dword [ebx + 0x23]
mov eax, dword [0x66746c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x1a0]
call fcn.00464734
mov edx, dword [ebp - 0x1a0]
mov eax, dword [0x66746c]
call fcn.004245ac
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x5c]
call fcn.0040453c
push eax
call sub.kernel32.dll_GetModuleHandleA_2
mov edx, eax
mov eax, dword [0x66746c]
call fcn.004245c8
jmp 0x46b6f2
xor ebx, ebx
cmp dword [ebp - 0x28], 0
je 0x46b656
mov dword [0x6675a0], 0x65
mov eax, dword [ebp - 0x28]
call fcn.0044ef50
mov ebx, eax
test ebx, ebx
je 0x46b660
cmp dword [ebx + 0x27], 0
jne 0x46b694
mov dword [0x6675a0], 0x66
mov eax, edi
call fcn.0044ee94
mov ebx, eax
mov dword [0x6675a0], 0x67
test ebx, ebx
je 0x46b68b
cmp dword [ebx + 0x27], 0
jne 0x46b694
test esi, esi
je 0x46b694
mov eax, esi
call fcn.0044ee94
mov ebx, eax
mov edx, dword [ebx + 0x23]
mov eax, dword [0x66746c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x66746c]
test byte [eax + 0x331], 8
je 0x46b6d9
test esi, esi
je 0x46b6d9
mov edi, ebx
mov eax, esi
call fcn.0044ee94
mov ebx, eax
test ebx, ebx
je 0x46b6c8
cmp dword [ebx + 0x27], 0
jne 0x46b6cc
mov ebx, edi
jmp 0x46b6d9
mov edx, dword [ebx + 0x23]
mov eax, dword [0x66746c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebx + 4]
mov eax, dword [0x66746c]
call fcn.004245ac
mov edx, dword [ebx]
mov eax, dword [0x66746c]
call fcn.004245c8
xor edx, edx
mov eax, dword [0x66746c]
call fcn.00424770
lea ecx, [ebp - 0x1a4]
mov dl, 0x9a
mov eax, dword [0x66746c]
call fcn.00422aa4
mov edx, dword [ebp - 0x1a4]
mov eax, 0x6614fc
call fcn.00404130
lea ecx, [ebp - 0x1a8]
mov dl, 0x9b
mov eax, dword [0x66746c]
call fcn.00422aa4
mov edx, dword [ebp - 0x1a8]
mov eax, 0x661500
call fcn.00404130
mov dword [0x6675a0], 0x68
call fcn.00421f0c
test al, al
je 0x46b796
mov eax, dword [0x66746c]
mov dx, word [0x46c7f0]
not edx
and dx, word [eax + 0x314]
mov eax, dword [0x66746c]
call fcn.00424938
mov ecx, 0x46c7fc
mov dl, 0x1a
mov eax, dword [0x66746c]
call fcn.0042451c
mov ecx, 0x46c828
mov dl, 0x1b
mov eax, dword [0x66746c]
call fcn.0042451c
mov dword [0x6675a0], 2
xor eax, eax
call fcn.004566e0
mov byte [ebp - 0xc1], 2
mov byte [ebp - 0xc2], 0
mov eax, dword [0x66746c]
mov al, byte [eax + 0x6a]
mov byte [0x6676f0], al
mov byte [0x6676f1], 0
cmp byte [ebp + 8], 2
je 0x46b909
mov eax, dword [0x66746c]
cmp byte [eax + 0x2ed], 0
je 0x46b909
push ebp
mov eax, dword [ebp - 0x2c]
call fcn.00467978
pop ecx
mov dword [ebp - 0xc0], eax
mov dword [0x6675a0], 0xc9
cmp dword [ebp - 0xc0], 0xffffffff
je 0x46b909
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.004225e8
mov al, byte [eax + 0xc]
mov byte [ebp - 0xc2], al
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.004225e8
mov al, byte [eax + 0xb]
mov byte [ebp - 0xc1], al
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.004225e8
movzx eax, byte [eax + 0xa]
cmp eax, 4
ja case.default.0x46b860
jmp dword [eax*4 + 0x46b867]
mov byte [0x6676f0], 0
jmp case.default.0x46b860
mov eax, dword [0x66746c]
mov al, byte [eax + 0x6a]
mov byte [0x6676f0], al
jmp case.default.0x46b860
mov byte [0x6676f0], 1
jmp case.default.0x46b860
mov byte [0x6676f0], 2
jmp case.default.0x46b860
mov byte [0x6676f0], 3
mov byte [0x6676f1], 1
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.004225e8
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1ac]
call fcn.00421294
cmp dword [ebp - 0x1ac], 0
je 0x46b909
mov eax, dword [0x66746c]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0xc0]
call fcn.004225e8
mov eax, dword [eax + 5]
lea edx, [ebp - 0x1b0]
call fcn.00421294
mov eax, dword [ebp - 0x1b0]
call fcn.004566e0
call fcn.0046b08c
mov byte [ebp - 0xba], al
mov dword [0x6675a0], 3
cmp byte [ebp - 0xc1], 2
jne 0x46c6b8
cmp dword [ebp - 0x14], 0
jne 0x46b939
call fcn.0044cbf8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jne 0x46b94d
call fcn.004079e8
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
jne 0x46b96f
call fcn.004079e8
cmp dword [eax + 0x64], 0
je 0x46b96f
call fcn.004079e8
lea eax, [eax + 0x64]
mov dword [ebp - 0x20], eax
mov edx, 0xcc
mov eax, dword [ebp - 0x20]
call fcn.004217cc
test al, al
jne 0x46b985
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x46b999
call fcn.004079e8
lea eax, [eax + 0x130]
mov dword [ebp - 0x1c], eax
mov edx, 0x50
mov eax, dword [ebp - 0x1c]
call fcn.004217cc
test al, al
jne 0x46b9af
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x667518], eax
mov dword [0x6675a0], 4
cmp dword [0x66754c], 0
je 0x46b9e2
mov edx, dword [ebp - 0x28]
add edx, 5
mov eax, dword [0x66754c]
call fcn.00454a64
test al, al
jne 0x46be27
cmp dword [0x6614d4], 0
je 0x46b9f5
mov eax, dword [0x6614d4]
call fcn.004032b4
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46ba23
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x46c838]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.004564bc
mov dword [0x6614d4], eax
jmp 0x46ba28
mov dword [0x6614d4], eax
lea eax, [ebp - 0x1b4]
call fcn.0046581c
push dword [ebp - 0x1b4]
push ebp
lea eax, [ebp - 0x1b8]
call fcn.00464e58
pop ecx
push dword [ebp - 0x1b8]
push ebp
lea eax, [ebp - 0x1bc]
call fcn.00464fc0
pop ecx
push dword [ebp - 0x1bc]
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00404438
mov eax, dword [0x6614d4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46bb97
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
cmp byte [eax], 4
jne 0x46bb85
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
mov ebx, dword [eax + 5]
xor edx, edx
mov eax, dword [0x6614d4]
call fcn.0046e89c
cmp ebx, dword [eax + 5]
jne 0x46bb85
push dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
lea edx, [eax + 0x59]
lea eax, [ebp - 0x1c0]
call fcn.00404300
push dword [ebp - 0x1c0]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
lea edx, [eax + 0x159]
lea eax, [ebp - 0x1c4]
call fcn.00404300
push dword [ebp - 0x1c4]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
lea edx, [eax + 0x259]
lea eax, [ebp - 0x1c8]
call fcn.00404300
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0xc0]
mov eax, dword [0x6614d4]
call fcn.0046e89c
mov eax, dword [eax + 0x35d]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1cc]
call fcn.0040c1a4
push dword [ebp - 0x1cc]
lea eax, [ebp - 0xc8]
mov edx, 5
call fcn.00404438
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46ba91
mov eax, dword [ebp - 0xc8]
call fcn.00433b50
movzx eax, ax
lea ecx, [ebp - 0x1d0]
mov edx, 4
call fcn.0040c1d8
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0xc8]
call fcn.00404174
mov eax, 0x6676ec
mov edx, dword [ebp - 0xc8]
call fcn.00404130
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec38
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffff
je 0x46bc03
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b1c0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46bcaf
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46bc9d
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b234
test al, al
je 0x46bc9d
mov eax, dword [0x66745c]
call fcn.0046ec94
xor eax, eax
push ebp
push 0x46bc96
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
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 0x46bc9d
mov eax, dword [0x66745c]
call fcn.0046eca0
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46bc23
xor eax, eax
push ebp
push 0x46be20
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 0x46bda5
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46bd93
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b234
test al, al
je 0x46bd93
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov ebx, eax
lea eax, [ebp - 0x19c]
xor ecx, ecx
mov edx, 0xcc
call fcn.00402f28
mov dword [ebp - 0x19c], 0x10003
lea eax, [ebp - 0x19c]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x46bd93
cmp dword [ebp - 0xe4], 0
je 0x46bd93
cmp dword [ebp - 0xd8], 0
je 0x46bd93
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebx]
push eax
push 1
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x46c838]
push eax
mov ecx, dword [ebp - 0xd8]
xor edx, edx
mov eax, dword [0x6614d4]
call fcn.004561c0
mov eax, ebx
call fcn.0046b1c0
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46bcdd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be27
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46be1f
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46be11
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b234
test al, al
je 0x46be11
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax + 4]
push eax
call fcn.00407fb4
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46bdce
ret
mov dword [0x6675a0], 5
cmp byte [ebp + 8], 2
je 0x46c6a1
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46bf00
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x46beee
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46beee
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b27c
test al, al
je 0x46beee
mov eax, dword [0x66745c]
call fcn.0046ec94
xor eax, eax
push ebp
push 0x46bee7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
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 0x46beee
mov eax, dword [0x66745c]
call fcn.0046eca0
ret
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46be5b
xor edx, edx
push ebp
push 0x46c636
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [0x6675a0], 6
mov byte [0x66770d], 1
mov eax, dword [0x66746c]
test byte [eax + 0x2f0], 0x10
je 0x46bf37
call fcn.0044fbe8
call fcn.004504dc
mov dword [0x6675a0], 7
mov eax, dword [0x6614d4]
mov dword [0x667750], eax
mov eax, dword [0x66746c]
mov dword [0x667754], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x667740], eax
mov eax, dword [ebp - 0x20]
mov dword [0x667744], eax
mov dword [0x6675a0], 0x2be
push ebp
call fcn.00468be4
pop ecx
cmp byte [0x660fc4], 0
je 0x46bfb0
mov eax, 0x667530
mov ecx, dword [0x667530]
mov edx, dword [ebp - 0x38]
call fcn.004043c4
mov byte [0x660fc4], 0
call fcn.00403bac
call fcn.00403bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c74c
mov eax, 0x667748
mov edx, dword [0x667530]
call fcn.00404130
mov dword [0x6675a0], 0x2bf
mov eax, dword [0x6614cc]
mov dword [0x66774c], eax
mov dword [0x6675a0], 0x2c0
mov dword [0x66752c], 0x667734
mov al, 1
call fcn.00452e08
mov dword [0x6675a0], 0x2c1
call fcn.0044e6b4
mov dword [0x6675a0], 0x2c2
push ebp
call fcn.0046b2d4
pop ecx
call fcn.00450820
test al, al
je 0x46c044
lea eax, [ebp - 0x1d8]
call fcn.00453298
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004535b4
mov edx, dword [ebp - 0x1d4]
mov eax, 0x6674cc
call fcn.00404130
mov eax, 0x667e0c
mov edx, dword [0x6674cc]
call fcn.00404130
push ebp
call fcn.0046b0cc
pop ecx
test al, al
je 0x46c069
mov eax, 0x45656c
call fcn.004549b0
cmp byte [ebp - 0x21], 0
jne 0x46c07b
mov eax, 0x453884
call fcn.004549b0
jmp 0x46c085
mov eax, 0x453954
call fcn.004549b0
mov dword [0x6675a0], 8
cmp byte [0x66770d], 0
je 0x46c59b
call fcn.0045fab8
mov eax, dword [0x66746c]
cmp byte [eax + 0x324], 0
je 0x46c0fa
call fcn.0040df28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x1dc]
call fcn.0040ec9c
mov edx, dword [ebp - 0x1dc]
mov eax, dword [0x667594]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x667594]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x66746c]
cmp eax, dword [edx + 0x328]
jle 0x46c0fa
xor edx, edx
mov eax, dword [0x667594]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x667770]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, 0x453d7c
call fcn.004549b0
mov eax, dword [0x667770]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x46c14f
mov eax, dword [0x66746c]
test byte [eax + 0x69], 0x80
je 0x46c14f
lea ecx, [ebp - 0x1e0]
mov dl, 0x5b
mov eax, dword [0x66746c]
call fcn.00422aa4
mov edx, dword [ebp - 0x1e0]
mov ecx, dword [0x667770]
mov eax, 7
call fcn.004571a0
mov dword [0x6675a0], 9
inc dword [0x667478]
mov dword [0x6675a0], 0xa
push ebp
lea eax, [ebp - 0x1e8]
call fcn.00465330
pop ecx
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.00464890
mov edx, dword [ebp - 0x1e4]
mov eax, 0x667524
call fcn.00404130
mov byte [ebp - 0xbb], 0
mov dword [0x6675a0], 0xb
cmp byte [0x6676f1], 0
jne 0x46c1be
mov eax, dword [0x66746c]
mov al, byte [eax + 0x6a]
mov byte [0x6676f0], al
lea eax, [ebp - 0x1f8]
call fcn.004584d4
lea esi, [ebp - 0x1f8]
mov edi, 0x6679dc
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp byte [0x6676f0], 0
je 0x46c3aa
mov dword [0x6675a0], 0xc
mov byte [0x66770c], 1
call fcn.0044e6b4
mov eax, 0x4679d4
call fcn.004549b0
mov eax, dword [0x66746c]
cmp byte [eax + 0x30c], 0
jne 0x46c228
mov eax, dword [0x66746c]
cmp byte [eax + 0x30d], 0
jne 0x46c228
xor eax, eax
jmp 0x46c22a
mov al, 1
mov byte [0x66753c], al
mov eax, dword [0x66746c]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x66753e], al
mov byte [0x66753d], 0
cmp byte [0x66770c], 0
je 0x46c406
mov dword [0x6675a0], 0xd
mov al, byte [ebp + 0x10]
call fcn.0046b17c
sub al, 1
jb 0x46c319
je 0x46c2aa
dec al
jne 0x46c394
call fcn.00450a58
test al, al
je 0x46c28d
cmp dword [0x6674dc], 0
je 0x46c29e
push ebp
mov eax, dword [0x667530]
call fcn.0046aeec
pop ecx
jmp 0x46c394
mov byte [ebp - 0xb9], 1
jmp 0x46c394
xor eax, eax
push ebp
push 0x46c2fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1fc]
mov ecx, dword [0x667530]
mov edx, dword [ebp - 0x38]
call fcn.004043c4
mov edx, dword [ebp - 0x1fc]
mov eax, dword [0x663a24]
call fcn.00404710
call fcn.00407207
call fcn.004028fc
mov byte [0x66770c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c394
xor edx, edx
push ebp
push 0x46c377
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x6676f0], 3
sete byte [ebp - 0xbb]
mov byte [0x6679c9], 0
cmp byte [0x6676f0], 0
setne al
call fcn.0045eb18
xor eax, eax
cmp byte [0x6676f0], 0
je 0x46c35d
mov byte [0x6679c9], 1
cmp byte [0x6676f0], 0
jne 0x46c346
mov byte [0x66770c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46c394
mov dword [0x6675a0], 0xe
mov eax, 0x4679f8
call fcn.004549b0
jmp 0x46c406
mov eax, dword [0x66746c]
cmp byte [eax + 0x30c], 0
jne 0x46c3ca
mov eax, dword [0x66746c]
cmp byte [eax + 0x30d], 0
jne 0x46c3ca
xor eax, eax
jmp 0x46c3cc
mov al, 1
mov byte [0x66753c], al
mov eax, dword [0x66746c]
test byte [eax + 0x2f1], 0x10
setne al
mov byte [0x66753e], al
call fcn.00450a64
test al, al
je 0x46c406
push ebp
lea eax, [ebp - 0x200]
call fcn.004566f4
mov eax, dword [ebp - 0x200]
call fcn.0046aeec
pop ecx
cmp byte [ebp - 0xbb], 0
je 0x46c414
call fcn.004579b8
mov eax, dword [0x66746c]
test byte [eax + 0x2f0], 2
je 0x46c44f
lea ecx, [ebp - 0x204]
mov dl, 0x7b
mov eax, dword [0x66746c]
call fcn.00422aa4
mov edx, dword [ebp - 0x204]
mov eax, dword [0x66746c]
mov ecx, dword [eax + 0x344]
mov eax, 7
call fcn.00457044
call fcn.0046b08c
test al, al
je 0x46c46e
lea eax, [ebp - 0x208]
call fcn.00453070
mov eax, dword [ebp - 0x208]
call fcn.004601c0
call fcn.00460250
mov dword [0x6675a0], 0xf
mov eax, dword [0x66746c]
test byte [eax + 0x2f0], 4
je 0x46c534
call fcn.00452d20
xor eax, eax
push ebp
push 0x46c4d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [0x667780]
call fcn.0043dc10
mov ecx, eax
dec ecx
mov edx, 0x46c860
mov eax, dword [0x667780]
call fcn.0043d9a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c4df
call fcn.00452dec
ret
call fcn.0046b08c
mov byte [ebp - 0xba], al
mov eax, dword [0x66746c]
cmp byte [eax + 0x2ef], 0
je 0x46c552
call fcn.004676c4
cmp byte [0x66753f], 0
je 0x46c565
mov eax, dword [0x667530]
call fcn.0044ec20
mov dword [0x6675a0], 0x10
cmp byte [ebp - 0xba], 0
je 0x46c57d
call fcn.00463aa0
cmp byte [ebp - 0xba], 0
je 0x46c594
mov eax, dword [0x66746c]
test byte [eax + 0x2f1], 0x80
jne 0x46c5a2
call fcn.00463af4
jmp 0x46c5a2
mov byte [ebp - 0xb9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c640
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46c635
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x46c627
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x46c627
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
call fcn.0046b27c
test al, al
je 0x46c627
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0x6c]
call fcn.0046ec68
mov eax, dword [eax + 4]
push eax
call fcn.00407fb4
inc dword [ebp - 0xc0]
dec dword [ebp - 0xd0]
jne 0x46c5cb
ret
mov eax, dword [0x66746c]
test byte [eax + 0x331], 0x80
je 0x46c6c8
mov byte [ebp - 0xb9], 1
jmp 0x46c6c8
cmp byte [ebp - 0xc1], 1
jne 0x46c6c8
mov byte [ebp - 0xb9], 1
mov dword [0x6675a0], 0x12
cmp byte [ebp + 8], 2
je 0x46c6f4
cmp byte [ebp - 0xba], 0
je 0x46c6ef
mov eax, dword [0x66746c]
test byte [eax + 0x2f1], 0x80
jne 0x46c6f4
call fcn.00463c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c71d
mov eax, dword [ebp - 0x6c]
call fcn.004032b4
call fcn.004079e8
mov byte [eax + 0x181], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c7df
lea eax, [ebp - 0x218]
mov edx, 8
call fcn.00404100
lea eax, [ebp - 0x1e8]
mov edx, 0x13
call fcn.00404100
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0xb8]
call fcn.004040dc
lea eax, [ebp - 0x78]
call fcn.004040dc
lea eax, [ebp - 0x68]
call fcn.004040dc
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00404100
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404100
lea eax, [ebp - 0x30]
call fcn.004040dc
lea eax, [ebp - 0x21]
mov edx, dword [0x44a218]
call fcn.00404cb8
ret