Function at 0x41b670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4361eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x154]
push eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0xf0], 1
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
call edx
mov esi, dword [ebp + 8]
xor edi, edi
test al, al
je 0x41b990
cmp esi, edi
je 0x41b990
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
test al, al
je 0x41b990
push edi
push 0x445988
push 0x4459b4
push edi
push esi
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
lea esi, [esp + 0xc8]
mov edi, eax
call fcn.0040ecc0
push str._CUploadTaskManager::AddTask__.
mov ecx, eax
mov byte [esp + 0xf4], 5
call dword [sym.imp.MSVCP80.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__::append_char_const__]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.MSVCP80.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__]
call fcn.004128e0
add esp, 0x1c
mov ecx, esi
mov byte [esp + 0xf0], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41b7f6
xor eax, eax
push 1
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x3c], str.yh_FileUpload::CUploadTaskManager::AddTask
mov dword [esp + 0x40], 0x177
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
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 + 0xf0], 6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0x43a190
call edx
push eax
lea eax, [esp + 0x50]
push str.IUploadTaskManager_AddTask_
push eax
call fcn.00401ae0
add esp, 8
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___int_]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf0], 1
call fcn.00428850
cmp byte [ebp + 0xc], 0
lea esi, [ebx + 0x84]
je 0x41b810
lea ebx, [ebp + 8]
call fcn.0041ead0
mov ebx, dword [esp + 0x10]
jmp 0x41b830
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x41b81e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea ecx, [ebp + 8]
push ecx
lea edx, [esp + 0x20]
push edx
mov eax, esi
call fcn.00425760
xor edi, edi
mov ecx, dword [ebx + 0x78]
test ecx, ecx
mov dword [esp + 0x10], edi
je 0x41b962
mov eax, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41b962
test ecx, ecx
je 0x41b861
mov eax, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41b867
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x78]
lea ecx, [edi*4]
mov esi, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x1c], ecx
call fcn.00422990
test al, al
jne 0x41b95a
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
push 0
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
and eax, 0x1f
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.004021e0
test byte [esp + 0x28], 0x10
je 0x41b927
xor eax, eax
push 1
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x3c], str.yh_FileUpload::CUploadTaskManager::AddTask
mov dword [esp + 0x40], 0x197
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], eax
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 + 0x48]
push str.CUploadTaskManager::AddTask_fuNetWorkChannel__Connect__.
push edx
mov byte [esp + 0xf8], 7
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf0], 1
call fcn.00428850
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x41b93a
mov eax, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41b940
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + ecx]
lea eax, [ebx + 0x13c]
push eax
call fcn.00421de0
mov edi, dword [esp + 0x10]
add edi, 1
jmp 0x41b832
lea ecx, [esp + 0x20]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004021e0
mov al, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
call edx
test al, al
jne 0x41ba42
cmp esi, edi
je 0x41b9c1
mov dword [esi + 0x58], 0xffffffff
push 0x43a074
lea ecx, [esi + 0x60]
mov dword [esi + 0x5c], 0xffffffda
call dword [sym.imp.MSVCP80.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__::append_char_const__]
call fcn.00402130
mov ebx, eax
mov eax, dword [ebx + 4]
push edi
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.004198b0
mov ecx, dword [ebx + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x14]
and ebx, 0x1f
call fcn.004021e0
test bl, 0x10
je 0x41bb59
mov ebx, 2
push 1
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x3c], str.yh_FileUpload::CUploadTaskManager::AddTask
mov dword [esp + 0x40], 0x16c
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 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 + 0xf0], bl
push str.__failed__because_CUploadTaskManager_not_ready.
jmp 0x41bb1b
call fcn.00402130
mov ebx, eax
mov edx, dword [ebx + 4]
push edi
add edx, 0x14
lea ecx, [esp + 0x18]
push edx
call fcn.004198b0
mov eax, dword [ebx + 4]
mov ebx, dword [eax]
lea ecx, [esp + 0x14]
and ebx, 0x1f
call fcn.004021e0
cmp esi, edi
jne 0x41bac7
test bl, 0x10
je 0x41bb59
push 1
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x3c], str.yh_FileUpload::CUploadTaskManager::AddTask
mov dword [esp + 0x40], 0x16f
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], 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 + 0xf0], 3
push str.__failed__because_fileUploadTask_is_NULL.
xor ecx, ecx
jmp 0x41bb1d
test bl, 0x10
je 0x41bb59
push 1
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x3c], str.yh_FileUpload::CUploadTaskManager::AddTask
mov dword [esp + 0x40], 0x171
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], 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 + 0xf0], 4
push str.__failed__because_PrepareUpload___failed.
mov ecx, esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
call eax
push eax
lea ecx, [esp + 0x50]
push str.IUploadTaskManager_AddTask_
push ecx
call fcn.00401ae0
add esp, 8
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___int_]
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf0], 1
call fcn.00428850
lea ecx, [esp + 0x20]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004021e0
xor al, al
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8