Function at 0x46b880
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f929d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7a8
mov eax, dword [0x54a800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5609a4]
mov esi, 0x55b0f0
test eax, eax
jne 0x46c14b
push 0xffffffffffffffff
push eax
push 0x55b0a8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
call fcn.0046b300
push 0xb0
lea eax, [ebp - 0x1c0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004d36e0
add esp, 4
lea ecx, [ebp - 0x1c0]
call fcn.0046f210
mov byte [ebp - 4], 1
mov edi, 0x55b0a8
cmp dword [0x55b0bc], 8
mov edx, edi
mov dword [ebp - 0x604], 7
cmovae edx, dword [0x55b0a8]
xor eax, eax
mov dword [ebp - 0x608], 0
mov word [ebp - 0x618], ax
cmp word [edx], ax
jne 0x46b958
xor ecx, ecx
jmp 0x46b976
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x600], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46b963
sub ecx, dword [ebp - 0x600]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x618]
call fcn.0046b720
lea edx, [ebp - 0x618]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x678]
call fcn.00478910
mov byte [ebp - 4], 3
sub esp, 0x18
movdqu xmm0, xmmword [eax]
mov ecx, esp
push str.Starting__s
movdqu xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
call fcn.00477e30
add esp, 0x1c
cmp dword [ebp - 0x664], 0x10
jb 0x46b9d7
push dword [ebp - 0x678]
call fcn.004cd56c
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x604], 8
mov dword [ebp - 0x664], 0xf
mov dword [ebp - 0x668], 0
mov byte [ebp - 0x678], 0
jb 0x46ba0d
push dword [ebp - 0x618]
call fcn.004cd56c
add esp, 4
cmp dword [0x55b104], 8
mov edx, esi
mov dword [ebp - 0x61c], 7
cmovae edx, dword [0x55b0f0]
xor eax, eax
mov dword [ebp - 0x620], 0
mov word [ebp - 0x630], ax
cmp word [edx], ax
jne 0x46ba43
xor ecx, ecx
jmp 0x46ba5f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x46ba50
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ba50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x630]
call fcn.0046b720
lea edx, [ebp - 0x630]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6a8]
call fcn.00478910
mov byte [ebp - 4], 5
sub esp, 0x18
movdqu xmm0, xmmword [eax]
mov ecx, esp
push str.Using__s
movdqu xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
call fcn.00477e30
add esp, 0x1c
cmp dword [ebp - 0x694], 0x10
jb 0x46bac0
push dword [ebp - 0x6a8]
call fcn.004cd56c
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x61c], 8
mov dword [ebp - 0x694], 0xf
mov dword [ebp - 0x698], 0
mov byte [ebp - 0x6a8], 0
jb 0x46baf6
push dword [ebp - 0x630]
call fcn.004cd56c
add esp, 4
cmp dword [0x55b088], 0
jbe 0x46bfae
cmp dword [0x55b0a0], 0
jbe 0x46bfae
mov edx, str.__email
lea ecx, [ebp - 0x1b0]
call fcn.004728b0
mov edx, 0x530f88
mov ecx, eax
call fcn.004728b0
mov edx, 0x530f84
mov ecx, eax
call fcn.004728b0
mov edx, 0x55b078
mov ecx, eax
call fcn.00472c20
mov edx, 0x530f84
mov ecx, eax
call fcn.004728b0
mov edx, str.__password
mov ecx, eax
call fcn.004728b0
cmp byte [0x55b050], 0
je 0x46bb99
mov edx, 0x530f84
lea ecx, [ebp - 0x1b0]
call fcn.004728b0
mov edx, 0x55b090
mov ecx, eax
call fcn.00472c20
mov edx, 0x530f84
mov ecx, eax
call fcn.004728b0
mov edx, str.__nopatchui
mov ecx, eax
call fcn.004728b0
push 0
push 0x530f30
push dword [0x55b0d0]
push ecx
mov ecx, 0x55b0c0
call fcn.00473600
test eax, eax
je 0x46bbdd
mov edx, 0x530f88
lea ecx, [ebp - 0x1b0]
call fcn.004728b0
mov edx, 0x55b0c0
mov ecx, eax
call fcn.00472c20
mov edx, 0x530f88
mov ecx, eax
call fcn.004728b0
lea eax, [ebp - 0x708]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0046f340
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x46bbfb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046ef60
cmp dword [ebp - 0x6f4], 8
jb 0x46bc1b
push dword [ebp - 0x708]
call fcn.004cd56c
add esp, 4
push 0x40
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], 0
push 0
push eax
call fcn.004d36e0
add esp, 0xc
mov dword [ebp - 0x5f8], 0
lea eax, [ebp - 0x5f4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x598], xmm0
push 0x5c
push 0
push eax
call fcn.004d36e0
add esp, 0xc
lea ecx, [ebp - 0x90]
xorps xmm0, xmm0
movdqa xmmword [ebp - 0x90], xmm0
movdqa xmmword [ebp - 0x80], xmm0
movq qword [ebp - 0x70], xmm0
call fcn.00476c80
lea ecx, [ebp - 0x60]
movdqa xmmword [ebp - 0x60], xmm0
movdqa xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call fcn.00476c80
lea ecx, [ebp - 0xc0]
movdqa xmmword [ebp - 0xc0], xmm0
movdqa xmmword [ebp - 0xb0], xmm0
movq qword [ebp - 0xa0], xmm0
call fcn.00476c80
lea edx, [ebp - 0x598]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push edx
cmovae ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x2a0]
cmp dword [0x55b0bc], 8
mov eax, edi
push edx
cmovae eax, dword [0x55b0a8]
push 0
push 0
push 1
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x46bd71
cmp dword [0x55b0bc], 8
lea ecx, [ebp - 0x720]
cmovae edi, dword [0x55b0a8]
push edi
call fcn.0046b820
lea edx, [ebp - 0x720]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x768]
call fcn.00478910
mov byte [ebp - 4], 0xf
sub esp, 0x18
movdqu xmm0, xmmword [eax]
mov ecx, esp
push str.Error:_Could_not_start__s
movdqu xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
call fcn.00477e30
add esp, 0x1c
lea ecx, [ebp - 0x768]
call fcn.00476a40
lea ecx, [ebp - 0x720]
call fcn.0046b210
jmp 0x46bdf6
mov eax, dword [ebp - 0x590]
mov dword [0x5609a8], eax
test eax, eax
jne 0x46bd87
push str.Error:_PID_is_NULL
jmp 0x46bdee
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x7530
ja 0x46bde9
lea esp, [esp]
push 0x2710
lea eax, [ebp - 0x5f8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x46bfa4
cmp dword [ebp - 0x5f8], 3
je 0x46be20
push 0x10002
push dword [ebp - 0x5f0]
push dword [ebp - 0x5f4]
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
test eax, eax
je 0x46be19
call esi
sub eax, edi
cmp eax, 0x7530
jbe 0x46bda0
push str.Error:_Something_when_wrong...
call fcn.00477e30
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00476db0
lea ecx, [ebp - 0x60]
call fcn.00476db0
lea ecx, [ebp - 0x90]
call fcn.00476db0
jmp 0x46c10c
push str.Error:_Cant_Continue_Event
jmp 0x46bdee
mov edi, dword [ebp - 0x5e0]
call fcn.00476950
push 0x4c
mov esi, eax
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004d36e0
add esp, 0xc
push esi
push edi
push ecx
lea ecx, [ebp - 0x110]
call fcn.00477480
push ecx
push 2
push str.85f674135f5e33c0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x10
call fcn.00477600
push ecx
push 0
push str.740383__02F6C3
lea ecx, [ebp - 0x110]
mov edi, eax
call fcn.00477600
mov esi, eax
test edi, edi
je 0x46bf36
test esi, esi
je 0x46bf36
mov ecx, dword [0x5609a8]
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x90]
push 0x90
mov byte [ebp - 0x8b], 0
mov dword [ebp - 0x90], edi
call fcn.00476fc0
push 0x90
lea ecx, [ebp - 0x90]
call fcn.00476fc0
lea ecx, [ebp - 0x90]
call fcn.00476cd0
mov eax, dword [0x5609a8]
lea ecx, [ebp - 0x60]
push 0x90
mov byte [ebp - 0x5b], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], eax
call fcn.00476fc0
push 0x90
lea ecx, [ebp - 0x60]
call fcn.00476fc0
lea ecx, [ebp - 0x60]
call fcn.00476cd0
lea eax, [esi + 4]
mov byte [ebp - 0xbb], 0
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xc0]
mov eax, dword [0x5609a8]
push 3
mov dword [ebp - 0xb4], eax
call fcn.00476fc0
lea ecx, [ebp - 0xc0]
call fcn.00476cd0
jmp 0x46bf43
push str.Error:_Mutex_FileCheck_are_NULL
call fcn.00477e30
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_DebugSetProcessKillOnExit]
push dword [ebp - 0x5f4]
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
lea ecx, [ebp - 0x110]
call fcn.00477520
lea ecx, [ebp - 0xc0]
call fcn.00476db0
lea ecx, [ebp - 0x60]
call fcn.00476db0
lea ecx, [ebp - 0x90]
call fcn.00476db0
lea ecx, [ebp - 0x1c0]
call fcn.0046c520
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b210
mov esi, 0x55b0f0
jmp 0x46c150
push str.Error:_No_Event
jmp 0x46bdee
cmp dword [0x55b0a4], 8
lea ecx, [ebp - 0x6c0]
mov eax, 0x55b090
cmovae eax, dword [0x55b090]
push eax
call fcn.0046b820
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x648]
cmp dword [0x55b08c], 8
mov eax, 0x55b078
cmovae eax, dword [0x55b078]
push eax
call fcn.0046b820
lea edx, [ebp - 0x6c0]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x660]
call fcn.00478910
mov esi, eax
lea edx, [ebp - 0x648]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x690]
call fcn.00478910
mov edx, eax
mov byte [ebp - 4], 0xa
sub esp, 0x18
movdqu xmm0, xmmword [esi]
mov ecx, esp
sub esp, 0x18
mov eax, esp
movdqu xmmword [ecx], xmm0
push str.Error:_Accountname_or_Password_empty__s__s
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [eax + 0x10], xmm0
call fcn.00477e30
add esp, 0x34
cmp dword [ebp - 0x67c], 0x10
jb 0x46c074
push dword [ebp - 0x690]
call fcn.004cd56c
add esp, 4
cmp dword [ebp - 0x64c], 0x10
mov dword [ebp - 0x67c], 0xf
mov dword [ebp - 0x680], 0
mov byte [ebp - 0x690], 0
jb 0x46c0a6
push dword [ebp - 0x660]
call fcn.004cd56c
add esp, 4
cmp dword [ebp - 0x634], 8
mov dword [ebp - 0x64c], 0xf
mov dword [ebp - 0x650], 0
mov byte [ebp - 0x660], 0
jb 0x46c0d8
push dword [ebp - 0x648]
call fcn.004cd56c
add esp, 4
xor eax, eax
mov dword [ebp - 0x634], 7
cmp dword [ebp - 0x6ac], 8
mov dword [ebp - 0x638], 0
mov word [ebp - 0x648], ax
jb 0x46c10c
push dword [ebp - 0x6c0]
call fcn.004cd56c
add esp, 4
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0
call fcn.0046f2c0
lea eax, [ebp - 0x158]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0049fa17
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x46c4f3
push dword [ebp - 0x2c]
call fcn.004cd56c
jmp 0x46c4f0
mov dword [0x5609a8], eax
cmp byte [0x55b050], 0
je 0x46c4e6
cmp dword [0x55b104], 8
mov eax, esi
cmovae eax, dword [0x55b0f0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46c4df
test al, 0x10
jne 0x46c4df
push 0x98
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004d36e0
add esp, 0xc
lea ecx, [ebp - 0x258]
push 1
push 2
call fcn.0046faa0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x6d8]
cmp dword [0x55b104], 8
cmovae esi, dword [0x55b0f0]
push esi
call fcn.0046b820
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0x6d8]
mov ecx, esp
call fcn.00478910
lea ecx, [ebp - 0x258]
call fcn.00478520
add esp, 0x18
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x6c4], 8
jb 0x46c208
push dword [ebp - 0x6d8]
call fcn.004cd56c
add esp, 4
lea eax, [ebp - 0x6f0]
push eax
lea ecx, [ebp - 0x258]
call fcn.0046fc50
cmp dword [ebp - 0x6dc], 0x10
mov esi, dword [eax + 0x10]
jb 0x46c234
push dword [ebp - 0x6f0]
call fcn.004cd56c
add esp, 4
test esi, esi
je 0x46c4c1
push 0x238
lea eax, [ebp - 0x588]
push 0
push eax
call fcn.004d36e0
add esp, 0xc
lea ecx, [ebp - 0x588]
call fcn.0047a3b0
push ecx
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x588]
push dword [0x5609a8]
call fcn.0047a770
mov edx, 1
push 1
lea ecx, [edx + 5]
call fcn.00476880
add esp, 4
test al, al
je 0x46c464
cmp dword [0x5609b0], 0
jne 0x46c464
push str.Preparing_to_attach..
call fcn.00477e30
add esp, 4
lea ecx, [ebp - 0x588]
call fcn.0047a920
push str.Attaching_Bot_to_Game
call fcn.00477e30
add esp, 4
lea eax, [ebp - 0x780]
lea ecx, [ebp - 0x258]
push eax
call fcn.0046fc50
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x46c2dd
mov eax, dword [eax]
sub esp, 8
push 0x4005
push ecx
push eax
push ecx
lea ecx, [ebp - 0x400]
call fcn.0047b630
test eax, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x780]
sete byte [ebp - 0x5f9]
call fcn.00476a40
cmp byte [ebp - 0x5f9], 0
je 0x46c430
push 0xb0
lea eax, [ebp - 0x350]
push 0
push eax
call fcn.004d36e0
add esp, 4
lea ecx, [ebp - 0x350]
call fcn.004702d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x738]
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0xbf4]
call fcn.00480c20
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x7b0]
call fcn.00478910
push eax
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x340]
mov ecx, dword fs:[0x18]
push ecx
push 0x5310c4
push ecx
push dword [ecx + 0xbf4]
push ecx
push str.Mapping_failed_with_error_0x
push eax
call fcn.00472e90
add esp, 8
mov ecx, eax
call fcn.0046f040
mov ecx, eax
call fcn.0046f070
add esp, 4
push eax
call fcn.00472e90
add esp, 0xc
push eax
call fcn.00473150
add esp, 8
lea ecx, [ebp - 0x7b0]
call fcn.00476a40
lea ecx, [ebp - 0x738]
mov byte [ebp - 4], 0x15
call fcn.0046b210
lea eax, [ebp - 0x798]
push eax
lea ecx, [ebp - 0x350]
call fcn.00470400
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 0x10
jb 0x46c3ee
mov eax, dword [eax]
push eax
call fcn.00477e30
add esp, 4
lea ecx, [ebp - 0x798]
call fcn.00476a40
lea ecx, [ebp - 0x350]
call fcn.0046c5a0
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x11
xor esi, esi
call fcn.0047a5b0
lea ecx, [ebp - 0x258]
call fcn.0046c540
mov eax, esi
jmp 0x46c4f5
push str.Attaching_Successfull
call fcn.00477e30
mov esi, dword [0x5609a8]
lea ecx, [ebp - 0x588]
add esp, 4
mov byte [ebp - 4], 0x11
call fcn.0047a5b0
lea ecx, [ebp - 0x258]
call fcn.0046c540
mov eax, esi
jmp 0x46c4f5
push str.Warning:_Using_Compatibility_Mode
call fcn.00477e30
add esp, 4
lea eax, [ebp - 0x750]
lea ecx, [ebp - 0x258]
push eax
call fcn.0046fc50
cmp dword [eax + 0x14], 0x10
jb 0x46c48b
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x588]
mov edx, eax
push esi
call fcn.00476ba0
lea ecx, [ebp - 0x750]
call fcn.00476a40
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x11
call fcn.0047a5b0
lea ecx, [ebp - 0x258]
call fcn.0046c540
jmp 0x46c4f3
push str.Error:_DLLSize_is_Zero_
call fcn.00477e30
add esp, 4
lea ecx, [ebp - 0x258]
xor esi, esi
call fcn.0046c540
mov eax, esi
jmp 0x46c4f5
push str.Error:_No_Valid_Minion.dat_found_
jmp 0x46c4eb
push str.Info:_Not_attaching_bot__as_instructed.
call fcn.00477e30
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cd571
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret