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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4357a6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], ebx
mov eax, dword [ebx + 0x154]
push eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
test esi, esi
mov dword [esp + 0xd8], 1
je 0x41beec
call fcn.00402130
mov edi, eax
mov eax, dword [edi + 4]
push 0
add eax, 0x14
push eax
lea ecx, [esp + 0x28]
call fcn.004198b0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
and eax, 0x1f
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.004021e0
mov eax, 0x10
test byte [esp + 0x14], al
je 0x41bcb8
mov dword [esp + 0x30], eax
xor eax, eax
push 1
push 2
lea ecx, [esp + 0x54]
mov dword [esp + 0x3c], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x40], str.yh_FileUpload::CUploadTaskManager::CancelTask
mov dword [esp + 0x44], 0x1a8
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], 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 + 0xd8], 2
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x43a190
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x54]
push str.IUploadTaskManager_CancelTask_
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 + 0x30]
mov byte [esp + 0xd8], 1
call fcn.00428850
mov edi, dword [ebx + 0x88]
cmp edi, dword [ebx + 0x8c]
lea esi, [ebx + 0x84]
mov dword [esp + 0x14], esi
jbe 0x41bcd6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x2c], eax
jbe 0x41bce8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, esi
test eax, eax
mov dword [esp + 0x20], eax
je 0x41bcf6
cmp eax, esi
je 0x41bd04
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call esi
mov eax, dword [esp + 0x20]
jmp 0x41bd0a
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x2c]
je 0x41be56
test eax, eax
jne 0x41bd1e
call esi
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 8]
jb 0x41bd25
call esi
mov edx, dword [edi]
push 0
push 0x445988
push 0x4459b4
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 8]
mov eax, dword [edx + 4]
lea ecx, [ecx + esi + 8]
add esp, 0x14
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 4]
call eax
cmp ebx, eax
je 0x41bd80
mov esi, dword [esp + 0x14]
mov eax, esi
cmp edi, dword [eax + 8]
jb 0x41bd74
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x28]
add edi, 4
jmp 0x41bcd6
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
or ebx, 0xffffffff
cmp dword [edx + esi + 0x150], 0
je 0x41bdf0
mov eax, ecx
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x60], ebx
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x64], 0xffffffec
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push 0x43a220
lea ecx, [edx + esi + 0x68]
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__]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 8]
lea eax, [ecx + esi + 8]
mov ecx, dword [edx + 4]
mov ecx, dword [ecx + esi + 0x150]
mov edx, dword [ecx]
push 6
push eax
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x150], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 8]
mov eax, dword [edx]
lea ecx, [ecx + esi + 8]
push 1
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 8]
lea ecx, [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x41be28
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
add dword [esi + 8], 0xfffffffc
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], ebx
call fcn.004021e0
mov al, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
jmp 0x41be60
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x41beec
mov eax, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41beec
test ecx, ecx
je 0x41be87
mov eax, dword [ebx + 0x7c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41be8d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x78]
push 0
push 0x445a00
push 0x4459b4
push 0
push edx
lea edi, [ecx + esi*4]
call sub.MSVCR80.dll___RTDynamicCast
mov ecx, dword [edi]
add esp, 0x14
push eax
call fcn.004224a0
test al, al
jne 0x41bebe
add esi, 1
jmp 0x41be60
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004021e0
mov al, 1
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004021e0
xor al, al
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4