Function at 0x10004bc0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008453a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x538
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x544], esi
xor edx, edx
mov dword [ebp - 0x538], edx
mov byte [ebp - 0x534], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x533]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x118], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x430], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x42f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x32c], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x32b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x228], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x227]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x53c], edx
mov edi, dword [ebp + 8]
cmp edi, edx
je 0x10004cc3
lea eax, [esi + 0x9c08]
push eax
push 0x100c3620
push 0x100bc9d0
push 0x104
lea ecx, [ebp - 0x534]
push ecx
call fcn.1000f0c0
lea ebx, [esi + 0xa408]
lea edx, [esi + 0xa808]
push edx
push ebx
lea eax, [esi + 0xb408]
push eax
push 0x100bc9d8
push 0x104
lea ecx, [ebp - 0x118]
push ecx
jmp 0x10004d0b
lea edx, [esi + 0x9808]
push edx
push 0x100c3620
push 0x100bc9e4
push 0x104
lea eax, [ebp - 0x534]
push eax
call fcn.1000f0c0
lea ebx, [esi + 0xa408]
lea ecx, [esi + 0xa808]
push ecx
push ebx
lea edx, [esi + 0xb008]
push edx
push 0x100bc9ec
push 0x104
lea eax, [ebp - 0x118]
push eax
call fcn.1000f0c0
add esp, 0x2c
push ebx
push str.SYSTEMCurrentControlSetServices_s
push 0x104
lea ecx, [ebp - 0x32c]
push ecx
call fcn.1000f0c0
push ebx
push str.SYSTEMCurrentControlSetServices_sEnum
push 0x104
lea edx, [ebp - 0x228]
push edx
call fcn.1000f0c0
add esp, 0x20
test edi, edi
je 0x10004d57
lea eax, [ebp - 0x53c]
push eax
call fcn.100164c0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.100116c0
add esp, 4
test eax, eax
je 0x10004dff
lea edx, [esi + 0xb808]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.10011500
add esp, 8
test eax, eax
jne 0x10004dff
push ebx
call fcn.10012870
add esp, 4
cmp eax, 4
jne 0x10004de5
lea ecx, [esi + 4]
push ecx
push str._s_need_reboot_to_update.
push eax
call fcn.1000eeb0
push 4
call fcn.1000bbc0
push edi
lea edx, [ebp - 0x32c]
push edx
push reloc.WS2_32.dll_bind
call fcn.10010600
add esp, 0x1c
push 4
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x538], 0xffffffff
jmp 0x10004dff
push ebx
call fcn.10012ad0
add esp, 4
jmp 0x10004dff
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x538]
test ebx, ebx
jge 0x10004e38
test edi, edi
je 0x10004e23
mov ecx, dword [ebp - 0x53c]
push ecx
call fcn.100164f0
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 3
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x534]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.10010d90
add esp, 4
test edi, edi
je 0x10004e70
mov edx, dword [ebp - 0x53c]
push edx
call fcn.100164f0
add esp, 4
add esi, 0xa408
push esi
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.10012950
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.10010270
push 0x103
push str.___
lea ecx, [ebp - 0x430]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov byte [ebp - 0x32d], 0
push 0x103
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0x18
mov byte [ebp - 0x32d], 0
push 0
push edi
lea ecx, [ebp - 0x32c]
push ecx
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x124]
call fcn.100102c0
push edi
lea edx, [ebp - 0x32c]
push edx
push reloc.WS2_32.dll_bind
call fcn.10010730
push edi
lea eax, [ebp - 0x228]
push eax
push reloc.WS2_32.dll_bind
call fcn.10010730
add esp, 0x18
push esi
push 0x100bca70
lea ecx, [ebp - 0x124]
call fcn.10010350
push 0
push str.ErrorControl
lea ecx, [ebp - 0x124]
call fcn.10010330
push 0x100c33f4
push str.Group
lea ecx, [ebp - 0x124]
call fcn.10010350
lea ecx, [ebp - 0x430]
push ecx
push str.ImagePath
lea ecx, [ebp - 0x124]
call fcn.10010350
push 3
push str.Start
lea ecx, [ebp - 0x124]
call fcn.10010330
push 1
push 0x100bcaa8
lea ecx, [ebp - 0x124]
call fcn.10010330
lea ecx, [ebp - 0x124]
call fcn.10010310
lea ecx, [ebp - 0x124]
call fcn.10010280
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4