Function at 0x4037a3
Capabilities:
Create thread

Disassembly:
mov eax, 0x4282fd
call fcn.004271f0
sub esp, 0x1d8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call fcn.00405b55
mov al, byte [ebp + 0xb]
xor ebx, ebx
mov byte [ebp - 0x54], al
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov ecx, dword [esi + 0x4ec]
lea edi, [esi + 0x4e8]
cmp ecx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
je 0x403b09
mov eax, dword [edi + 8]
push 0x60
sub eax, ecx
pop ecx
cdq
idiv ecx
test eax, eax
je 0x403b09
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x34], al
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea eax, [ebp - 0x1e4]
mov ecx, esi
push eax
mov byte [ebp - 4], 1
call fcn.0041803d
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x403834
xor eax, eax
jmp 0x40383f
mov eax, dword [edi + 8]
push 0x60
sub eax, ecx
pop ecx
cdq
idiv ecx
movzx esi, word [ebp - 0x20]
cmp esi, eax
jae 0x403acb
mov eax, dword [ebp - 0x1c]
lea esi, [esi + esi*2]
shl esi, 5
mov eax, dword [eax + 0x4ec]
add esi, eax
mov dword [ebp - 0x24], esi
lea eax, [esi + 0x30]
push eax
push edi
call fcn.0041f5d2
pop ecx
test al, al
pop ecx
je 0x403ac3
lea eax, [esi + 0x10]
push eax
call fcn.0041b28a
test al, al
pop ecx
je 0x403ac3
mov al, byte [esi + 0x56]
push ebx
mov ecx, dword [ebp - 0x1c]
push 1
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x144]
push esi
push eax
mov byte [ebp - 4], 3
call fcn.00405511
push 1
lea ecx, [ebp - 0x144]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x6c
mov dword [ebp - 4], 2
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
mov dword [ebp - 0x24], edi
cmp edi, ebx
mov byte [ebp - 4], 0x12
je 0x4038e0
lea ecx, [edi + 4]
mov dword [edi], ebx
call fcn.00403283
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
jmp 0x4038e2
xor edi, edi
mov eax, dword [ebp - 0x1c]
push esi
mov dword [edi], eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
mov byte [ebp - 4], 2
mov dword [edi + 0x64], eax
call fcn.0040414a
push 0xea60
push ebx
push ebx
push edi
lea eax, [edi + 0x68]
push 0x405be1
push ebx
push ebx
mov dword [ebp - 0x24], eax
mov dword [eax], ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x55], bl
je 0x403ac0
mov edi, dword [ebp - 0x24]
cmp dword [edi], ebx
je 0x403ac0
add esi, 0x40
push str.default
push esi
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__]
pop ecx
pop ecx
test al, al
push edi
je 0x403953
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x34]
jmp 0x403959
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x54]
call fcn.00406aed
jmp 0x403ac0
mov edi, dword [ebp - 0x18]
inc dword [ebp - 0x20]
jmp 0x403829
cmp dword [ebp - 0x30], ebx
je 0x403aec
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sar eax, 2
je 0x403aec
push 0x927c0
push 1
push dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 1
call fcn.0040272b
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004069dd
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00402781
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor esi, esi
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x403b71
mov eax, dword [edi + 8]
push 0x60
sub eax, ecx
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x18], eax
jae 0x403b71
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x4ec]
cmp byte [esi + eax + 0x57], bl
je 0x403b69
lea eax, [esi + eax + 0x40]
push str.summary
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__]
pop ecx
test al, al
pop ecx
je 0x403b69
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x4ec]
mov eax, dword [esi + eax + 0x58]
cmp eax, dword [ebp - 0x20]
jle 0x403b69
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
add esi, 0x60
jmp 0x403b18
cmp dword [ebp - 0x50], ebx
jne 0x403b7a
xor eax, eax
jmp 0x403b83
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 2
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov al, byte [ebp + 0xb]
push ebx
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.00406b53
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
mov edi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x18], ebx
xor esi, esi
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1e4]
push eax
call fcn.0041803d
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x403bd1
xor eax, eax
jmp 0x403bde
mov eax, dword [eax + 8]
sub eax, ecx
mov ecx, 0xa0
cdq
idiv ecx
cmp dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1e4]
setb byte [ebp - 0x11]
call fcn.0040272b
cmp byte [ebp - 0x11], bl
je 0x403cbd
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc4]
push eax
call fcn.0041803d
mov eax, dword [eax + 4]
push dword [0x4372f0]
mov byte [ebp - 4], 0x14
lea eax, [esi + eax + 0x40]
push eax
call edi
pop ecx
test al, al
pop ecx
je 0x403c61
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x114]
push eax
call fcn.0041803d
mov eax, dword [eax + 4]
push 0x437904
mov byte [ebp - 4], 0x15
lea eax, [esi + eax + 0x50]
push eax
call edi
pop ecx
mov byte [ebp - 0x11], al
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x114]
call fcn.0040272b
cmp byte [ebp - 0x11], bl
mov byte [ebp - 0x11], 1
jne 0x403c64
mov byte [ebp - 0x11], bl
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x13
call fcn.0040272b
cmp byte [ebp - 0x11], bl
je 0x403caf
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041803d
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x40]
add eax, esi
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x44]
push dword [ebp - 0x3c]
push eax
call fcn.00406b18
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x13
call fcn.0040272b
inc dword [ebp - 0x18]
add esi, 0xa0
jmp 0x403bb7
xor esi, esi
mov al, byte [ebp + 0xb]
push ebx
push ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.00406bee
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x17
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp - 0x18], eax
je 0x403ea9
lea ecx, [ebp - 0x18]
call fcn.00406aba
sub esp, 0xa0
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.004041ed
call fcn.0040362b
add esp, 0xa0
cmp al, bl
je 0x403e98
lea ecx, [ebp - 0xd4]
call fcn.00404377
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp - 0x18]
add eax, 0x78
mov byte [ebp - 4], 0x18
push dword [ecx]
lea ecx, [ebp - 0xd4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [str.true]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004040f7
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x19
push dword [ecx]
lea ecx, [ebp - 0xc4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x64]
pop edi
mov byte [ebp - 4], 0x18
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1a4]
push eax
call fcn.00417fd4
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x1a
push dword [ecx]
lea ecx, [ebp - 0xa4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x18
call fcn.00402667
lea eax, [ebp - 0x74]
push eax
call fcn.0041b8f6
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x1b
push dword [ecx]
lea ecx, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x18
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
call fcn.004183c8
mov al, byte [ebp + 0xb]
push ebx
mov byte [ebp - 0xf4], al
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x11]
lea ecx, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 0x1c
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xf4]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00405225
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push dword [ebp - 0x2c]
push eax
call fcn.00406b7c
push edi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x18
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x17
call fcn.004043f3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jne 0x403ce9
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
cmp edi, eax
je 0x403ec8
push dword [edi + 8]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.00406a80
mov edi, dword [edi]
cmp edi, dword [ebp - 0x2c]
jne 0x403eb2
cmp dword [ebp - 0x38], ebx
je 0x403ef0
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.00406ac0
inc esi
cmp esi, 0x3c
jb 0x403cbf
jmp 0x403efc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.00406ac0
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
cmp esi, eax
je 0x404063
lea ecx, [ebp - 0xd4]
call fcn.00404377
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esi + 0x78]
mov byte [ebp - 4], 0x1f
push dword [ecx]
lea ecx, [ebp - 0xd4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [str.false]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea eax, [ebp - 0x64]
push 0x3c
push eax
call fcn.004040a4
pop ecx
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x20
push dword [ecx]
lea ecx, [ebp - 0xc4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x64]
pop edi
mov byte [ebp - 4], 0x1f
push edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1a4]
push eax
call fcn.00417fd4
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x21
push dword [ecx]
lea ecx, [ebp - 0xa4]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1f
call fcn.00402667
lea eax, [ebp - 0x74]
push eax
call fcn.0041b8f6
pop ecx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 0x22
push dword [ecx]
lea ecx, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
call fcn.004183c8
lea ecx, [ebp - 0xf4]
call fcn.0040445e
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00405225
push edi
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x24
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push edi
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
call fcn.004043f3
mov esi, dword [esi]
cmp esi, dword [ebp - 0x3c]
jne 0x403f09
mov ecx, dword [ebp - 0x1c]
call fcn.00405b63
push 3
push ebx
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00406a46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004069dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4