Function at 0x40bf30
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45d83e
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push ebp
mov ebp, 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 ebx, ecx
push esi
push edi
xor edi, edi
lea esi, [ebx + 0x289]
mov eax, dword [esi - 5]
test eax, eax
je 0x40bf97
cmp byte [esi], 0
jne 0x40bf80
lea eax, [esi + 0x193]
push 0x47150c
push eax
call ebp
add esp, 8
test al, al
je 0x40bf8b
lea ecx, [esi - 9]
push ecx
mov ecx, ebx
call fcn.004100a0
inc edi
add esi, 0x550
cmp edi, 0x14
jl 0x40bf5f
mov eax, dword [ebx + 0x6cc4]
test eax, eax
je 0x40bfb9
mov al, byte [ebx + 0x6cc9]
test al, al
je 0x40bfb9
lea edx, [ebx + 0x6cc0]
mov ecx, ebx
push edx
call fcn.004100a0
xor edi, edi
lea esi, [ebx + 0x7219]
mov eax, dword [esi - 5]
test eax, eax
je 0x40bfe4
cmp byte [esi], 0
je 0x40bfd8
lea eax, [esi - 9]
mov ecx, ebx
push eax
call fcn.004100a0
inc edi
add esi, 0x550
cmp edi, 2
jl 0x40bfc1
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x40c56e
mov ecx, dword [ebx + 0x194]
sub ecx, eax
test ecx, 0xfffffffc
je 0x40c56e
lea edx, [ebx + 0x1ac]
push 0x471508
push edx
call ebp
add esp, 8
test al, al
je 0x40c03d
push ebx
push 0
push 0x40cfc0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
push 0x1499700
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40c56e
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jne 0x40c04b
xor eax, eax
jmp 0x40c056
mov eax, dword [ebx + 0x194]
sub eax, ecx
sar eax, 2
shl eax, 4
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x190]
add esp, 4
mov esi, eax
test ecx, ecx
mov dword [esp + 0x40], esi
jne 0x40c076
xor eax, eax
jmp 0x40c081
mov eax, dword [ebx + 0x194]
sub eax, ecx
sar eax, 2
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x40c4f8
mov edx, dword [ebx + 0x194]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x40c4f8
mov ebp, dword [eax + ecx*4]
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, [ebx + 0x15c]
mov edx, dword [ecx]
lea ecx, [ebp + 0xfc]
push edx
push 0
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 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, [ebx + 0x16c]
mov edx, dword [ecx]
lea ecx, [ebp + 0x10c]
push edx
push 0
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 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, [ebx + 0x260]
mov edx, dword [ecx]
lea ecx, [ebp + 0x11c]
push edx
push 0
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 eax, [ebp + 0x12c]
push eax
push 0x471504
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x40c36e
push ebp
mov ecx, ebx
call fcn.00414600
test al, al
jne 0x40c36e
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
call fcn.0040c860
push 0x471500
push 0x4714f8
lea ecx, [esp + 0x38]
mov dword [esp + 0x484], 0
call fcn.0040c590
push 0x476804
push 0x4714ec
lea ecx, [esp + 0x38]
call fcn.0040c590
push 0x476804
push 0x4714e0
lea ecx, [esp + 0x38]
call fcn.0040c590
push 0x476804
push 0x4714d8
lea ecx, [esp + 0x38]
call fcn.0040c590
push 0x476804
push 0x4714cc
lea ecx, [esp + 0x38]
call fcn.0040c590
push 0x4714c8
push 0x4714e0
lea ecx, [esp + 0x38]
call fcn.0040c590
mov esi, 0x4714c0
mov eax, 0x4714c8
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40c207
test cl, cl
je 0x40c203
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40c207
add eax, 2
add esi, 2
test cl, cl
jne 0x40c1e3
xor eax, eax
jmp 0x40c20c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c247
mov esi, str.mini
mov eax, 0x4714c8
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40c23e
test cl, cl
je 0x40c23a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40c23e
add eax, 2
add esi, 2
test cl, cl
jne 0x40c21a
xor eax, eax
jmp 0x40c243
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40c25a
push 0x476804
push str.biz_stay_time
lea ecx, [esp + 0x38]
call fcn.0040c590
mov al, byte [ebx + 0x260]
sub esp, 0x10
lea edi, [ebx + 0x260]
mov esi, esp
mov dword [esp + 0x20], esp
push 0
mov ecx, esi
mov dword [esp + 0x490], 1
mov byte [esi], al
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, esi
push edx
push 0
push edi
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_]
sub esp, 0x10
lea eax, [ebx + 0x16c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x4a0], 2
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::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
sub esp, 0x10
lea eax, [ebx + 0x15c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x4b0], 3
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::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x60]
mov byte [esp + 0x4ac], 1
push eax
call fcn.004273c0
mov eax, dword [ebp + 4]
add esp, 0x34
test eax, eax
jne 0x40c2f7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x44]
push 0xa
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [sym.imp.MSVCRT.dll__itoa]
add esp, 4
push eax
call esi
add esp, 0xc
lea edx, [esp + 0x44]
lea ecx, [esp + 0x30]
push edx
push 0x4714d8
call fcn.0040c590
lea eax, [esp + 0x44]
push 0xa
push eax
push 2
call esi
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push 0x4714cc
lea ecx, [esp + 0x38]
call fcn.0040c590
lea edx, [esp + 0x30]
push edx
call fcn.004105e0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x47c], 0xffffffff
call fcn.0040cb60
jmp 0x40c4df
mov eax, dword [ebx + 0x60]
lea edx, [esp + 0x2f]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
push 0x4714c8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, ebx
call fcn.00414eb0
test eax, eax
jne 0x40c4f8
mov eax, dword [ebp + 0xb0]
mov edi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
mov dword [esp + 0x24], edi
je 0x40c3b2
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x18], edi
test eax, eax
je 0x40c3c4
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc0]
mov edx, edi
test eax, eax
je 0x40c3d2
mov edx, eax
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x40c3de
mov edi, eax
test edi, edi
je 0x40c409
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x64]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x40c43b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x168]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, edx
je 0x40c467
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x26c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
test edi, edi
je 0x40c493
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x370]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x64]
push ecx
call fcn.00457f60
add esp, 4
test eax, eax
jne 0x40c4df
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
lea edx, [eax + ecx*4]
mov ecx, ebx
push edx
push ebp
call fcn.00411590
push 1
lea eax, [esp + 0x23]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
push 0x4714c8
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, ebx
call fcn.00414ff0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
jmp 0x40c09b
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jne 0x40c506
xor eax, eax
jmp 0x40c511
mov eax, dword [ebx + 0x194]
sub eax, ecx
sar eax, 2
mov edi, dword [esp + 0x28]
push 0x1499700
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x40c550
mov ecx, dword [ebx + 0x194]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x40c550
mov edx, dword [edi]
push edx
call ebp
inc esi
add edi, 4
jmp 0x40c52c
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40c561
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x470
ret