Function at 0x425370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x481d42
push eax
mov dword fs:[0], esp
sub esp, 0x498
push esi
push edi
push 0
call fcn.00416680
push 0x208
lea eax, [ebp - 0x4a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x4a4]
push 0x104
push eax
call fcn.004303b0
add esp, 0x18
test al, al
jne 0x4253e6
push str.Couldnt_resolve_own_module_path__unicode__n
push 0
call fcn.00428c40
add esp, 8
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4a4]
push eax
push str.Rootpath_is__ls_n
push 0
call fcn.00428c40
push str.WINDIR
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push 0
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wdupenv_s]
add esp, 0x18
test eax, eax
jne 0x425dfd
cmp dword [ebp - 0x24], eax
je 0x425dfd
lea ecx, [ebp - 0x4a4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425430
sub ecx, edx
lea eax, [ebp - 0x4a4]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4ad018
call fcn.00424470
push dword [ebp - 0x24]
lea ecx, [ebp - 0x5c]
call fcn.00406c60
mov ecx, dword [ebp - 0x48]
mov eax, ecx
mov edi, dword [ebp - 0x4c]
sub eax, edi
mov dword [ebp - 4], 0
cmp eax, 0x13
jb 0x42549e
cmp ecx, 7
lea esi, [ebp - 0x5c]
lea eax, [edi + 0x13]
cmova esi, dword [ebp - 0x5c]
push 0x26
mov dword [ebp - 0x4c], eax
push str.System32_ntdll.dll
lea eax, [esi + edi*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 0x26], ax
jmp 0x4254b2
push 0x13
push str.System32_ntdll.dll
push dword [ebp - 0x18]
lea ecx, [ebp - 0x5c]
push 0x13
call fcn.00408c10
push str.Launching_PDB_thread_s__n
push 0
call fcn.00428c40
lea eax, [ebp - 0x74]
push eax
call fcn.00421de0
add esp, 0xc
push 0xf
push str.x86wntdll.pdb
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406d90
mov edx, eax
cmp dword [edx + 0x14], 0xf
jbe 0x4254e6
mov edx, dword [edx]
mov ecx, edx
mov byte [ebp - 0x10], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4254f0
push dword [ebp - 0x10]
sub ecx, esi
lea eax, [ebp - 0x3c]
push ecx
push edx
push eax
call fcn.0041f690
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
call fcn.00424c60
add esp, 0x14
lea ecx, [ebp - 0x3c]
call fcn.00406c00
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0
call fcn.00406e70
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 1
push eax
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 1
push eax
lea eax, [ebp - 0x12]
mov byte [ebp - 0x12], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x4ad018
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x40], 0x7ab410
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0x42c360
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.0041fbd0
add esp, 0x28
mov byte [ebp - 0x18], 0
mov ecx, dword [eax]
mov dword [eax], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov ecx, section..data
push eax
call fcn.00421450
mov ecx, dword [ebp - 0x1c]
or edi, 0xffffffff
test ecx, ecx
je 0x4255bf
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4255bf
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4255b9
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4255bd
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4255e3
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4255e3
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4255dd
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4255e1
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push str.Launching_import_resolver_thread_n
push 0
call fcn.00428c40
push 0xb0
mov dword [ebp - 0x44], 0x7ab638
mov dword [ebp - 0x40], 0x416820
call fcn.00435d4d
add esp, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x42562d
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0041efc0
mov esi, eax
jmp 0x42562f
xor esi, esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
test esi, esi
je 0x425e32
lea ecx, [esi + 4]
lock inc dword [ecx]
mov byte [ebp - 4], 0
mov eax, edi
lock xadd dword [ecx], eax
jne 0x42566c
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x425664
mov eax, dword [ecx]
push esi
jmp 0x42566a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
mov ecx, 0x4ad010
mov byte [ebp - 0x18], 0
call fcn.00421450
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4256a4
lock xadd dword [ecx + 4], edi
dec edi
jne 0x4256a4
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x42569e
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4256a2
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x7ab5fc], eax
test eax, eax
jne 0x4256d5
call esi
push eax
push str.Failed_to_create_event__1_:__08X_n
push 0
call fcn.00428c40
add esp, 0xc
push 0
push 0
push 1
push 0
call edi
mov dword [0x7ab4e8], eax
test eax, eax
jne 0x4256fa
call esi
push eax
push str.Failed_to_create_event__2_:__08X_n
push 0
call fcn.00428c40
add esp, 0xc
push 0
push 0
push 1
push 0
call edi
mov dword [0x7ab4ec], eax
test eax, eax
jne 0x42571f
call esi
push eax
push str.Failed_to_create_event__3_:__08X_n
push 0
call fcn.00428c40
add esp, 0xc
push 0
push 0
push 1
push 0
call edi
mov dword [0x7ab53c], eax
test eax, eax
jne 0x425744
call esi
push eax
push str.Failed_to_create_event__4_:__08X_n
push 0
call fcn.00428c40
add esp, 0xc
call sym.Superman_loader.exe_GetSymbolState
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x425760
push 0xa
call esi
call sym.Superman_loader.exe_GetSymbolState
test eax, eax
jne 0x425753
call sym.Superman_loader.exe_GetImportState
test eax, eax
je 0x42577d
nop dword [eax]
push 0xa
call esi
call sym.Superman_loader.exe_GetImportState
test eax, eax
jne 0x425770
push str.____ntdll_pdb_loaded_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004134f0
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xf
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.sc_stop_HookDrv]
movq qword [ecx], xmm0
mov eax, dword [0x4936f0]
mov dword [ecx + 8], eax
mov ax, word [0x4936f4]
mov word [ecx + 0xc], ax
mov al, byte [0x4936f6]
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], 0
call fcn.004265d0
mov esi, esp
mov dword [ebp - 0x10], 0x1f
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00416190
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [esi], eax
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.sc_delete_HookDrv]
movups xmmword [eax], xmm0
mov cl, byte [0x493708]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
call fcn.004265d0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
push 0x49370c
call edi
mov byte [ebp - 0x18], 0
lea eax, [ebp - 0x3c]
push dword [ebp - 0x18]
push 0xe
push 0x49370c
push eax
call fcn.0041f690
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
call fcn.00424c60
add esp, 0x14
mov byte [ebp - 0x12], al
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00406c00
cmp byte [ebp - 0x12], 0
jne 0x425998
push str.C:HookDrv.sys
lea ecx, [ebp - 0x3c]
call fcn.00406c60
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
push 1
cmova eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x124]
push 0x40
push 0x22
push eax
mov byte [ebp - 4], 6
call fcn.00420350
push 0
push 0x2f70
push 0x490358
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::operator__void_const]
lea ecx, [ebp - 0x120]
test al, al
je 0x42590e
call fcn.0041d5c0
test eax, eax
jne 0x4258fd
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x124]
call fcn.00421620
mov byte [ebp - 0x11], 0
jmp 0x42593f
call fcn.0041d5c0
test eax, eax
jne 0x425930
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x124]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x124]
call fcn.00421620
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x42597f
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425975
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425975
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
cmp byte [ebp - 0x11], 0
je 0x425b22
push str.___Driver_buffer_created_into_image
push 0
call fcn.00428c40
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x10], 0x3f
mov esi, esp
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movups xmmword [esi], xmm0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00416190
mov ecx, dword [ebp - 0x10]
mov edx, eax
mov dword [esi], edx
add esp, 8
mov dword [esi + 0x10], 0x35
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.sc_create_HookDrv_binpathC:HookDrv.sys_typefilesys]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x493774]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x493784]
movups xmmword [edx + 0x20], xmm0
mov eax, dword [0x493794]
mov dword [edx + 0x30], eax
mov al, byte [0x493798]
mov byte [edx + 0x34], al
mov byte [edx + 0x35], 0
call fcn.004265d0
mov esi, esp
mov dword [ebp - 0x10], 0x1f
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00416190
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.sc_start_HookDrv]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
call fcn.004265d0
mov eax, dword [0x69bb1c]
add esp, 0x18
cmp eax, 1
jne 0x425b2c
mov esi, dword [ebp + 8]
push 0x4937b0
push esi
call fcn.00421e40
add esp, 8
test eax, eax
jne 0x425b4e
push 0x207
push eax
mov byte [ebp - 0x29c], al
lea eax, [ebp - 0x29b]
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x94], esi
push eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 3
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x78], 0
call fcn.00421de0
add esp, 0x10
push 9
push str._bsae.dll
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.00406d90
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x29c]
cmova ecx, dword [ebp - 0x3c]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x425b10
jmp 0x425ce1
mov esi, 5
jmp 0x425bfa
cmp eax, 2
jne 0x425cf9
mov esi, dword [ebp + 8]
push 0x4937d0
push esi
call fcn.00421e40
add esp, 8
test eax, eax
je 0x425c48
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xf
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.sc_stop_HookDrv]
movq qword [ecx], xmm0
mov eax, dword [0x4936f0]
mov dword [ecx + 8], eax
mov ax, word [0x4936f4]
mov word [ecx + 0xc], ax
mov al, byte [0x4936f6]
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], 0
call fcn.004265d0
mov esi, esp
mov dword [ebp - 0x10], 0x1f
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00416190
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [esi], eax
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.sc_delete_HookDrv]
movups xmmword [eax], xmm0
mov cl, byte [0x493708]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
call fcn.004265d0
add esp, 0x18
push 0x49370c
call edi
mov esi, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x425c36
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425c2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425c2c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x207
lea eax, [ebp - 0x29b]
mov byte [ebp - 0x29c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x94], esi
push eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 3
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x78], 0
call fcn.00421de0
add esp, 0x10
push 0xb
push str.helper.dll
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.00406d90
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x29c]
cmova ecx, dword [ebp - 0x3c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x425cd4
lea eax, [ebp - 0x29c]
push eax
call sym.Superman_loader.exe_InjectA
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.00406e70
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xf
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.sc_stop_HookDrv]
movq qword [ecx], xmm0
mov eax, dword [0x4936f0]
mov dword [ecx + 8], eax
mov ax, word [0x4936f4]
mov word [ecx + 0xc], ax
mov al, byte [0x4936f6]
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], 0
call fcn.004265d0
mov esi, esp
mov dword [ebp - 0x10], 0x1f
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00416190
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [esi], eax
mov dword [esi + 0x10], 0x11
mov dword [esi + 0x14], ecx
movups xmm0, xmmword [str.sc_delete_HookDrv]
movups xmmword [eax], xmm0
mov cl, byte [0x493708]
mov byte [eax + 0x10], cl
mov byte [eax + 0x11], 0
call fcn.004265d0
add esp, 0x18
push 0x49370c
call edi
push str.DllMain_exit_n
push 0
call fcn.00428c40
mov ecx, dword [ebp - 0x48]
add esp, 8
cmp ecx, 7
jbe 0x425deb
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425de1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x425de1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Couldnt_resolve___WINDIR___n
push 0
call fcn.00428c40
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
je 0x425e1d
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, 3
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.004175f0
int3