Function at 0x452804
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x34
push 0
push 0
dec ecx
jne 0x45280d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
lea edi, [ebp - 0x18]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov edx, dword [0x43b004]
call fcn.00405664
xor eax, eax
push ebp
push 0x453593
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043f144
test al, al
je 0x452883
cmp byte [0x4cf858], 0
je 0x452883
cmp dword [0x4cf850], 0
jne 0x452883
mov eax, dword [0x4cdf44]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x452883
mov byte [ebp - 0x8d], 1
jmp 0x45351f
mov byte [ebp - 0x8d], 0
call fcn.0040b924
fstp qword [0x4cf904]
wait
mov eax, dword [ebp - 0x20]
mov dword [0x4cbbac], eax
mov eax, 0x4cf8c8
call fcn.00404a1c
mov byte [ebp - 0x8e], 0
mov dword [0x4cf90c], 1
xor eax, eax
push ebp
push 0x4534fa
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00406fb4
mov byte [eax + 0xe9], 1
mov ecx, dword [0x4cf7cc]
mov dl, 1
mov eax, dword [0x43af3c]
call fcn.00455314
mov dword [ebp - 0x60], eax
xor eax, eax
push ebp
push 0x4534e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
je 0x452904
mov eax, dword [ebp - 0x1c]
mov dword [0x4cf880], eax
test bl, bl
je 0x452917
cmp dword [ebp - 0x1c], 0
je 0x452917
mov eax, dword [ebp - 0x1c]
sub eax, 5
mov dword [ebp - 0x1c], eax
call fcn.00452658
cmp edi, dword [0x4ce718]
je 0x45292c
mov esi, dword [0x4ce718]
jmp 0x452934
mov esi, dword [0x4cdbe8]
mov esi, dword [esi]
mov eax, dword [ebp - 0x1c]
mov dword [0x4cfa70], eax
mov eax, dword [ebp - 0x20]
mov dword [0x4cfa6c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4cfa74], eax
xor ebx, ebx
cmp dword [ebp - 0x1c], 0
je 0x452968
mov dword [0x4cf90c], 0x65
mov eax, dword [ebp - 0x1c]
call fcn.0043e2fc
mov ebx, eax
test ebx, ebx
je 0x452972
cmp dword [ebx + 0x27], 0
jne 0x4529a6
mov dword [0x4cf90c], 0x66
mov eax, edi
call fcn.0043e23c
mov ebx, eax
mov dword [0x4cf90c], 0x67
test ebx, ebx
je 0x45299d
cmp dword [ebx + 0x27], 0
jne 0x4529a6
test esi, esi
je 0x4529a6
mov eax, esi
call fcn.0043e23c
mov ebx, eax
mov edx, dword [ebx + 0x23]
mov eax, dword [0x4cf7dc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x4cf7dc]
test byte [eax + 0x205], 0x10
je 0x4529eb
test esi, esi
je 0x4529eb
mov edi, ebx
mov eax, esi
call fcn.0043e23c
mov ebx, eax
test ebx, ebx
je 0x4529da
cmp dword [ebx + 0x27], 0
jne 0x4529de
mov ebx, edi
jmp 0x4529eb
mov edx, dword [ebx + 0x23]
mov eax, dword [0x4cf7dc]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [0x4cf90c], 0x68
call fcn.00427654
test al, al
je 0x452a1b
mov eax, dword [0x4cf7dc]
mov dl, byte [0x4535ac]
not edx
and dl, byte [eax + 0x1e8]
mov eax, dword [0x4cf7dc]
call fcn.004297d4
mov edx, dword [ebx + 4]
mov eax, dword [0x4cf7dc]
call fcn.00429550
mov dword [0x4cf90c], 2
xor ebx, ebx
cmp byte [ebp + 8], 2
je 0x452ae3
mov eax, dword [0x4cf7dc]
cmp byte [eax + 0x1bd], 0
je 0x452ae3
push ebp
call fcn.0044fc20
pop ecx
mov dword [ebp - 0x94], eax
mov dword [0x4cf90c], 0xc9
cmp dword [ebp - 0x94], 0xffffffff
je 0x452ae3
lea ecx, [ebp - 0x16c]
mov eax, dword [0x4cf7dc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x16c], 0
je 0x452ae1
push 0x242040
lea ecx, [ebp - 0x170]
xor edx, edx
mov eax, dword [0x4cf7dc]
call fcn.00428240
mov eax, dword [ebp - 0x170]
call fcn.00404ee8
push eax
lea ecx, [ebp - 0x174]
mov eax, dword [0x4cf7dc]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x174]
call fcn.00404ee8
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov bl, 1
mov dword [0x4cf90c], 3
test bl, bl
jne 0x45349b
cmp dword [ebp - 0x14], 0
jne 0x452b03
call fcn.0043ca40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jne 0x452b17
call fcn.00406fb4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
jne 0x452b39
call fcn.00406fb4
cmp dword [eax + 0x1c], 0
je 0x452b39
call fcn.00406fb4
lea eax, [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov edx, 0xcc
mov eax, dword [ebp - 0x18]
call fcn.00426f14
test al, al
jne 0x452b4f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4cf884], eax
mov dword [0x4cf90c], 4
mov edx, dword [ebp - 0x1c]
add edx, 5
mov eax, dword [0x4cf8b4]
call fcn.004428f8
test al, al
jne 0x452e02
cmp dword [0x4cbb9c], 0
je 0x452b8c
mov eax, dword [0x4cbb9c]
call fcn.00403b48
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x4535b0]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.00443e90
mov dword [0x4cbb9c], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
call fcn.00455558
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
je 0x452bde
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.004526f8
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x452c8a
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x452c78
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.0045276c
test al, al
je 0x452c78
mov eax, dword [0x4cf7cc]
call fcn.004555b4
xor eax, eax
push ebp
push 0x452c71
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
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 0x452c78
mov eax, dword [0x4cf7cc]
call fcn.004555c0
ret
inc dword [ebp - 0x94]
dec dword [ebp - 0x9c]
jne 0x452bfe
xor eax, eax
push ebp
push 0x452dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x452d80
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x452d6e
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.0045276c
test al, al
je 0x452d6e
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov ebx, eax
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0xcc
call fcn.00403394
mov dword [ebp - 0x168], 0x10007
lea eax, [ebp - 0x168]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x452d6e
cmp dword [ebp - 0xb0], 0
je 0x452d6e
cmp dword [ebp - 0xa4], 0
je 0x452d6e
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 [0x4535b0]
push eax
mov ecx, dword [ebp - 0xa4]
xor edx, edx
mov eax, dword [0x4cbb9c]
call fcn.00443be4
mov eax, ebx
call fcn.004526f8
inc dword [ebp - 0x94]
dec dword [ebp - 0x9c]
jne 0x452cb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452e02
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x452dfa
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x452dec
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.0045276c
test al, al
je 0x452dec
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax + 4]
push eax
call fcn.0040745c
inc dword [ebp - 0x94]
dec dword [ebp - 0x9c]
jne 0x452da9
ret
mov dword [0x4cf90c], 5
cmp byte [ebp + 8], 2
je 0x45349b
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x452edb
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x452ec9
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x452ec9
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.004527ac
test al, al
je 0x452ec9
mov eax, dword [0x4cf7cc]
call fcn.004555b4
xor eax, eax
push ebp
push 0x452ec2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
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 0x452ec9
mov eax, dword [0x4cf7cc]
call fcn.004555c0
ret
inc dword [ebp - 0x94]
dec dword [ebp - 0x9c]
jne 0x452e36
xor eax, eax
push ebp
push 0x45346b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4cf90c], 6
mov byte [0x4cfa4e], 1
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1c1], 0x10
je 0x452f0d
call fcn.0043ec4c
mov dword [0x4cf90c], 7
mov eax, dword [0x4cbb9c]
mov dword [0x4cfa80], eax
mov eax, dword [0x4cf7dc]
mov dword [0x4cfa84], eax
mov dword [0x4cf90c], 0x2be
push ebp
call fcn.00450c4c
pop ecx
mov eax, 0x4cfa78
mov edx, dword [0x4cf89c]
call fcn.00404a70
mov dword [0x4cf90c], 0x2bf
mov eax, dword [0x4cbb98]
mov dword [0x4cfa7c], eax
mov dword [0x4cf90c], 0x2c0
mov dword [0x4cf898], 0x4cfa6c
call fcn.004410b8
mov dword [0x4cf90c], 0x2c1
call fcn.0043dde0
mov dword [0x4cf90c], 0x2c2
call fcn.0044a8b4
call fcn.0043ef08
test al, al
je 0x452fcc
lea eax, [ebp - 0x17c]
call fcn.004414e0
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.004417f0
mov edx, dword [ebp - 0x178]
mov eax, 0x4cf840
call fcn.00404a70
mov eax, 0x4cfd1c
mov edx, dword [0x4cf840]
call fcn.00404a70
mov eax, 0x441a8c
call fcn.0044285c
mov dword [0x4cf90c], 8
cmp byte [0x4cfa4e], 0
je 0x4533d0
mov eax, dword [0x4cf7dc]
test byte [eax + 0x205], 1
je 0x453056
call fcn.0040b924
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x180]
call fcn.0040c5c0
mov edx, dword [ebp - 0x180]
mov eax, dword [0x4cf900]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4cf900]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x4cf7dc]
cmp eax, dword [edx + 0x1fc]
jle 0x453056
xor edx, edx
mov eax, dword [0x4cf900]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, 0x4cfa98
call fcn.00404a1c
mov eax, 0x441eec
call fcn.0044285c
cmp dword [0x4cfa98], 0
je 0x45309b
lea ecx, [ebp - 0x184]
mov dl, 0xd
mov eax, dword [0x4cf7dc]
call fcn.00428240
mov edx, dword [ebp - 0x184]
mov ecx, dword [0x4cfa98]
mov eax, 6
call fcn.00444838
mov dword [0x4cf90c], 9
inc dword [0x4cf7e8]
mov dword [0x4cf90c], 0xa
push ebp
lea eax, [ebp - 0x18c]
call fcn.0044e9a4
pop ecx
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.0044e06c
mov edx, dword [ebp - 0x188]
mov eax, 0x4cf890
call fcn.00404a70
mov dword [0x4cf90c], 0xb
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1e8], 1
je 0x45326f
mov dword [0x4cf90c], 0xc
mov byte [0x4cfa4d], 1
call fcn.0043dde0
mov eax, 0x44fca8
call fcn.0044285c
mov eax, dword [0x4cf7dc]
cmp byte [eax + 0x1e0], 0
jne 0x45313f
mov eax, dword [0x4cf7dc]
cmp byte [eax + 0x1e1], 0
jne 0x45313f
xor eax, eax
jmp 0x453141
mov al, 1
mov byte [0x4cf8a8], al
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1c2], 0x10
setne al
mov byte [0x4cf8a9], al
push ebp
call fcn.004525fc
pop ecx
test al, al
je 0x45316a
call fcn.00443f40
cmp byte [0x4cfa4d], 0
je 0x453290
mov dword [0x4cf90c], 0xd
mov al, byte [ebp + 0x10]
call fcn.004526b0
sub al, 1
jb 0x453218
je 0x4531ac
dec al
jne 0x453259
push ebp
mov eax, dword [0x4cf89c]
call fcn.00452418
pop ecx
jmp 0x453259
xor eax, eax
push ebp
push 0x4531f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x190]
mov ecx, dword [0x4cf89c]
mov edx, dword [ebp - 0x2c]
call fcn.00404d3c
mov edx, dword [ebp - 0x190]
mov eax, dword [0x4cdbbc]
call fcn.00405104
call fcn.0040360c
call fcn.00402934
mov byte [0x4cfa4d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453259
xor eax, eax
push ebp
push 0x45323c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00449b44
mov byte [0x4cfa4d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453259
mov dword [0x4cf90c], 0xe
mov eax, 0x44fccc
call fcn.0044285c
jmp 0x453290
call fcn.0043f150
test al, al
je 0x453290
push ebp
lea eax, [ebp - 0x194]
call fcn.00443fcc
mov eax, dword [ebp - 0x194]
call fcn.00452418
pop ecx
call fcn.00444ecc
call fcn.004525b8
test al, al
je 0x4532b4
lea eax, [ebp - 0x198]
call fcn.00441360
mov eax, dword [ebp - 0x198]
call fcn.0044af8c
call fcn.0044b01c
mov dword [0x4cf90c], 0xf
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1c1], 4
je 0x453369
call fcn.00440fe8
xor eax, eax
push ebp
push 0x45331e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x98]
push eax
mov eax, dword [0x4cfab4]
call fcn.00436ef0
mov ecx, eax
dec ecx
mov edx, 0x4535d8
mov eax, dword [0x4cfab4]
call fcn.00436c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453325
call fcn.0044109c
ret
call fcn.004525b8
mov byte [ebp - 0x8e], al
mov eax, dword [0x4cf7dc]
cmp byte [eax + 0x1c0], 0
je 0x453387
call fcn.0044fab8
cmp byte [0x4cf8aa], 0
je 0x45339a
mov eax, dword [0x4cf89c]
call fcn.0043e040
mov dword [0x4cf90c], 0x10
cmp byte [ebp - 0x8e], 0
je 0x4533b2
call fcn.0044dec0
cmp byte [ebp - 0x8e], 0
je 0x4533c9
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1c2], 0x80
jne 0x4533d7
call fcn.0044defc
jmp 0x4533d7
mov byte [ebp - 0x8d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453475
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45346a
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x45345c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x45345c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
call fcn.004527ac
test al, al
je 0x45345c
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.00455588
mov eax, dword [eax + 4]
push eax
call fcn.0040745c
inc dword [ebp - 0x94]
dec dword [ebp - 0x9c]
jne 0x453400
ret
mov dword [0x4cf90c], 0x12
cmp byte [ebp + 8], 2
je 0x4534c7
cmp byte [ebp - 0x8e], 0
je 0x4534c2
mov eax, dword [0x4cf7dc]
test byte [eax + 0x1c2], 0x80
jne 0x4534c7
call fcn.0044e000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4534f0
mov eax, dword [ebp - 0x60]
call fcn.00403b48
call fcn.00406fb4
mov byte [eax + 0xe9], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45359a
lea eax, [ebp - 0x1a4]
mov edx, 0xf
call fcn.00404a40
lea eax, [ebp - 0x98]
call fcn.00404a1c
lea eax, [ebp - 0x8c]
call fcn.00404a1c
lea eax, [ebp - 0x6c]
call fcn.00404a1c
lea eax, [ebp - 0x5c]
call fcn.00404a1c
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404a40
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404a40
lea eax, [ebp - 0x24]
call fcn.00404a1c
lea eax, [ebp - 0x18]
mov edx, dword [0x43b004]
call fcn.00405538
ret