Function at 0x43130f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e52e3
call fcn.004afe60
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], esi
call fcn.00446250
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00457400
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x10], 8
and eax, 0xfffffff7
push 0x4ec544
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], eax
call fcn.00457400
mov byte [ebp - 4], 2
call fcn.0041fdbd
movzx cx, al
mov ch, al
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x48], ebx
movzx edi, cx
mov eax, edi
shl eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x14], ecx
setne al
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ebx
je 0x4313db
push 0x94
call fcn.004c86a5
pop ecx
mov dword [ebp - 0x4c], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x4313c7
push ebx
push esi
mov ecx, eax
call fcn.00430db1
jmp 0x4313c9
xor eax, eax
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0041e37b
jmp 0x4313e2
mov dword [ebp - 0x40], 0x100000
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00457400
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], ebx
call fcn.00454f50
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x431412
mov word [eax - 2], bx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x4f1b60
call fcn.004445f0
mov ax, word [ebp - 0x14]
push edi
mov ecx, esi
mov word [esi + 8], ax
call fcn.00443950
mov eax, dword [ebp - 0x58]
mov cx, word [ebp - 0x14]
mov edi, dword [ebp - 0x2c]
xor word [eax], cx
cmp word [edi], 0x23
jne 0x4314a9
lea ecx, [ebp - 0x64]
call fcn.00446060
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push str.SCRIPT
push edi
push dword [0x51907c]
mov byte [ebp - 4], 6
call fcn.00422b90
mov eax, dword [ebp - 0x24]
or dword [ebp - 0x10], eax
add esp, 0x14
cmp dword [ebp - 0x60], ebx
jle 0x43149b
mov eax, dword [ebp - 0x10]
or eax, 1
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00463e60
mov eax, dword [ebp - 0x58]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0043f290
jmp 0x4314de
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push esi
push eax
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00430326
add esp, 0x18
cmp eax, 0xffffffff
jne 0x4314d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43167f
and eax, 2
or dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x18], ebx
jne 0x4314f8
push str.PeExe
push dword [ebp - 0x28]
push 0x519150
call fcn.00448b60
add esp, 0xc
push ebx
lea ecx, [ebp - 0x30]
call fcn.004574e0
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x431518
cmp dword [ebp - 0x18], ebx
je 0x431532
push 2
pop esi
jmp 0x43167f
push dword [ebp - 0x14]
push dword [ebp - 0x58]
call fcn.0041fda4
cmp eax, ebx
pop ecx
pop ecx
jg 0x431553
cmp dword [ebp - 0x18], ebx
jne 0x43167d
push 8
lea ecx, [ebp - 0x58]
call fcn.004462b0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
mov ecx, eax
xor ecx, 0x20
mov word [edx], cx
mov ecx, dword [ebp - 0x58]
mov word [ecx + 2], ax
jmp 0x431518
movzx edi, word [ebp - 0x3c]
add eax, 2
push eax
movzx eax, word [ebp - 0x14]
xor eax, edi
push eax
push dword [ebp - 0x58]
mov dword [ebp - 0x28], edi
call fcn.0041fe18
movzx eax, word [ebp - 0x10]
add esp, 0xc
shl edi, 0x10
mov dword [esi + 0x40], ebx
push dword [ebp - 0x1c]
or edi, eax
mov eax, 0x4f1b60
push eax
mov ecx, esi
call fcn.004445f0
cmp dword [ebp + 0x10], ebx
je 0x43159a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x24], ebx
jne 0x4315a7
xor esi, esi
inc esi
jmp 0x43167f
cmp byte [0x5152d8], bl
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x10], eax
jge 0x4315bc
mov byte [0x5152d8], 1
cmp dword [ebp - 0x18], ebx
je 0x4315f8
push dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x28]
call fcn.0043078b
sub eax, dword [ebp - 0x58]
sar eax, 1
push eax
push dword [ebp - 0x38]
lea eax, [ebp - 0x58]
push dword [ebp + 0x18]
push eax
push dword [ebp - 0x28]
call fcn.0041fe51
add esp, 0x24
push eax
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x58], ebx
je 0x43161f
or edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push eax
call fcn.0049f2d0
jmp 0x43167d
test byte [0x519224], 1
jne 0x431640
or dword [0x519224], 1
push 0x4ea0f0
mov dword [0x519220], ebx
call fcn.004af401
pop ecx
push dword [ebp - 0x24]
mov edi, 0x519220
mov ecx, edi
call fcn.00485210
mov dword [esi + 0x40], edi
mov eax, dword [0x519220]
mov eax, dword [eax]
mov dword [esi + 0x44], eax
mov ax, word [ebp - 0x3c]
mov word [esi + 8], ax
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00443950
push ebx
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.00426e40
xor esi, esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0043f290
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004312f1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0043f290
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0043f290
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043f290
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14