Function at 0x440150
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.00441930
lea ecx, [ebp - 0x30]
call fcn.004410f0
lea ecx, [ebp - 0x30]
push ecx
push 3
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4401c8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x30]
call fcn.00441110
mov eax, dword [ebp - 0x15c]
jmp 0x4407c8
lea ecx, [ebp - 0x1c]
call fcn.004415f0
movzx ecx, word [ebp - 0x30]
test ecx, ecx
jne 0x4401e9
mov edx, dword [0x565110]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004416d0
jmp 0x440223
movzx eax, word [ebp - 0x30]
cmp eax, 8
je 0x440217
mov dword [ebp - 0x160], 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.004416a0
lea ecx, [ebp - 0x30]
call fcn.00441110
mov eax, dword [ebp - 0x160]
jmp 0x4407c8
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004416d0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00441720
lea ecx, [ebp - 0x1c]
call fcn.004416a0
lea ecx, [ebp - 0x30]
call fcn.00441110
cmp dword [ebp + 0x14], 0
je 0x44024f
xor eax, eax
jmp 0x4407c8
lea ecx, [ebp - 0x48]
call fcn.004410f0
lea eax, [ebp - 0x48]
push eax
push 9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18]
call ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x44029a
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x164], edx
lea ecx, [ebp - 0x48]
call fcn.00441110
mov eax, dword [ebp - 0x164]
jmp 0x4407c8
movzx eax, word [ebp - 0x48]
test eax, eax
jne 0x4402b5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x74], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x79], 0
jmp 0x4402eb
movzx eax, word [ebp - 0x48]
cmp eax, 0x13
je 0x4402db
mov dword [ebp - 0x168], 0x80004005
lea ecx, [ebp - 0x48]
call fcn.00441110
mov eax, dword [ebp - 0x168]
jmp 0x4407c8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x74], edx
mov eax, dword [ebp + 8]
mov byte [eax + 0x79], 1
lea ecx, [ebp - 0x48]
call fcn.00441110
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004413a0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x44031e
mov eax, dword [ebp - 0x50]
jmp 0x4407c8
lea ecx, [ebp - 0x60]
call fcn.004410f0
lea edx, [ebp - 0x60]
push edx
push 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x440369
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x16c], ecx
lea ecx, [ebp - 0x60]
call fcn.00441110
mov eax, dword [ebp - 0x16c]
jmp 0x4407c8
mov edx, dword [ebp + 8]
mov byte [edx + 0x7a], 0
movzx eax, word [ebp - 0x60]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x44038e
cmp dword [ebp - 0x1a0], 0x40
je 0x440390
jmp 0x4403a8
jmp 0x4403c5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x6c], edx
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0x70], eax
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x7a], 1
jmp 0x4403c5
mov dword [ebp - 0x170], 0x80004005
lea ecx, [ebp - 0x60]
call fcn.00441110
mov eax, dword [ebp - 0x170]
jmp 0x4407c8
lea ecx, [ebp - 0x60]
call fcn.00441110
lea ecx, [ebp - 0x80]
call fcn.004410f0
lea edx, [ebp - 0x80]
push edx
push 7
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x440421
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x174], ecx
lea ecx, [ebp - 0x80]
call fcn.00441110
mov eax, dword [ebp - 0x174]
jmp 0x4407c8
movzx edx, word [ebp - 0x80]
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x65], dl
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x440448
lea ecx, [ebp - 0x80]
push ecx
call fcn.00467830
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x80]
call fcn.00441110
push 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.004417c0
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x4404c2
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00441780
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.004421b0
add esp, 0xc
mov ecx, eax
call fcn.0046ade0
push eax
call fcn.004639d0
add esp, 4
lea ecx, [ebp - 0x18c]
call fcn.004416a0
lea ecx, [ebp - 0x180]
call fcn.004416a0
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.004421b0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.00441720
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x10]
call fcn.00427f00
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.004418f0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x78]
test eax, eax
je 0x440594
lea ecx, [ebp - 0xc0]
call fcn.00441130
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0xc0]
call fcn.00464dc0
movzx ecx, al
test ecx, ecx
je 0x440573
lea ecx, [ebp - 0xc0]
call fcn.004410b0
movzx edx, al
test edx, edx
jne 0x440571
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
call fcn.004639d0
add esp, 4
jmp 0x440584
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
call fcn.004639d0
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00441150
jmp 0x4407a8
push 0x18
call fcn.004fff64
add esp, 4
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x4405c0
mov ecx, dword [ebp - 0x194]
call fcn.00441170
mov dword [ebp - 0x1a4], eax
jmp 0x4405ca
mov dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x190]
mov dword [ecx + 0x7c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004419b0
push 2
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7c]
call fcn.00441070
movzx eax, al
test eax, eax
jne 0x440778
xor ecx, ecx
mov word [ebp - 0x148], cx
push 0x7e
push 0
lea edx, [ebp - 0x146]
push edx
call fcn.00500270
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x533cb4
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00442230
add esp, 0xc
lea ecx, [ebp - 0x154]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x440741
push 2
lea ecx, [ebp - 0x154]
call fcn.0046ade0
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x7c]
call fcn.00441070
movzx edx, al
test edx, edx
jne 0x4406e5
mov dword [ebp - 0x198], 0
lea ecx, [ebp - 0x154]
call fcn.004416a0
lea ecx, [ebp - 0xc4]
call fcn.004d1a40
lea ecx, [ebp - 0x10]
call fcn.004458f0
lea ecx, [ebp - 0xc]
call fcn.004416a0
mov eax, dword [ebp - 0x198]
jmp 0x4407c8
lea ecx, [ebp - 0x154]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x158]
call fcn.00427f00
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.004418f0
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x158]
call fcn.00427f80
lea ecx, [ebp - 0x158]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.004418f0
lea ecx, [ebp - 0x158]
call fcn.004458f0
jmp 0x44076d
push 4
push 0
lea ecx, [ebp - 0x154]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
lea ecx, [ebp - 0xc]
call fcn.0046ade0
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x7c]
call fcn.00441070
lea ecx, [ebp - 0x154]
call fcn.004416a0
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.00441960
lea ecx, [ebp - 0xc4]
call fcn.00441980
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0xc4]
call fcn.004d1a40
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x10]
call fcn.004458f0
lea ecx, [ebp - 0xc]
call fcn.004416a0
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0xc8]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret 0x10