Function at 0x41a610
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436aba
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x154]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x7c]
push esi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x11c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xec]
push ecx
mov ecx, str.ts_upload_log_2
mov byte [esp + 0x11c], 2
call fcn.00419a30
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x118], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
lea ecx, [esp + 0xf0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 0xec]
push edx
mov ecx, str.ts_upload_log_1
mov byte [esp + 0x11c], 3
call fcn.00419a30
add esp, 4
lea ecx, [esp + 0xec]
mov byte [esp + 0x118], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebx + 0xc]
lea eax, [esi + 4]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x1c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], al
call fcn.004021e0
cmp byte [esp + 0x17], 0
jne 0x41aad2
mov eax, dword [esp + 0x18]
cmp dword [eax + 4], 0
jl 0x41aad2
jg 0x41a752
cmp dword [eax], 0
jbe 0x41aad2
lea esi, [ebx + 0x94]
mov eax, edi
call fcn.0041acd0
mov esi, dword [ebx + 0x12c]
test esi, esi
je 0x41a783
push esi
call fcn.00402090
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [ebx + 0x12c], 0
push 0x50
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x118], 5
je 0x41a7a6
push eax
call fcn.00402010
jmp 0x41a7a8
xor eax, eax
mov edi, dword [esp + 0x18]
mov byte [esp + 0x118], 1
mov esi, eax
mov dword [ebx + 0x12c], eax
call fcn.0041ad60
mov ecx, dword [ebx + 0x14c]
push ecx
call fcn.00402130
push eax
call fcn.00428ef0
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
je 0x41a7e5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add eax, 0x7c
push eax
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edi, str.ts_upload_log_2
lea esi, [esp + 0xd0]
mov byte [esp + 0x118], 6
call fcn.00419d40
push 0x98
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x118], 7
je 0x41a85b
cmp dword [esp + 0xe8], 8
mov ecx, dword [esp + 0xd4]
jae 0x41a853
lea ecx, [esp + 0xd4]
push eax
call fcn.00419e10
jmp 0x41a85d
xor eax, eax
mov byte [esp + 0x118], 6
push eax
mov dword [ebx + 0x14c], eax
call fcn.00402130
push eax
call fcn.00428df0
mov ecx, dword [ebx + 0x150]
push ecx
call fcn.00402130
push eax
call fcn.00428ef0
mov ecx, dword [ebx + 0x150]
test ecx, ecx
je 0x41a89b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add eax, 0x7c
push eax
lea ecx, [esp + 0xd4]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edi, str.ts_upload_log_1
lea esi, [esp + 0xd0]
call fcn.00419d40
push 0x98
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
xor edi, edi
cmp eax, edi
mov byte [esp + 0x118], 8
je 0x41a90c
cmp dword [esp + 0xe8], 8
mov ecx, dword [esp + 0xd4]
jae 0x41a903
lea ecx, [esp + 0xd4]
push ecx
push eax
call fcn.00419e90
jmp 0x41a90e
xor eax, eax
mov byte [esp + 0x118], 6
push eax
mov dword [ebx + 0x150], eax
call fcn.00402130
push eax
call fcn.00428df0
call fcn.00402130
mov esi, eax
mov ecx, dword [esi + 4]
add ecx, 0x14
push edi
push ecx
lea ecx, [esp + 0x24]
call fcn.004198b0
mov edx, dword [esi + 4]
mov eax, dword [edx]
and eax, 0x1f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004021e0
test byte [esp + 0x18], 0x10
je 0x41a9ed
push 1
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x44], str.yh_FileUpload::CUploadTaskManager::Start
mov dword [esp + 0x48], 0x97
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov byte [esp + 0x118], 9
mov eax, dword [ebx + 0x12c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x439e74
push ecx
push edx
push ecx
lea eax, [esp + 0x60]
push str.IUploadTaskManager_Start_begin_uin:
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64__]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00428850
lea eax, [ebx + 0x94]
lea edx, [ebx + 0xb4]
lea ecx, [ebx + 0xa4]
push eax
call fcn.004129e0
add esp, 4
cmp byte [ebx + 0xc4], 0
je 0x41aa16
call fcn.00412250
call fcn.00426360
lea esi, [ebx + 0x13c]
mov eax, 0x4466cc
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.0041e540
mov eax, dword [esi + 4]
cmp eax, edi
je 0x41aa46
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 4
jne 0x41ab0e
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41aabd
push 1
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x44], str.yh_FileUpload::CUploadTaskManager::Start
mov dword [esp + 0x48], 0xb8
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea edx, [esp + 0x50]
push str.IUploadTaskManager_Start_failed__no_route_to_use.
push edx
mov byte [esp + 0x120], 0xa
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00428850
lea ecx, [esp + 0xd0]
mov byte [esp + 0x118], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x118], 0xffffffff
call fcn.004021e0
xor al, al
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00431147
mov esp, ebp
pop ebp
ret 8
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41ab85
push 1
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x44], str.yh_FileUpload::CUploadTaskManager::Start
mov dword [esp + 0x48], 0xbd
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea eax, [esp + 0x50]
push str.IUploadTaskManager_Start__
push eax
mov byte [esp + 0x120], 0xb
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00428850
mov ecx, dword [ebx + 0x70]
cmp ecx, edi
je 0x41ab97
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + 0x70], edi
push 0x58
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x118], 0xc
je 0x41abbe
lea ecx, [ebx + 4]
push ecx
push eax
call fcn.00421920
jmp 0x41abc0
xor eax, eax
push 0x20
push 0x64
push 0x64
push ebx
push 0x41ceb0
mov byte [esp + 0x12c], 6
mov dword [ebx + 0x70], eax
push edi
add ebx, 0x130
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41ac5c
push 1
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x44], str.yh_FileUpload::CUploadTaskManager::Start
mov dword [esp + 0x48], 0xd4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x54], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea edx, [esp + 0x50]
push str.IUploadTaskManager_Start_end.
push edx
mov byte [esp + 0x120], 0xd
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00428850
mov eax, dword [0x4464d8]
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x1c]
mov dword [0x4464d4], edi
call fcn.004021e0
mov esi, dword [esp + 0x30]
mov bl, 1
call fcn.0041ea00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x70]
push eax
call fcn.00421de0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x118], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x118], 0xffffffff
call fcn.004021e0
mov al, bl
jmp 0x41aae8