Function at 0x10001d40
Capabilities:
Get file size
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10009e09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x98], 3
test eax, eax
jne 0x10001d7a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x1000e1f8
push 1
call fcn.100032b0
mov eax, dword [esp + 0xc0]
add esp, 0xc
test eax, eax
jne 0x10001d9a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.MD5:__s
push 1
call fcn.100032b0
mov eax, dword [esp + 0xd0]
add esp, 0xc
test eax, eax
jne 0x10001dba
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.URL:__s
push 1
call fcn.100032b0
mov eax, dword [esp + 0xe0]
add esp, 0xc
test eax, eax
jne 0x10001dda
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push str.Mode:__s
push 1
call fcn.100032b0
mov eax, dword [esp + 0xb0]
add esp, 0xc
test eax, eax
jne 0x10001dfa
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0
push 0x80
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.10003210
add esp, 0xc
or edi, 0xffffffff
mov byte [esp + 0x98], 4
cmp esi, edi
jne 0x10001ec3
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x10001e49
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x1000e1c8
push 1
call fcn.100032b0
lea edx, [esp + 0x40]
push edx
call fcn.10003240
add esp, 0x10
lea ecx, [esp + 0xa0]
mov byte [esp + 0x98], 2
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x9c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x9c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd4]
mov dword [esp + 0x9c], edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10002689
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10001f54
push 0x1000e1b4
push 1
call fcn.100032b0
lea ecx, [esp + 0x3c]
push ecx
call fcn.10003240
add esp, 0xc
lea ecx, [esp + 0xa0]
mov byte [esp + 0x98], 2
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x9c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x9c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd4]
mov dword [esp + 0x9c], edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10002689
cmp eax, 0x20000
jb 0x100024b0
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x10001f6f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x1000e1a4
push 1
call fcn.100032b0
mov dl, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0x70], dl
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [esp + 0x24]
mov bl, 5
push eax
push 0
push 0
push esi
mov byte [esp + 0xa8], bl
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x6a]
mov ecx, dword [esp + 0x68]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x6a]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x6a]
push ecx
mov ecx, dword [esp + 0x6c]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x58]
push str._04d_02d_02d_02d_02d_02d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
mov byte [esp + 0x4e], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x80]
push ecx
push str.SoftwareSohu_RDShareFiles_
push edx
mov dword [esp + 0x2c], 0
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x10002077
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1000215a
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x100020af
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x1000e158
push 1
call fcn.100032b0
add esp, 0xc
lea ecx, [esp + 0x80]
mov byte [esp + 0x98], bl
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x34]
push edx
call fcn.10003240
add esp, 4
lea ecx, [esp + 0xa0]
mov byte [esp + 0x98], 2
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x9c], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x9c], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xd4]
mov dword [esp + 0x9c], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10002689
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x1000216a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
push eax
push 1
push 0
push str.LocalPath
push edx
call esi
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x10002199
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x14]
push ecx
push eax
push 1
push 0
push 0x1000e148
push edx
call esi
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x100021bf
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x14]
push ecx
push eax
push 1
push 0
push str.ModifyTime
push edx
call esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 4
push eax
push 4
push 0
push str.Length
push ecx
call esi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 4
push edx
push 4
push 0
push 0x1000e128
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x9c], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ebp, dword [esp + 0x18]
cmp ebp, 0x20000
jb 0x100024b0
mov edi, dword [esp + 0xd4]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test edi, edi
mov eax, edx
je 0x1000225d
mov eax, edi
mov esi, 0x1000e124
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x10002286
test cl, cl
je 0x10002282
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x10002286
add eax, 2
add esi, 2
test cl, cl
jne 0x10002262
xor eax, eax
jmp 0x1000228b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000230d
test edi, edi
mov eax, edx
je 0x10002297
mov eax, edi
mov esi, 0x1000e120
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x100022c0
test cl, cl
je 0x100022bc
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x100022c0
add eax, 2
add esi, 2
test cl, cl
jne 0x1000229c
xor eax, eax
jmp 0x100022c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000230d
test edi, edi
mov eax, edx
je 0x100022d1
mov eax, edi
mov esi, 0x1000e11c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x100022fe
test cl, cl
je 0x100022fa
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x100022fe
add eax, 2
add esi, 2
test cl, cl
jne 0x100022d6
xor eax, eax
jmp 0x10002303
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100024b0
jmp 0x10002336
lea eax, [esp + 0xd0]
lea ecx, [esp + 0xb0]
push eax
push ebp
lea edx, [esp + 0xc8]
push ecx
push edx
call section..text
add esp, 0x10
test al, al
je 0x100024b0
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.10002cc0
mov bl, al
add esp, 8
xor edx, edx
lea eax, [esp + 0xa0]
test bl, bl
sete dl
push edx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP60.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__]
call fcn.10003aa0
mov esi, eax
xor ebp, ebp
add esp, 0x14
cmp esi, ebp
je 0x100025a1
test bl, bl
jne 0x10002410
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.10004520
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x80]
push ebp
push edx
push esi
lea ecx, [esp + 0xbc]
push eax
lea edx, [esp + 0xd0]
push ecx
push edx
mov byte [esp + 0xb0], 7
call fcn.100026b0
mov ecx, dword [esp + 0x9c]
add esp, 0x18
cmp ecx, ebp
mov byte [esp + 0x98], 4
je 0x10002403
mov al, byte [ecx - 1]
test al, al
je 0x100023f9
cmp al, 0xff
je 0x100023f9
dec al
push 1
mov byte [ecx - 1], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
jmp 0x100025a1
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
jmp 0x100025a1
mov al, byte [esp + 0x13]
mov edi, 0x1000eca8
mov byte [esp + 0x70], al
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x74], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x78], ebp
push ecx
push 0x1000eca8
lea ecx, [esp + 0x78]
mov dword [esp + 0x84], ebp
call dword [sym.imp.MSVCP60.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__::assign_char_const___unsigned_int_]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ebp
push ecx
push esi
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0xd0]
push eax
push ecx
mov byte [esp + 0xb0], 8
call fcn.100026b0
mov eax, dword [esp + 0x8c]
add esp, 0x18
cmp eax, ebp
mov byte [esp + 0x98], 4
je 0x10002403
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100023fa
cmp al, 0xff
je 0x100023fa
dec al
push 1
mov byte [ecx], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
jmp 0x100025a1
push 0
lea eax, [esp + 0xa4]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MSVCP60.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__]
call fcn.10003aa0
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000259f
mov cl, byte [esp + 0x13]
mov edi, 0x1000eca8
mov byte [esp + 0x50], cl
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x54]
push ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10002539
mov edi, dword [esp + 0x54]
mov ecx, ebp
mov edx, ecx
mov esi, 0x1000eca8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x50]
push 1
push eax
push esi
lea edx, [esp + 0xbc]
push ecx
lea eax, [esp + 0xd0]
push edx
push eax
mov byte [esp + 0xb0], 9
call fcn.100026b0
mov eax, dword [esp + 0x6c]
add esp, 0x18
cmp eax, ebx
mov byte [esp + 0x98], 4
je 0x10002597
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000258e
cmp al, 0xff
je 0x1000258e
dec al
mov byte [ecx], al
jmp 0x10002597
push ecx
call fcn.100098f0
add esp, 4
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor ebp, ebp
lea eax, [esp + 0x34]
push eax
call fcn.10003240
mov ecx, dword [esp + 0xa8]
add esp, 4
cmp ecx, ebp
je 0x100025d5
mov al, byte [ecx - 1]
test al, al
je 0x100025cb
cmp al, 0xff
je 0x100025cb
dec al
mov byte [ecx - 1], al
jmp 0x100025d5
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xa4], ebp
cmp ecx, ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
je 0x10002611
mov al, byte [ecx - 1]
test al, al
je 0x10002607
cmp al, 0xff
je 0x10002607
dec al
mov byte [ecx - 1], al
jmp 0x10002611
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xb4], ebp
cmp ecx, ebp
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], ebp
je 0x1000264d
mov al, byte [ecx - 1]
test al, al
je 0x10002643
cmp al, 0xff
je 0x10002643
dec al
mov byte [ecx - 1], al
jmp 0x1000264d
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xc4], ebp
cmp ecx, ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xcc], ebp
je 0x10002689
mov al, byte [ecx - 1]
test al, al
je 0x1000267f
cmp al, 0xff
je 0x1000267f
dec al
mov byte [ecx - 1], al
jmp 0x10002689
dec ecx
push ecx
call fcn.100098f0
add esp, 4
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret