Function at 0x408aa0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b41e
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x45e054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp byte [0x45ee09], 0
je 0x409320
cmp byte [0x45ee08], 0
jne 0x409320
push 3
call fcn.00410e20
add esp, 4
call fcn.00410d50
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 8]
mov esi, dword [ebp + 8]
cmp edx, 0x10
mov ebx, eax
cmovae ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b12
sub ecx, edi
lea eax, [ebp + 8]
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
push ebx
call fcn.004112a0
mov edx, dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov esi, dword [ebp + 0x20]
add esp, 0xc
cmp edx, 0x10
mov dword [ebp - 0x17c], eax
cmovae ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b47
sub ecx, edi
lea eax, [ebp + 0x20]
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
push ebx
call fcn.004112a0
add esp, 0xc
mov edi, eax
push ebx
call fcn.00410d30
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x58]
add esp, 4
mov edx, esi
call fcn.00401eb0
mov edx, edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401eb0
mov byte [ebp - 4], 3
push esi
mov esi, dword [sym.imp.MSVCR120.dll_free]
call esi
add esp, 4
push edi
call esi
add esp, 4
push 0
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
push eax
call dword [sym.imp.MSVCR120.dll_srand]
mov esi, dword [sym.imp.MSVCR120.dll_rand]
add esp, 4
call esi
call esi
cdq
mov ecx, 0x186a0
idiv ecx
mov edi, edx
add edi, edi
mov dword [ebp - 0x188], edi
call esi
cdq
mov ecx, 5
idiv ecx
imul edx, edi
add edx, 3
mov dword [ebp - 0x17c], edx
call esi
cdq
mov ecx, 9
idiv ecx
mov esi, dword [ebp - 0x17c]
lea ecx, [ebp - 0x3a0]
sub esp, 8
lea ebx, [edx + 5]
lea eax, [esi + edi*2]
imul ebx, eax
add ebx, edi
mov dword [ebp - 0x18c], ebx
call fcn.00403190
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f0]
call fcn.00403190
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x240]
call fcn.00403190
push esi
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push edi
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push ebx
lea ecx, [ebp - 0x230]
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x184], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x45e170
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x459028
mov byte [ecx], 0
call fcn.00405d00
mov edx, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0040cdc0
add esp, 0x34
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x240]
call fcn.00403250
mov edi, eax
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00403250
mov esi, eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00403250
push 0x459054
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
call fcn.00403ec0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00409380
add esp, 4
push 0x459050
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb8]
call fcn.00403ec0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409380
add esp, 4
mov byte [ebp - 4], 0xf
push str.username
mov edx, eax
lea ecx, [ebp - 0xe8]
call fcn.00403ec0
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.00407d20
add esp, 4
push str.password
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.00403ec0
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x12
push ecx
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00407d20
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.004056a0
cmp dword [ebp - 0x5c], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x408df8
push dword [ebp - 0x70]
call esi
add esp, 4
cmp dword [ebp - 0x104], 0x10
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
jb 0x408e1e
push dword [ebp - 0x118]
call esi
add esp, 4
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], 0
mov byte [ebp - 0x118], 0
jb 0x408e4d
push dword [ebp - 0xa0]
call esi
add esp, 4
cmp dword [ebp - 0xd4], 0x10
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
jb 0x408e7c
push dword [ebp - 0xe8]
call esi
add esp, 4
cmp dword [ebp - 0xbc], 0x10
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
jb 0x408eab
push dword [ebp - 0xd0]
call esi
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
jb 0x408eda
push dword [ebp - 0xb8]
call esi
add esp, 4
cmp dword [ebp - 0xec], 0x10
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
jb 0x408f09
push dword [ebp - 0x100]
call esi
add esp, 4
cmp dword [ebp - 0x11c], 0x10
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0x100], 0
jb 0x408f38
push dword [ebp - 0x130]
call esi
add esp, 4
cmp dword [ebp - 0x14c], 0x10
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jb 0x408f67
push dword [ebp - 0x160]
call esi
add esp, 4
cmp dword [ebp - 0x134], 0x10
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
jb 0x408f96
push dword [ebp - 0x148]
call esi
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x164], 0x10
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 0x138], 0
mov byte [ebp - 0x148], 0
jb 0x408fc9
push dword [ebp - 0x178]
call esi
add esp, 4
sub esp, 0x1c
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004059a0
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.0040f770
add esp, 0x1c
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push eax
mov ecx, 0x45e0f0
call fcn.004059a0
xor eax, eax
cmp dword [ebp - 0x18], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x4090ba
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0x459058
call fcn.00405e00
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x45e0f0
mov byte [ecx], 0
call fcn.004059a0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x15
call fcn.004013d0
mov edi, dword [ebp - 0x64]
add esp, 0x30
cmp dword [edi + 0x14], 0x10
jb 0x40909b
mov eax, dword [edi]
jmp 0x40909d
mov eax, edi
mov ebx, dword [sym.imp.MSVCR120.dll_atoi]
push eax
call ebx
add esp, 4
cmp eax, 1
je 0x409166
lea ecx, [ebp - 0x64]
call fcn.00407080
cmp dword [ebp - 0x14], 0x10
jb 0x4090c8
push dword [ebp - 0x28]
call esi
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
jb 0x4090e8
push dword [ebp - 0x40]
call esi
add esp, 4
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00401c60
lea ecx, [ebp - 0x2f0]
call fcn.00401c60
lea ecx, [ebp - 0x3a0]
call fcn.00401c60
cmp dword [ebp - 0x74], 0x10
jb 0x40912c
push dword [ebp - 0x88]
call esi
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
jb 0x40914f
push dword [ebp - 0x58]
call esi
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jmp 0x409326
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov ecx, 0x45e0b0
push eax
call fcn.004059a0
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x20]
mov ecx, 0x45e1b0
push eax
call fcn.004059a0
lea eax, [edi + 0x18]
mov byte [0x45ee08], 1
cmp eax, 0x45e130
je 0x4091aa
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x45e130
call fcn.004059a0
lea eax, [edi + 0x30]
cmp eax, 0x45e110
je 0x4091c3
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x45e110
call fcn.004059a0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
push 0x458da8
call fcn.00405e00
mov byte [ebp - 4], 0x15
call fcn.00406240
add esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x180], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004059a0
sub esp, 0x18
mov byte [ebp - 4], 0x18
mov ecx, esp
push 0x458db4
call fcn.00405e00
mov byte [ebp - 4], 0x15
call fcn.00406240
add esp, 0x30
call fcn.00406d40
call fcn.0040b920
cmp byte [0x45ee26], 0
jne 0x40927f
push 0
push 0
push 0
push 0x40e2a0
push 0
push 0
mov byte [0x45ee26], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
add edi, 0x48
mov byte [0x45ee0d], 1
cmp dword [edi + 0x14], 0x10
jb 0x409291
mov edi, dword [edi]
push edi
call ebx
mov ecx, dword [ebp - 0x18c]
add esp, 4
mov edx, dword [ebp - 0x17c]
add ecx, dword [ebp - 0x188]
add edx, 0x111
add ecx, edx
cmp eax, ecx
je 0x4092bd
push 0
call dword [sym.imp.MSVCR120.dll_exit]
lea ecx, [ebp - 0x64]
call fcn.00407080
lea ecx, [ebp - 0x28]
call fcn.00406210
lea ecx, [ebp - 0x40]
call fcn.00406210
lea ecx, [ebp - 0x240]
call fcn.00401c60
lea ecx, [ebp - 0x2f0]
call fcn.00401c60
lea ecx, [ebp - 0x3a0]
call fcn.00401c60
lea ecx, [ebp - 0x88]
call fcn.00406210
lea ecx, [ebp - 0x58]
call fcn.00406210
lea ecx, [ebp + 8]
call fcn.00406210
lea ecx, [ebp + 0x20]
call fcn.00406210
mov eax, 1
jmp 0x409356
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp + 0x1c], 0x10
jb 0x409334
push dword [ebp + 8]
call esi
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x409354
push dword [ebp + 0x20]
call esi
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044998c
mov esp, ebp
pop ebp
ret