Function at 0x44f774
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x35
push 0
push 0
dec ecx
jne 0x44f77d
push ecx
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 esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov edx, dword [0x437ee4]
call fcn.00405884
xor eax, eax
push ebp
push 0x450569
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043c034
test al, al
je 0x44f7f4
cmp byte [0x4d46bc], 0
je 0x44f7f4
cmp dword [0x4d46b4], 0
jne 0x44f7f4
mov eax, dword [0x4d27b0]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jne 0x44f7f4
mov byte [ebp - 0x8d], 1
jmp 0x4504f5
mov byte [ebp - 0x8d], 0
call fcn.0040b9c0
fstp qword [0x4d4768]
wait
mov eax, dword [ebp - 0x20]
mov dword [0x4cea0c], eax
mov eax, 0x4d472c
call fcn.00404c88
mov dword [0x4d4770], 1
xor eax, eax
push ebp
push 0x4504d0
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004070ac
mov byte [eax + 0xe9], 1
mov ecx, dword [0x4d4630]
mov dl, 1
mov eax, dword [0x437e1c]
call fcn.00452360
mov dword [ebp - 0x60], eax
xor eax, eax
push ebp
push 0x4504bf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0
je 0x44f86e
mov eax, dword [ebp - 0x1c]
mov dword [0x4d46e4], eax
test bl, bl
je 0x44f881
cmp dword [ebp - 0x1c], 0
je 0x44f881
mov eax, dword [ebp - 0x1c]
sub eax, 5
mov dword [ebp - 0x1c], eax
call fcn.0044f5c8
cmp esi, dword [0x4d3668]
je 0x44f896
mov ebx, dword [0x4d3668]
jmp 0x44f89e
mov ebx, dword [0x4d2454]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x1c]
mov dword [0x4d48d4], eax
mov eax, dword [ebp - 0x20]
mov dword [0x4d48d0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4d48d8], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x1c], 0
je 0x44f8dc
mov dword [0x4d4770], 0x65
mov eax, dword [ebp - 0x1c]
call fcn.0043b1dc
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x44f8f1
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x27], 0
jne 0x44f938
mov dword [0x4d4770], 0x66
mov eax, esi
call fcn.0043b118
mov dword [ebp - 0x9c], eax
mov dword [0x4d4770], 0x67
cmp dword [ebp - 0x9c], 0
je 0x44f92b
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x27], 0
jne 0x44f938
test ebx, ebx
je 0x44f938
mov eax, ebx
call fcn.0043b118
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x23]
mov eax, dword [0x4d4640]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [0x4d4640]
test byte [eax + 0x205], 0x10
je 0x44f9ac
test ebx, ebx
je 0x44f9ac
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov eax, ebx
call fcn.0043b118
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x44f98b
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x27], 0
jne 0x44f999
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
jmp 0x44f9ac
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x23]
mov eax, dword [0x4d4640]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [0x4d4770], 0x68
call fcn.004248f0
test al, al
je 0x44f9dc
mov eax, dword [0x4d4640]
mov dl, byte [0x450580]
not edx
and dl, byte [eax + 0x1e8]
mov eax, dword [0x4d4640]
call fcn.00426a70
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 4]
mov eax, dword [0x4d4640]
call fcn.004267ec
mov eax, dword [0x4d4640]
cmp byte [eax + 0x1e0], 0
jne 0x44fa0f
mov eax, dword [0x4d4640]
cmp byte [eax + 0x1e1], 0
jne 0x44fa0f
xor eax, eax
jmp 0x44fa11
mov al, 1
mov byte [0x4d470c], al
mov eax, dword [0x4d4640]
test byte [eax + 0x1c2], 0x10
setne al
mov byte [0x4d470d], al
push ebp
call fcn.0044f56c
pop ecx
test al, al
je 0x44fa3a
call fcn.00440f5c
mov dword [0x4d4770], 2
xor ebx, ebx
cmp byte [ebp + 8], 2
je 0x44faf5
mov eax, dword [0x4d4640]
cmp byte [eax + 0x1bd], 0
je 0x44faf5
push ebp
call fcn.0044cb84
pop ecx
mov dword [ebp - 0x94], eax
mov dword [0x4d4770], 0xc9
cmp dword [ebp - 0x94], 0xffffffff
je 0x44faf5
lea ecx, [ebp - 0x178]
mov eax, dword [0x4d4640]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x178], 0
je 0x44faf3
push 0x242040
lea ecx, [ebp - 0x17c]
xor edx, edx
mov eax, dword [0x4d4640]
call fcn.004254dc
mov eax, dword [ebp - 0x17c]
call fcn.00405164
push eax
lea ecx, [ebp - 0x180]
mov eax, dword [0x4d4640]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x94]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x180]
call fcn.00405164
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov bl, 1
mov dword [0x4d4770], 3
test bl, bl
jne 0x450471
cmp dword [ebp - 0x14], 0
jne 0x44fb15
call fcn.00439930
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jne 0x44fb29
call fcn.004070ac
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
jne 0x44fb4b
call fcn.004070ac
cmp dword [eax + 0x1c], 0
je 0x44fb4b
call fcn.004070ac
lea eax, [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov edx, 0xcc
mov eax, dword [ebp - 0x18]
call fcn.00424190
test al, al
jne 0x44fb61
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4d46e8], eax
mov dword [0x4d4770], 4
mov edx, dword [ebp - 0x1c]
add edx, 5
mov eax, dword [0x4d4718]
call fcn.0043f900
test al, al
jne 0x44fe2e
cmp dword [0x4ce9fc], 0
je 0x44fb9e
mov eax, dword [0x4ce9fc]
call fcn.00403d94
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x450584]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.00440f0c
mov dword [0x4ce9fc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
call fcn.004525b8
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
je 0x44fbf0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f668
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x44fc9c
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x44fc8a
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f6dc
test al, al
je 0x44fc8a
mov eax, dword [0x4d4630]
call fcn.0045261c
xor eax, eax
push ebp
push 0x44fc83
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
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 0x44fc8a
mov eax, dword [0x4d4630]
call fcn.00452628
ret
inc dword [ebp - 0x94]
dec dword [ebp - 0xa8]
jne 0x44fc10
xor eax, eax
push ebp
push 0x44fe27
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 0x44fdac
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x44fd9a
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f6dc
test al, al
je 0x44fd9a
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x174]
xor ecx, ecx
mov edx, 0xcc
call fcn.00403620
mov dword [ebp - 0x174], 0x10007
lea eax, [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x44fd9a
cmp dword [ebp - 0xbc], 0
je 0x44fd9a
cmp dword [ebp - 0xb0], 0
je 0x44fd9a
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
push eax
push 1
push 1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov al, byte [0x450584]
push eax
mov ecx, dword [ebp - 0xb0]
xor edx, edx
mov eax, dword [0x4ce9fc]
call fcn.00440c14
mov eax, dword [ebp - 0x98]
call fcn.0044f668
inc dword [ebp - 0x94]
dec dword [ebp - 0xa8]
jne 0x44fcca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe2e
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x44fe26
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x44fe18
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f6dc
test al, al
je 0x44fe18
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax + 4]
push eax
call fcn.0040769c
inc dword [ebp - 0x94]
dec dword [ebp - 0xa8]
jne 0x44fdd5
ret
mov dword [0x4d4770], 5
cmp byte [ebp + 8], 2
je 0x450471
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x44ff07
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x44fef5
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x44fef5
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f71c
test al, al
je 0x44fef5
mov eax, dword [0x4d4630]
call fcn.0045261c
xor eax, eax
push ebp
push 0x44feee
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
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 0x44fef5
mov eax, dword [0x4d4630]
call fcn.00452628
ret
inc dword [ebp - 0x94]
dec dword [ebp - 0xa8]
jne 0x44fe62
xor eax, eax
push ebp
push 0x450441
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4d4770], 6
mov byte [0x4d48b2], 1
mov eax, dword [0x4d4640]
test byte [eax + 0x1c1], 0x10
je 0x44ff39
call fcn.0043bb34
mov dword [0x4d4770], 7
mov eax, dword [0x4ce9fc]
mov dword [0x4d48e4], eax
mov eax, dword [0x4d4640]
mov dword [0x4d48e8], eax
mov dword [0x4d4770], 0x2be
push ebp
call fcn.0044dbbc
pop ecx
mov eax, 0x4d48dc
mov edx, dword [0x4d4700]
call fcn.00404cdc
mov dword [0x4d4770], 0x2bf
mov eax, dword [0x4ce9f8]
mov dword [0x4d48e0], eax
mov dword [0x4d4770], 0x2c0
mov dword [0x4d46fc], 0x4d48d0
call fcn.0043e0b8
mov dword [0x4d4770], 0x2c1
call fcn.0043acbc
mov dword [0x4d4770], 0x2c2
call fcn.00447840
call fcn.0043bdf8
test al, al
je 0x44fff8
lea eax, [ebp - 0x188]
call fcn.0043e4f8
mov eax, dword [ebp - 0x188]
lea edx, [ebp - 0x184]
call fcn.0043e7f4
mov edx, dword [ebp - 0x184]
mov eax, 0x4d46a4
call fcn.00404cdc
mov eax, 0x4d4b80
mov edx, dword [0x4d46a4]
call fcn.00404cdc
mov eax, 0x43ea78
call fcn.0043f864
mov dword [0x4d4770], 8
cmp byte [0x4d48b2], 0
je 0x4503a6
mov eax, dword [0x4d4640]
test byte [eax + 0x205], 1
je 0x450082
call fcn.0040b9c0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18c]
call fcn.0040c654
mov edx, dword [ebp - 0x18c]
mov eax, dword [0x4d4764]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x4d4764]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [0x4d4640]
cmp eax, dword [edx + 0x1fc]
jle 0x450082
xor edx, edx
mov eax, dword [0x4d4764]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, 0x4d48fc
call fcn.00404c88
mov eax, 0x43eee0
call fcn.0043f864
cmp dword [0x4d48fc], 0
je 0x4500c7
lea ecx, [ebp - 0x190]
mov dl, 0xd
mov eax, dword [0x4d4640]
call fcn.004254dc
mov edx, dword [ebp - 0x190]
mov ecx, dword [0x4d48fc]
mov eax, 6
call fcn.00441850
mov dword [0x4d4770], 9
inc dword [0x4d464c]
mov dword [0x4d4770], 0xa
push ebp
lea eax, [ebp - 0x198]
call fcn.0044b8c4
pop ecx
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.0044af84
mov edx, dword [ebp - 0x194]
mov eax, 0x4d46f4
call fcn.00404cdc
mov dword [0x4d4770], 0xb
mov eax, dword [0x4d4640]
test byte [eax + 0x1e8], 1
je 0x450250
mov dword [0x4d4770], 0xc
mov byte [0x4d48b1], 1
call fcn.0043acbc
mov eax, 0x44cc0c
call fcn.0043f864
cmp byte [0x4d48b1], 0
je 0x450271
mov dword [0x4d4770], 0xd
mov al, byte [ebp + 0x10]
call fcn.0044f620
sub al, 1
jb 0x4501f9
je 0x45018d
dec al
jne 0x45023a
push ebp
mov eax, dword [0x4d4700]
call fcn.0044f388
pop ecx
jmp 0x45023a
xor eax, eax
push ebp
push 0x4501da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x19c]
mov ecx, dword [0x4d4700]
mov edx, dword [ebp - 0x2c]
call fcn.00404fb0
mov edx, dword [ebp - 0x19c]
mov eax, dword [0x4d2428]
call fcn.00405354
call fcn.00403844
call fcn.00402c9c
mov byte [0x4d48b1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45023a
xor eax, eax
push ebp
push 0x45021d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00446b08
mov byte [0x4d48b1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45023a
mov dword [0x4d4770], 0xe
mov eax, 0x44cc30
call fcn.0043f864
jmp 0x450271
call fcn.0043c040
test al, al
je 0x450271
push ebp
lea eax, [ebp - 0x1a0]
call fcn.00440fe4
mov eax, dword [ebp - 0x1a0]
call fcn.0044f388
pop ecx
call fcn.00441ed4
call fcn.0044f528
test al, al
je 0x450295
lea eax, [ebp - 0x1a4]
call fcn.0043e360
mov eax, dword [ebp - 0x1a4]
call fcn.00447f28
call fcn.00447fb8
mov dword [0x4d4770], 0xf
mov eax, dword [0x4d4640]
test byte [eax + 0x1c1], 4
je 0x45034a
call fcn.0043dfe8
xor eax, eax
push ebp
push 0x4502ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [0x4d4918]
call fcn.00434088
mov ecx, eax
dec ecx
mov edx, 0x4505ac
mov eax, dword [0x4d4918]
call fcn.00433e64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450306
call fcn.0043e09c
ret
mov eax, dword [0x4d4640]
cmp byte [eax + 0x1c0], 0
je 0x45035d
call fcn.0044ca1c
cmp byte [0x4d470e], 0
je 0x450370
mov eax, dword [0x4d4700]
call fcn.0043af1c
mov dword [0x4d4770], 0x10
call fcn.0044f528
test al, al
je 0x450388
call fcn.0044add8
call fcn.0044f528
test al, al
je 0x45039f
mov eax, dword [0x4d4640]
test byte [eax + 0x1c2], 0x80
jne 0x4503ad
call fcn.0044ae14
jmp 0x4503ad
mov byte [ebp - 0x8d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45044b
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x450440
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov ebx, dword [eax]
call sub.kernel32.dll_GetCurrentThreadId_1
cmp ebx, eax
je 0x450432
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
je 0x450432
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
call fcn.0044f71c
test al, al
je 0x450432
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x60]
call fcn.004525e8
mov eax, dword [eax + 4]
push eax
call fcn.0040769c
inc dword [ebp - 0x94]
dec dword [ebp - 0xa8]
jne 0x4503d6
ret
mov dword [0x4d4770], 0x12
cmp byte [ebp + 8], 2
je 0x45049d
call fcn.0044f528
test al, al
je 0x450498
mov eax, dword [0x4d4640]
test byte [eax + 0x1c2], 0x80
jne 0x45049d
call fcn.0044af18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4504c6
mov eax, dword [ebp - 0x60]
call fcn.00403d94
call fcn.004070ac
mov byte [eax + 0xe9], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450570
lea eax, [ebp - 0x1b0]
mov edx, 0xf
call fcn.00404cac
lea eax, [ebp - 0xa4]
call fcn.00404c88
lea eax, [ebp - 0x8c]
call fcn.00404c88
lea eax, [ebp - 0x6c]
call fcn.00404c88
lea eax, [ebp - 0x5c]
call fcn.00404c88
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404cac
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 0x24]
call fcn.00404c88
lea eax, [ebp - 0x18]
mov edx, dword [0x437ee4]
call fcn.00405740
ret