Function at 0x41c2d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436172
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, ecx
mov dword [esp + 0x10], eax
lea eax, [edi + 0xc]
push eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call esi
mov bl, byte [edi + 0x24]
lea ecx, [esp + 0x14]
call fcn.004021e0
test bl, bl
je 0x41c8e7
mov eax, dword [edi + 0x150]
push eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], 0
call esi
lea eax, [edi + 0xc]
mov dword [esp + 0x110], 2
push eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 0
call esi
mov bl, byte [edi + 0x24]
lea ecx, [esp + 0x1c]
call fcn.004021e0
test bl, bl
je 0x41c8d3
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x41c8d3
mov esi, dword [edi + 0x6c]
cmp esi, ebx
jne 0x41c5e8
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x41c550
call fcn.00422a30
mov ecx, dword [edi + 0x6c]
call fcn.00422040
mov ecx, dword [edi + 0x68]
xor ebx, ebx
cmp ecx, ebx
je 0x41c3c6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [edi + 0x68], ebx
push 0x54
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x110], 4
je 0x41c3e9
push eax
call fcn.00425c50
jmp 0x41c3eb
xor eax, eax
mov byte [esp + 0x110], 2
mov ecx, dword [edi + 0x6c]
mov dword [edi + 0x68], eax
mov esi, dword [ecx + 0xc]
push eax
call fcn.00425ef0
mov ecx, dword [edi + 0x6c]
cmp ecx, ebx
je 0x41c411
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp byte [edi + 0xc1], 0
mov dword [edi + 0x6c], ebx
jne 0x41c42b
add edi, 0xfffffffc
push edi
call fcn.0041df00
jmp 0x41c8d3
lea ecx, [edi + 0x10c]
push ecx
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x4387e0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 5
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ebx, 8
cmp dword [esp + 0x34], ebx
jb 0x41c547
mov eax, dword [esp + 0x20]
test eax, eax
je 0x41c48c
push eax
call dword [sym.imp.MSVCR80.dll__wremove]
add esp, 4
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x43a284
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x12c], 6
mov eax, dword [edi + 0x68]
sub esp, 0x1c
add eax, 0x24
mov ecx, esp
mov dword [esp + 0x7c], 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__]
mov byte [esp + 0x148], 7
mov edx, dword [edi + 0x68]
sub esp, 0x1c
add edx, ebx
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
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__]
sub esp, 0x1c
mov byte [esp + 0x180], bl
lea eax, [esp + 0x154]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [esp + 0x180], 5
call fcn.00414120
lea esi, [edi - 4]
add esp, 0x70
mov ecx, esi
call fcn.0041d0b0
test al, al
jne 0x41c52d
push esi
call fcn.0041df00
lea ecx, [esp + 0xe4]
mov byte [esp + 0x110], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x41c8d3
lea eax, [esp + 0x20]
jmp 0x41c482
test eax, eax
je 0x41c55d
cmp eax, 3
jne 0x41c8d3
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41c5b1
push 0
push 2
push 0
mov edx, 0x228
mov ecx, str.yh_FileUpload::CUploadTaskManager::FUNetWorkChannelStateChanged
mov eax, str..FileUploadUploadTaskManager.cpp
lea esi, [esp + 0x54]
call fcn.00428810
add eax, 0x1c
push str.CUploadTaskManager::FUNetWorkChannelStateChanged_Closed_
push eax
mov byte [esp + 0x118], 9
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0x110], 2
call fcn.00428850
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x24]
call eax
cmp dword [eax + 0x48], 0
je 0x41c8d3
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 + 4]
call eax
jmp 0x41c8d3
mov edx, dword [edi - 4]
mov eax, dword [edx + 0x3c]
lea ecx, [edi - 4]
mov dword [esp + 0x10], ecx
call eax
test al, al
je 0x41c8d3
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x41c66a
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41c65b
push 0
push 2
push 0
mov edx, 0x23a
mov ecx, str.yh_FileUpload::CUploadTaskManager::FUNetWorkChannelStateChanged
mov eax, str..FileUploadUploadTaskManager.cpp
lea esi, [esp + 0x54]
call fcn.00428810
add eax, 0x1c
push str.CUploadTaskManager::FUNetWorkChannelStateChanged_Opened.
push eax
mov byte [esp + 0x118], 0xa
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0x110], 2
call fcn.00428850
mov edx, dword [edi]
mov eax, dword [edx + 4]
push ebx
mov ecx, edi
call eax
jmp 0x41c8d3
test eax, eax
jne 0x41c8d3
call fcn.00402130
call fcn.00429250
test al, 0x10
je 0x41c6c6
push 0
push 2
push 0
mov edx, 0x240
mov ecx, str.yh_FileUpload::CUploadTaskManager::FUNetWorkChannelStateChanged
mov eax, str..FileUploadUploadTaskManager.cpp
lea esi, [esp + 0x54]
call fcn.00428810
add eax, 0x1c
push str.CUploadTaskManager::FUNetWorkChannelStateChanged_Closed.
push eax
mov byte [esp + 0x118], 0xb
call fcn.00401ae0
add esp, 8
mov ecx, esi
mov byte [esp + 0x110], 2
call fcn.00428850
mov esi, ebx
call fcn.00422a60
mov ebx, eax
lea edi, [esp + 0x1c]
call fcn.0041e760
mov eax, ebx
mov byte [esp + 0x110], 0xc
call fcn.0041e7f0
xor edi, edi
lea esp, [esp]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x41c8ca
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x41c8ca
lea esi, [esp + 0x1c]
call fcn.0041eab0
mov ecx, dword [eax]
push 0
push 0x445988
push 0x445a00
push 0
push ecx
call sub.MSVCR80.dll___RTDynamicCast
mov esi, eax
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov edx, dword [eax + esi + 8]
lea ecx, [eax + esi + 8]
mov eax, dword [edx + 0x18]
add esp, 0x14
call eax
cmp eax, 1
jne 0x41c760
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
add dword [edx + esi + 0x168], 0xffffffff
lea eax, [edx + esi + 0x168]
jmp 0x41c7be
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + esi + 8]
mov eax, dword [edx + 0x18]
lea ecx, [ecx + esi + 8]
call eax
cmp eax, 2
jne 0x41c7be
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
add dword [edx + esi + 0x168], 0xffffffff
lea eax, [edx + esi + 0x168]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 0x60], 0xffffffff
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x64], 0xffffffd2
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push 0x43a388
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]
cmp dword [ecx + esi + 0x168], 0
jg 0x41c870
mov edx, eax
mov eax, dword [edx + 4]
mov dword [eax + esi + 0x60], 0xffffffff
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov dword [edx + esi + 0x64], 0xffffffd1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
push 0x43a3a4
lea ecx, [ecx + 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 edx, dword [esi + 8]
mov eax, dword [edx + 4]
lea ebx, [eax + esi + 0x4c]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [ebx]
mov dword [ebx], eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x4c]
lea eax, [edx + esi]
mov dword [eax + 0x58], ecx
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
cmp dword [eax + esi + 0x150], 0
je 0x41c852
mov ecx, edx
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + esi + 0x150]
mov edx, dword [ecx]
push 5
push eax
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 8]
lea esi, [edx + esi + 8]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
add edi, 1
jmp 0x41c6f0
mov ecx, dword [eax + 4]
add dword [ecx + esi + 0x5c], 1
lea esi, [ecx + esi + 0x5c]
lea esi, [esp + 0x1c]
call fcn.0041eab0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push 0
call eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
add ebx, 0x14
call fcn.0041eab0
mov edx, dword [eax]
push 0
push 0
push 0x4459b4
push 0x445a00
push 0
push edx
call sub.MSVCR80.dll___RTDynamicCast
mov ecx, dword [esp + 0x28]
add esp, 0x14
push eax
mov eax, dword [ebx]
call eax
add edi, 1
jmp 0x41c6f0
lea esi, [esp + 0x1c]
call fcn.0041ea80
lea ecx, [esp + 0x14]
mov dword [esp + 0x110], 0xffffffff
call fcn.004021e0
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00431147
mov esp, ebp
pop ebp
ret 8