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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4360d7
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, dword [ebp + 8]
mov eax, dword [ebx + 0x154]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], 0
call esi
lea eax, [ebx + 0x10]
mov dword [esp + 0xf0], 1
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call esi
mov al, byte [ebx + 0x28]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13], al
call fcn.004021e0
cmp byte [esp + 0x13], 0
je 0x41ce76
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test al, al
jne 0x41cb8b
lea edi, [ebx + 0x4c]
lea eax, [edi + 4]
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call esi
mov cl, byte [edi + 0x1c]
mov byte [esp + 0x13], cl
lea ecx, [esp + 0x1c]
call fcn.004021e0
cmp byte [esp + 0x13], 0
je 0x41cb8b
cmp dword [ebx + 0x6c], 0
je 0x41cb8b
mov eax, dword [ebx + 0xf4]
add dword [ebx + 0x138], 1
mov ecx, dword [ebx + 0x138]
lea edx, [eax + eax*4]
add edx, edx
cmp ecx, edx
jle 0x41cb48
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41cb3a
push 0
push 2
push 0
mov edx, 0x2a0
mov ecx, str.yh_FileUpload::CUploadTaskManager::TimeSlice
mov eax, str..FileUploadUploadTaskManager.cpp
lea esi, [esp + 0x54]
call fcn.00428810
add eax, 0x1c
push 0x43a3c0
push eax
mov byte [esp + 0xf8], 4
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0xf0], 1
call fcn.00428850
xor bl, bl
mov esi, edi
call fcn.0041ea00
jmp 0x41ce76
and ecx, 0x80000001
jns 0x41cb55
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x41ce76
mov esi, ebx
call fcn.0041dc10
test al, al
je 0x41ce76
lea esi, [ebx + 0x2c]
mov bl, 1
call fcn.0041ea00
xor bl, bl
mov esi, edi
call fcn.0041ea00
mov eax, dword [ebp + 8]
push eax
call fcn.0041df00
jmp 0x41ce76
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test al, al
je 0x41ce76
mov eax, dword [ebx + 0x88]
test eax, eax
lea esi, [ebx + 0x84]
mov dword [esp + 0x2c], esi
je 0x41ce76
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
je 0x41ce76
mov edi, ebx
call fcn.0041cf40
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
mov dword [esp + 0x14], eax
jbe 0x41cbdb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
je 0x41cc65
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
mov dword [esp + 0x18], eax
jbe 0x41cbfc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, esi
je 0x41cc06
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x18]
je 0x41cc65
lea esi, [esp + 0x1c]
call fcn.0041ec40
mov edx, dword [eax]
push 0
push 0x445988
push 0x4459b4
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x41cc65
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
lea eax, [edx + eax + 8]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004221c0
test al, al
je 0x41cc65
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
push ecx
push edx
lea ebx, [esp + 0x24]
call fcn.0041eb30
mov ebx, dword [ebp + 8]
add dword [ebx + 0x134], 1
cmp dword [ebx + 0x134], 0x32
jle 0x41ce76
mov eax, dword [ebx + 0x78]
test eax, eax
lea edi, [ebx + 0x74]
mov dword [esp + 0x18], edi
je 0x41cccd
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
je 0x41cccd
xor esi, esi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41cccd
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41cccd
test ecx, ecx
je 0x41ccb6
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41ccbc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 4]
mov eax, dword [edx + esi*4]
cmp dword [eax + 8], 0
jne 0x41cd04
add esi, 1
jmp 0x41cc93
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
cmp dword [eax + 0x48], 0
je 0x41ce76
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
jmp 0x41ce76
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41ce6c
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
je 0x41ce6c
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x41cd30
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x41ce6c
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x41ce6c
test ecx, ecx
je 0x41cd5b
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x41cd61
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 4]
lea eax, [edx + esi*4]
mov esi, dword [eax]
call fcn.00422990
test al, al
jne 0x41ce5e
xor esi, esi
cmp dword [ebx + 0x70], esi
je 0x41ce5e
cmp dword [ebx + 0x6c], esi
je 0x41ce5e
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41cdde
push esi
push 2
push esi
mov edx, 0x2ec
mov ecx, str.yh_FileUpload::CUploadTaskManager::TimeSlice
mov eax, str..FileUploadUploadTaskManager.cpp
lea esi, [esp + 0x54]
call fcn.00428810
add eax, 0x1c
push str.CUploadTaskManager::TimeSlice_fuNetWorkChannel__Connect__.
push eax
mov byte [esp + 0xf8], 5
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0xf0], 1
call fcn.00428850
xor esi, esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov byte [esp + 0xf0], 6
mov eax, dword [ebx + 0x6c]
push eax
lea esi, [esp + 0x3c]
call fcn.0041ec80
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ebx, esi
lea esi, [esp + 0x1c]
mov byte [esp + 0xf0], 7
call fcn.0041e6e0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
call fcn.0041eab0
mov edi, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
call fcn.00421de0
lea esi, [esp + 0x1c]
mov byte [esp + 0xf0], 6
call fcn.0041e500
mov byte [esp + 0xf0], 1
call fcn.0041f0c0
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
add dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
jmp 0x41cd30
mov dword [ebx + 0x134], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004021e0
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4