Function at 0x422c50
Capabilities:
Create thread
Delete file
Resolve function by parsing pe exports
Timestomp file

Disassembly:
sub esp, 0x270
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x26c], eax
mov edx, dword [esp + 0x284]
mov eax, dword [esp + 0x274]
push ebx
push ebp
mov ebp, dword [esp + 0x290]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x298]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2a0]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2a0]
mov dword [esi + 0x78], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x74], edx
call dword [0x449200]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x288]
mov eax, dword [esp + 0x28c]
lea edi, [esi + 0x50]
push ecx
mov ecx, edi
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
call dword [0x44929c]
push 0x44b790
mov ecx, edi
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__::operator_char_const__]
cmp dword [ebp + 0x14], ebx
jne 0x422d0c
push str._V
lea ecx, [esp + 0x5c]
mov ebx, 1
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__]
jmp 0x422d0e
mov eax, ebp
push eax
mov ecx, edi
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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
test bl, 1
je 0x422d29
lea ecx, [esp + 0x58]
and ebx, 0xfffffffe
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x44b790
mov ecx, edi
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__::operator_char_const__]
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x14], 0
jne 0x422d52
push str._V
lea ecx, [esp + 0x5c]
or ebx, 2
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__]
push eax
mov ecx, edi
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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
test bl, 2
je 0x422d6a
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov eax, dword [edx]
mov ebx, dword [esp + 0x20]
push eax
push 0x44b7ac
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::rfind_wchar_t_const___unsigned_int_const]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
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__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x40]
mov edi, 8
cmp dword [esp + 0x54], edi
jae 0x422da7
lea eax, [esp + 0x40]
push eax
call fcn.0042a710
add esp, 4
test eax, eax
jne 0x422dc8
lea ecx, [esp + 0x3c]
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_]
mov eax, 6
jmp 0x423103
cmp dword [ebx + 0x18], edi
lea edi, [ebx + 4]
jb 0x422dd4
mov eax, dword [edi]
jmp 0x422dd6
mov eax, edi
push eax
call fcn.0042a4d0
mov ebp, dword [esp + 0x290]
add esp, 4
test eax, eax
je 0x422f25
test ebp, ebp
jl 0x422f12
jg 0x422e06
cmp dword [esp + 0x288], 0
jbe 0x422f12
push ebx
call fcn.00422a40
add esp, 4
test eax, eax
je 0x422f12
mov edx, dword [esp + 0x288]
mov eax, dword [esp + 0x24]
push ebp
push edx
push eax
push ebx
call fcn.00421dc0
add esp, 0x10
test eax, eax
je 0x422f12
cmp dword [ebx + 0x18], 8
jb 0x422e40
mov eax, dword [edi]
jmp 0x422e42
mov eax, edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.004220f0
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x30]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov edi, dword [ecx]
test ebx, ebx
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], edx
je 0x422e84
cmp ebx, ebx
je 0x422e8a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x1c]
je 0x422eea
test ebx, ebx
jne 0x422e9a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 4]
jne 0x422ebb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 4]
jne 0x422ebb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 4]
jne 0x422ebb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sbb ecx, dword [edi + 0x1c]
sub eax, dword [edi + 8]
sbb ecx, dword [edi + 0xc]
add eax, 1
adc ecx, 0
add dword [esp + 0x10], eax
adc dword [esp + 0x14], ecx
cmp edi, dword [ebx + 4]
jne 0x422ee6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
jmp 0x422e75
mov edx, dword [esi + 0x20]
sub edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
sbb eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 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__::destructor_void_]
mov eax, 2
jmp 0x423103
cmp dword [ebx + 0x18], 8
jb 0x422f1c
mov eax, dword [edi]
jmp 0x422f1e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x206
lea ecx, [esp + 0x7a]
push 0
push ecx
mov word [esp + 0x80], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x422f4d
mov eax, dword [edi]
jmp 0x422f4f
mov eax, edi
lea edx, [esp + 0x74]
push edx
push eax
call fcn.0042a6d0
lea eax, [esp + 0x7c]
push eax
call fcn.0042a640
add esp, 0xc
cmp edx, ebp
jg 0x422f8a
jl 0x422f76
cmp eax, dword [esp + 0x288]
jae 0x422f8a
lea ecx, [esp + 0x3c]
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_]
mov eax, 4
jmp 0x423103
xor ebp, ebp
cmp dword [ebx + 0x18], 8
mov dword [esp + 0x20], ebp
jb 0x422f9a
mov eax, dword [edi]
jmp 0x422f9c
mov eax, edi
push ebp
push 0x80
push 2
push ebp
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x4c], eax
jne 0x422fcf
lea ecx, [esp + 0x3c]
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_]
mov eax, 5
jmp 0x423103
mov ecx, dword [esi + 0x48]
cmp dword [ecx + 0x198], ebp
je 0x42304f
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], ebp
jbe 0x42304f
push eax
lea ecx, [esp + 0x5c]
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__]
push str._GMT
lea ecx, [esp + 0x5c]
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__::operator_char_const__]
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x42300c
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x14]
call fcn.0043af70
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.0043b040
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esi + 0x4c]
lea edx, [esp + 0x18]
push edx
push ebp
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esi + 0x20]
or ecx, dword [esi + 0x24]
jne 0x423068
lea ecx, [esp + 0x3c]
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_]
xor eax, eax
jmp 0x423103
cmp dword [ebx + 0x18], 8
jb 0x423070
mov edi, dword [edi]
push edi
call fcn.0042a7f0
add esp, 4
test eax, eax
jne 0x4230cf
mov eax, dword [esi + 0x24]
cmp eax, ebp
mov ecx, dword [esi + 0x20]
jl 0x4230cf
jg 0x423091
cmp ecx, 0xa00000
jb 0x4230cf
cmp eax, ebp
jl 0x4230ad
jg 0x42309c
cmp ecx, 0xffffffff
jb 0x4230ad
lea ecx, [esp + 0x3c]
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_]
mov eax, 7
jmp 0x423103
lea edx, [esp + 0x18]
push edx
push ebp
push esi
push 0x4218d0
push ebp
push ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x70], eax
mov esi, 3
jmp 0x4230f7
mov ecx, dword [esi + 0x4c]
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push ebp
push ebp
push ebp
push 0x900c4
push ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, esi
call fcn.00421670
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
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_]
mov eax, esi
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004451f4
add esp, 0x270
ret 0x24