Function at 0x40bdf0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45f41e
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 + 0x278]
cmp dword [esi], 0
je 0x40be54
mov cl, byte [esi + 5]
lea eax, [esi + 0x198]
test cl, cl
jne 0x40be40
push 0x4734dc
push eax
call ebp
add esp, 8
test al, al
je 0x40be48
push esi
mov ecx, ebx
call fcn.0040ff60
inc edi
add esi, 0x54c
cmp edi, 7
jl 0x40be1f
mov ecx, dword [ebx + 0x278c]
lea eax, [ebx + 0x278c]
test ecx, ecx
je 0x40be76
mov cl, byte [ebx + 0x2791]
test cl, cl
je 0x40be76
push eax
mov ecx, ebx
call fcn.0040ff60
xor edi, edi
lea esi, [ebx + 0x2cd8]
cmp dword [esi], 0
je 0x40be9e
mov al, byte [esi + 5]
test al, al
je 0x40be92
push esi
mov ecx, ebx
call fcn.0040ff60
inc edi
add esi, 0x54c
cmp edi, 2
jl 0x40be7e
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x40c428
mov ecx, dword [ebx + 0x194]
sub ecx, eax
test ecx, 0xfffffffc
je 0x40c428
lea edx, [ebx + 0x1ac]
push 0x4734d8
push edx
call ebp
add esp, 8
test al, al
je 0x40bef7
push ebx
push 0
push 0x40ce80
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
push 0x1499700
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40c428
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jne 0x40bf05
xor eax, eax
jmp 0x40bf10
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 0x40bf30
xor eax, eax
jmp 0x40bf3b
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 0x40c3b2
mov edx, dword [ebx + 0x194]
sub edx, eax
sar edx, 2
cmp ecx, edx
jae 0x40c3b2
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 0x4734d4
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 0x40c228
push ebp
mov ecx, ebx
call fcn.00414310
test al, al
jne 0x40c228
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
call fcn.0040c720
push 0x4734d0
push str.type
lea ecx, [esp + 0x38]
mov dword [esp + 0x484], 0
call fcn.0040c450
push 0x478924
push str.start_way
lea ecx, [esp + 0x38]
call fcn.0040c450
push 0x478924
push str.biz_type
lea ecx, [esp + 0x38]
call fcn.0040c450
push 0x478924
push str.biz_id
lea ecx, [esp + 0x38]
call fcn.0040c450
push 0x478924
push str.biz_status
lea ecx, [esp + 0x38]
call fcn.0040c450
push 0x473498
push str.biz_type
lea ecx, [esp + 0x38]
call fcn.0040c450
mov esi, str.media
mov eax, 0x473498
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40c0c1
test cl, cl
je 0x40c0bd
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40c0c1
add eax, 2
add esi, 2
test cl, cl
jne 0x40c09d
xor eax, eax
jmp 0x40c0c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c101
mov esi, str.mini
mov eax, 0x473498
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40c0f8
test cl, cl
je 0x40c0f4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40c0f8
add eax, 2
add esi, 2
test cl, cl
jne 0x40c0d4
xor eax, eax
jmp 0x40c0fd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40c114
push 0x478924
push str.biz_stay_time
lea ecx, [esp + 0x38]
call fcn.0040c450
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.00426710
mov eax, dword [ebp + 4]
add esp, 0x34
test eax, eax
jne 0x40c1b1
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 str.biz_id
call fcn.0040c450
lea eax, [esp + 0x44]
push 0xa
push eax
push 2
call esi
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push str.biz_status
lea ecx, [esp + 0x38]
call fcn.0040c450
lea edx, [esp + 0x30]
push edx
call fcn.004104a0
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x47c], 0xffffffff
call fcn.0040ca20
jmp 0x40c399
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 0x473498
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.00414bc0
test eax, eax
jne 0x40c3b2
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 0x40c26c
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xa0]
mov dword [esp + 0x18], edi
test eax, eax
je 0x40c27e
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc0]
mov edx, edi
test eax, eax
je 0x40c28c
mov edx, eax
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x40c298
mov edi, eax
test edi, edi
je 0x40c2c3
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 0x40c2f5
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 0x40c321
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 0x40c34d
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.00459920
add esp, 4
test eax, eax
jne 0x40c399
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.00411450
push 1
lea eax, [esp + 0x23]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
push 0x473498
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.00414d00
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 0x40bf55
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jne 0x40c3c0
xor eax, eax
jmp 0x40c3cb
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 0x40c40a
mov ecx, dword [ebx + 0x194]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x40c40a
mov edx, dword [edi]
push edx
call ebp
inc esi
add edi, 4
jmp 0x40c3e6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x40c41b
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