Function at 0x40af90
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x43b06d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x43
mov dword [esp + 0x60], ecx
mov dword [esp + 0x2c], ebp
call fcn.004026a0
mov ecx, eax
call fcn.0041b150
test eax, eax
jne 0x40afdd
push 0x45
call fcn.004026a0
mov ecx, eax
call fcn.0041b150
test eax, eax
je 0x40afe5
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x30]
call fcn.00406d20
push 0x20
push 0x20
lea ecx, [esp + 0x34]
mov dword [esp + 0x118], ebp
call fcn.00405640
mov ecx, eax
call fcn.00404c60
lea ecx, [esp + 0x2c]
call fcn.00404a20
lea ecx, [esp + 0x68]
call fcn.0042fb60
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
push 0x20
push ecx
mov byte [esp + 0x11c], 1
call fcn.00410390
mov eax, dword [esp + 0x7c]
xor ecx, ecx
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x30], ecx
jle 0x40b6cf
jmp 0x40b056
mov ecx, dword [esp + 0x30]
test ecx, ecx
jl 0x40b727
cmp ecx, eax
jge 0x40b727
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + ecx*4]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
sub esi, 0x10
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x40b093
cmp eax, dword [esi]
jne 0x40b093
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40b0c5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40b722
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [eax + 0x10]
mov dword [esp + 0x7c], ebx
push 0x346
push str..BarClientTask.cpp
mov byte [esp + 0x118], 2
call fcn.00402180
mov ecx, eax
call fcn.00406c80
push ebx
push str.ProcessCommandLine__s
push 4
call fcn.00411820
push str._SETRCVY
push ebx
call fcn.00422239
add esp, 0x14
test eax, eax
jne 0x40b3cf
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40b680
call fcn.00408c40
call fcn.00431cfd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x3c], eax
push 0x1f4
mov byte [esp + 0x114], 3
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
push eax
call fcn.00408f70
mov esi, eax
push str.123456
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 4
call fcn.00406d20
push esi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x11c], 5
call fcn.004054d0
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x114], 6
call fcn.00405420
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x110], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b1b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x110], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b1df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x110], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp - 0xc]
push eax
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.00410990
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 7
call fcn.00430a84
mov dword [esp + 0x40], 0x43d760
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x114], 8
call fcn.00402510
mov ecx, eax
call fcn.00405370
mov edx, dword [esp + 0x34]
push 0
push 0x1002
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x11c], 9
call fcn.0041a230
test eax, eax
je 0x40b29f
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x40b28b
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00402290
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x48]
call fcn.0041a3e0
lea ecx, [esp + 0x40]
call fcn.00430a22
lea ecx, [esp + 0x64]
push ecx
call fcn.00402510
mov ecx, eax
call fcn.004053a0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x114], 0xa
call fcn.00405420
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x110], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b2e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x34]
push 0
push 0x1002
push edi
lea ecx, [esp + 0x4c]
call fcn.0041a230
test eax, eax
je 0x40b332
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x40b31e
mov eax, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00402290
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x48]
call fcn.0041a3e0
lea ecx, [esp + 0x40]
call fcn.00430a22
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004026a0
mov ecx, eax
call fcn.0041ba00
lea eax, [edi - 0x10]
mov byte [esp + 0x110], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], 7
mov dword [esp + 0x40], 0x43d760
call fcn.00430ac3
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x110], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b3a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x110], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b680
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x40b680
push str._RESTART
push ebx
call fcn.00422239
add esp, 8
test eax, eax
jne 0x40b3f7
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40b680
call fcn.004013b0
jmp 0x40b680
push str._INIT
push ebx
call fcn.00422239
add esp, 8
test eax, eax
jne 0x40b685
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
jne 0x40b680
lea ecx, [esp + 0xc4]
call fcn.0041e720
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0xb
call fcn.0041e720
mov ebp, 0x43d71c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x110], 0xd
call fcn.00402510
add eax, 0x58
push eax
lea ecx, [esp + 0xc8]
call fcn.0040a2a0
call fcn.00402510
add eax, 0x54
push eax
lea ecx, [esp + 0x84]
call fcn.0040a2a0
push 0x11
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xcc]
call fcn.0041e0b0
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, edi
jle 0x40b4d8
test edi, edi
jl 0x40b727
cmp esi, eax
jge 0x40b727
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + edi]
push eax
lea ecx, [esp + 0xc8]
call fcn.0041e280
mov eax, dword [esp + 0x1c]
inc esi
add edi, 0x178
cmp esi, eax
jl 0x40b4a3
xor edi, edi
cmp dword [esp + 0x18], edi
je 0x40b512
xor esi, esi
cmp eax, edi
jle 0x40b501
mov edx, dword [esp + 0x18]
lea ecx, [edx + edi]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
inc esi
add edi, 0x178
cmp esi, eax
jl 0x40b4e4
xor edi, edi
mov eax, dword [esp + 0x18]
push eax
call fcn.00431cf8
add esp, 4
mov dword [esp + 0x18], edi
push 0x11
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.0041e0b0
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, edi
jle 0x40b56c
test edi, edi
jl 0x40b727
cmp esi, eax
jge 0x40b727
mov edx, dword [esp + 0x18]
mov eax, dword [edx + edi]
push eax
lea ecx, [esp + 0x84]
call fcn.0041e280
mov eax, dword [esp + 0x1c]
inc esi
add edi, 0x178
cmp esi, eax
jl 0x40b537
xor edi, edi
call fcn.00402510
add eax, 0x58
push eax
lea ecx, [esp + 0xc8]
call fcn.00409140
call fcn.00402510
add eax, 0x54
push eax
lea ecx, [esp + 0x84]
call fcn.00409140
lea eax, [esp + 0x60]
push eax
call fcn.00415680
push str.ShortcutShortCut.ini
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x120], 0x11
call fcn.00405580
add esp, 0x10
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x110], 0x13
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b5e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x38]
push eax
call fcn.0041a460
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x110], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x18], edi
mov byte [esp + 0x110], 0xc
mov dword [esp + 0x14], ebp
je 0x40b658
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x40b64b
xor esi, esi
mov eax, dword [esp + 0x18]
lea ecx, [eax + esi]
call fcn.00403ff0
mov eax, dword [esp + 0x1c]
inc edi
add esi, 0x178
cmp edi, eax
jl 0x40b630
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00431cf8
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x110], 0xb
call fcn.0041e860
lea ecx, [esp + 0xc4]
mov byte [esp + 0x110], 2
call fcn.0041e860
mov ebp, 1
lea eax, [ebx - 0x10]
mov byte [esp + 0x110], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b6a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
jl 0x40b052
test ebp, ebp
je 0x40b6cf
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x68]
mov byte [esp + 0x110], 0
call fcn.0042fbb2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x110], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret
jmp fcn.00402280
jmp fcn.0042fb3b