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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4351c6
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x154]
push eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0xd0], 1
call fcn.00402130
mov edi, eax
mov eax, dword [edi + 4]
xor ebp, ebp
push ebp
add eax, 0x14
push eax
lea ecx, [esp + 0x28]
call fcn.004198b0
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x20]
and ebx, 0x1f
call fcn.004021e0
test bl, 0x10
je 0x41c00e
mov ebx, 2
push 1
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x38], str.yh_FileUpload::CUploadTaskManager::CancelAllTask
mov dword [esp + 0x3c], 0x1ce
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
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 + 0x44]
push str.IUploadTaskManager_CancelAllTask.
push edx
mov byte [esp + 0xd8], bl
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0xd0], 1
call fcn.00428850
xor ebx, ebx
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c1e1
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x41c1e1
test ecx, ecx
je 0x41c044
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c04e
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
call ebp
jmp 0x41c054
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + ebx*4]
lea edi, [ebx*4]
mov dword [ecx + 0x58], 0xffffffff
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c084
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c086
call ebp
mov edx, dword [esi + 0x88]
mov eax, dword [edx + edi]
mov dword [eax + 0x5c], 0xffffffec
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c0af
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c0b1
call ebp
mov ecx, dword [esi + 0x88]
mov ecx, dword [edi + ecx]
push 0x43a220
add ecx, 0x60
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 ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c0e1
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c0e3
call ebp
mov edx, dword [esi + 0x88]
mov eax, dword [edi + edx]
cmp dword [eax + 0x148], 0
je 0x41c185
mov ecx, edx
test ecx, ecx
je 0x41c10e
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c110
call ebp
mov ecx, dword [esi + 0x88]
test ecx, ecx
mov edx, dword [edi + ecx]
mov ebp, dword [edx + 0x148]
je 0x41c132
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c138
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x88]
mov edx, dword [edi + ecx]
mov eax, dword [ebp]
mov eax, dword [eax]
push 6
push edx
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c166
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c16c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x88]
mov edx, dword [edi + ecx]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [edx + 0x148], 0
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41c19e
mov eax, dword [esi + 0x8c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x41c1a0
call ebp
mov eax, dword [esi + 0x88]
push 0
push 0x445988
add eax, edi
mov eax, dword [eax]
push 0x4459b4
push 0
push eax
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x41c1d9
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
lea eax, [edx + eax + 8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
add ebx, 1
jmp 0x41c010
mov ebx, dword [esi + 0x8c]
cmp ecx, ebx
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x41c1f3
call ebp
mov edi, dword [esi + 0x88]
cmp edi, dword [esi + 0x8c]
jbe 0x41c203
call ebp
cmp edi, ebx
je 0x41c239
mov eax, dword [esi + 0x8c]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + edi]
jle 0x41c22d
push ecx
push ebx
push ecx
push edi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
mov dword [esi + 0x8c], ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor edi, edi
jmp 0x41c240
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x41c275
mov eax, dword [esi + 0x7c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41c275
test ecx, ecx
je 0x41c263
mov eax, dword [esi + 0x7c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x41c265
call ebp
mov ecx, dword [esi + 0x78]
mov ecx, dword [ecx + edi*4]
call fcn.004226f0
add edi, 1
jmp 0x41c240
lea ecx, [esp + 0x18]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004021e0
mov al, 1
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret