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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4357e6
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 edi, ecx
mov eax, dword [edi + 0x154]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
call esi
lea eax, [edi + 0x10]
mov dword [esp + 0xd0], 1
push eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call esi
mov bl, byte [edi + 0x28]
lea ecx, [esp + 0x18]
call fcn.004021e0
test bl, bl
jne 0x41b444
lea ecx, [esp + 0x20]
mov dword [esp + 0xd0], 0xffffffff
call fcn.004021e0
xor al, al
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
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
xor ebp, ebp
push ebp
add eax, 0x14
push eax
lea ecx, [esp + 0x20]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x18]
and ebx, 0x1f
call fcn.004021e0
test bl, 0x10
je 0x41b4dd
push 1
push 2
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], 0x10
mov dword [esp + 0x34], str..FileUploadUploadTaskManager.cpp
mov dword [esp + 0x38], str.yh_FileUpload::CUploadTaskManager::EndUpload
mov dword [esp + 0x3c], 0x148
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], 2
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_EndUpload.
push edx
mov byte [esp + 0xd8], 3
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0xd0], 1
call fcn.00428850
lea esi, [edi + 0x2c]
xor bl, bl
call fcn.0041ea00
lea esi, [edi + 0x4c]
call fcn.0041ea00
xor esi, esi
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x41b531
mov eax, dword [edi + 0x7c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41b531
test ecx, ecx
je 0x41b514
mov eax, dword [edi + 0x7c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41b51a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x78]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41b52c
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
add esi, 1
jmp 0x41b4f1
mov ebx, dword [edi + 0x7c]
cmp ecx, ebx
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x41b540
call ebp
mov esi, dword [edi + 0x78]
cmp esi, dword [edi + 0x7c]
jbe 0x41b54a
call ebp
cmp esi, ebx
je 0x41b57a
mov eax, dword [edi + 0x7c]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + esi]
jle 0x41b571
push ecx
push ebx
push ecx
push esi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
mov dword [edi + 0x7c], ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
xor esi, esi
lea esp, [esp]
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x41b5ec
mov eax, dword [edi + 0x8c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41b5ec
test ecx, ecx
je 0x41b5ac
mov eax, dword [edi + 0x8c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41b5ae
call ebp
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx + esi*4]
push 0
push 0x445988
lea eax, [ecx + esi*4]
push 0x4459b4
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x41b5e7
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add esi, 1
jmp 0x41b580
mov ebx, dword [edi + 0x8c]
cmp ecx, ebx
jbe 0x41b5f8
call ebp
mov esi, dword [edi + 0x88]
cmp esi, dword [edi + 0x8c]
jbe 0x41b608
call ebp
cmp esi, ebx
je 0x41b638
mov eax, dword [edi + 0x8c]
sub eax, ebx
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebp, [ecx + esi]
jle 0x41b632
push ecx
push ebx
push ecx
push esi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
mov dword [edi + 0x8c], ebp
lea ecx, [esp + 0x20]
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