Function at 0x10002800
Capabilities:
Accept command line arguments
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001b2aa
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100227f4]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x100227f4]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
push 0x10
xor ebx, ebx
mov esi, 0xf
push str.848afea940a853ec
lea ecx, [esp + 0x11c]
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.10004340
mov dword [esp + 0x178], ebx
cmp dword [esp + 0x128], 0x10
mov eax, dword [esp + 0x114]
jae 0x1000288e
lea eax, [esp + 0x114]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
cmp edi, ebx
je 0x100028b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100028b9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, 7
xor eax, eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], ax
xor ecx, ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
xor edx, edx
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov word [esp + 0x14c], dx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], ax
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov word [esp + 0x130], cx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], dx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xac]
push edx
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x78]
mov byte [esp + 0x184], 7
call fcn.10002290
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebx
je 0x10002a7a
cmp dword [esp + 0x10], 1
jne 0x10002a7a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0xc0]
mov esi, 8
cmp dword [esp + 0xd4], esi
jae 0x100029d2
lea ecx, [esp + 0xc0]
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0xb8], esi
jae 0x100029e9
lea eax, [esp + 0xa4]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push ecx
push eax
call edi
mov ecx, dword [esp + 0xdc]
cmp dword [esp + 0xf0], esi
jae 0x10002a0b
lea ecx, [esp + 0xdc]
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x80], esi
jae 0x10002a1c
lea eax, [esp + 0x6c]
push ebx
push ecx
push eax
call edi
cmp dword [esp + 0x9c], 0x10
mov ecx, dword [esp + 0x88]
jae 0x10002a39
lea ecx, [esp + 0x88]
call fcn.10001f70
push 0x44
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.1000a030
xor edx, edx
add esp, 0xc
lea ebx, [esp + 0x5c]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x44
mov dword [esp + 0x40], 1
mov word [esp + 0x44], dx
call fcn.10002030
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov word [esp + 0xf8], ax
push 0xb
mov eax, str.FFWallpaper
lea esi, [esp + 0xfc]
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
call fcn.100045c0
mov ecx, esi
push ecx
mov byte [esp + 0x17c], 8
call fcn.10001cc0
add esp, 4
test al, al
je 0x10002ac1
call fcn.10001c40
mov esi, 8
cmp dword [esp + 0x10c], esi
jb 0x10002adf
mov edx, dword [esp + 0xf8]
push edx
call fcn.10008ce4
add esp, 4
xor eax, eax
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], ax
jb 0x10002b11
mov ecx, dword [esp + 0x88]
push ecx
call fcn.10008ce4
add esp, 4
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0xd4], esi
jb 0x10002b43
mov edx, dword [esp + 0xc0]
push edx
call fcn.10008ce4
add esp, 4
xor eax, eax
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], ax
cmp dword [esp + 0xf0], esi
jb 0x10002b74
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.10008ce4
add esp, 4
xor edx, edx
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], dx
cmp dword [esp + 0x80], esi
jb 0x10002ba2
mov eax, dword [esp + 0x6c]
push eax
call fcn.10008ce4
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
cmp dword [esp + 0xb8], esi
jb 0x10002bcd
mov edx, dword [esp + 0xa4]
push edx
call fcn.10008ce4
add esp, 4
xor eax, eax
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], ax
jb 0x10002bff
mov ecx, dword [esp + 0x114]
push ecx
call fcn.10008ce4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.100084e0
mov esp, ebp
pop ebp
ret