Function at 0x41d280
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2c24
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], ecx
push 8
mov ecx, dword [ebp - 0xb4]
call fcn.0041afa0
lea ecx, [ebp - 0x14]
call fcn.0047f810
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 0x2ac
call fcn.00435230
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x41d2ed
lea ecx, [ebp - 0x14]
call fcn.00496880
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0xb4]
add ecx, 0x2ac
call fcn.0040c9a0
push eax
lea ecx, [ebp - 0x14]
call fcn.0047f720
movzx ecx, al
test ecx, ecx
je 0x41d587
lea ecx, [ebp - 0x14]
call fcn.00406340
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
call fcn.00412450
movzx eax, al
test eax, eax
je 0x41d582
push 9
mov ecx, dword [ebp - 0x18]
call fcn.00408120
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x41d361
push 0xc
mov ecx, dword [ebp - 0x18]
call fcn.004084e0
movzx edx, al
test edx, edx
je 0x41d582
push str.Captions_SearchingRepairFile
lea ecx, [ebp - 0x68]
call fcn.004b3550
mov dword [ebp - 4], 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.0041b330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.004b3860
mov ecx, dword [ebp - 0x18]
call fcn.00435950
mov ecx, eax
call fcn.004553f0
push eax
lea ecx, [ebp - 0x28]
call fcn.004553f0
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.004b4d50
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 3
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.0041aea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
call fcn.004b3860
movzx edx, byte [ebp - 0x19]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.004262d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00404b70
test eax, eax
jne 0x41d467
mov ecx, dword [ebp - 0x18]
call fcn.00435950
mov ecx, eax
call fcn.004553f0
push eax
push str.WARNING:_Did_not_find_a_white_listed_repair_file_for:__s_r_n
call fcn.0054eca8
add esp, 8
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00412490
mov ecx, dword [ebp - 0x18]
call fcn.00407f90
movzx edx, al
test edx, edx
je 0x41d462
push 8
mov ecx, dword [ebp - 0x18]
call fcn.00408850
mov ecx, eax
call fcn.0040fa60
jmp 0x41d567
lea ecx, [ebp - 0x34]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00435950
mov ecx, eax
call fcn.004553f0
push eax
push str._tRepair_file_found__r_nBad:_t_ws_r_nReplace_t_s_r_n
call fcn.0054eca8
add esp, 0xc
mov ecx, dword [ebp - 0x18]
call fcn.00408050
movzx eax, al
test eax, eax
je 0x41d4af
lea ecx, [ebp - 0x34]
push ecx
push 0xb
mov ecx, dword [ebp - 0x18]
call fcn.00412a00
jmp 0x41d567
mov byte [ebp - 0x39], 0
push 0
push 0x80
push 3
push 0
push 7
push 0
lea ecx, [ebp - 0x34]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x41d541
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x41d537
mov ecx, dword [ebp - 0x18]
call fcn.004b7130
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0xc4]
jne 0x41d524
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xc0]
jne 0x41d524
mov dword [ebp - 0xc8], 1
jmp 0x41d52e
mov dword [ebp - 0xc8], 0
mov cl, byte [ebp - 0xc8]
mov byte [ebp - 0x39], cl
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x41d559
lea ecx, [ebp - 0x34]
push ecx
push 0xb
mov ecx, dword [ebp - 0x18]
call fcn.00412a00
jmp 0x41d567
lea edx, [ebp - 0x34]
push edx
push 0xa
mov ecx, dword [ebp - 0x18]
call fcn.00412a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b3860
jmp 0x41d2e5
mov ecx, dword [ebp - 0xb4]
call fcn.0041d950
movzx eax, al
test eax, eax
je 0x41d74e
push 0
push str.SOFTWAREHitman_Pro
call fcn.00414b30
mov ecx, eax
call fcn.00414830
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
push ecx
push str.NoRestorePoint
mov ecx, dword [ebp - 0x48]
call fcn.00414450
cmp dword [ebp - 0x4c], 0
jne 0x41d74e
cmp dword [0x643690], 0
jne 0x41d74e
push str.Captions_CreatingRestorePoint
lea ecx, [ebp - 0x80]
call fcn.004b3550
mov dword [ebp - 4], 5
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.0041b330
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 6
push ecx
fldz
fstp dword [esp]
mov edx, dword [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0041aea0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004b3860
mov ecx, dword [ebp - 0xb4]
call fcn.0041d770
test eax, eax
jle 0x41d74e
push str.Captions_RestorePointFailed
lea ecx, [ebp - 0xa4]
call fcn.004b3550
mov dword [ebp - 4], 7
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx + 0x1e4]
call fcn.004b89e0
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 8
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.0041b330
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 9
push 0x40
mov ecx, dword [ebp - 0xd8]
call fcn.004553f0
push eax
mov ecx, dword [ebp - 0xe0]
call fcn.004553f0
push eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x1e4]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb0]
call fcn.004b3860
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.004b3860
push 9
mov ecx, dword [ebp - 0xb4]
call fcn.0041afa0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret