Function at 0x4334ca
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e95a2
call fcn.004b48a0
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], esi
call fcn.00449480
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.00456550
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x10], 8
and eax, 0xfffffff7
push 0x4f05cc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], eax
call fcn.00456550
mov byte [ebp - 4], 2
call fcn.004217f7
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 0x433596
push 0x98
call fcn.004cc845
pop ecx
mov dword [ebp - 0x4c], eax
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x433582
push ebx
push esi
mov ecx, eax
call fcn.00432f6c
jmp 0x433584
xor eax, eax
push dword [ebp - 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0041fdaf
jmp 0x43359d
mov dword [ebp - 0x40], 0x100000
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00456550
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.004a2600
mov eax, dword [ebp - 0x34]
add esp, 0xc
cmp eax, ebx
je 0x4335cd
mov word [eax - 2], bx
push dword [ebp - 0x1c]
mov ecx, esi
push 0x4f5cf0
call fcn.00448c80
mov ax, word [ebp - 0x14]
push edi
mov ecx, esi
mov word [esi + 8], ax
call fcn.004480a0
mov eax, dword [ebp - 0x58]
mov cx, word [ebp - 0x14]
mov edi, dword [ebp - 0x2c]
xor word [eax], cx
cmp word [edi], 0x23
jne 0x433664
lea ecx, [ebp - 0x64]
call fcn.00449290
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 [0x51d1cc]
mov byte [ebp - 4], 6
call fcn.00423fea
mov eax, dword [ebp - 0x24]
or dword [ebp - 0x10], eax
add esp, 0x14
cmp dword [ebp - 0x60], ebx
jle 0x433656
mov eax, dword [ebp - 0x10]
or eax, 1
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004a7430
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.00443880
jmp 0x433699
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push esi
push eax
push edi
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00430d32
add esp, 0x18
cmp eax, 0xffffffff
jne 0x43368c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43383a
and eax, 2
or dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x18], ebx
jne 0x4336b3
push str.PeExe
push dword [ebp - 0x28]
push 0x51d2a0
call fcn.0044bf50
add esp, 0xc
push ebx
lea ecx, [ebp - 0x30]
call fcn.00456630
mov eax, dword [ebp - 0x58]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x4336d3
cmp dword [ebp - 0x18], ebx
je 0x4336ed
push 2
pop esi
jmp 0x43383a
push dword [ebp - 0x14]
push dword [ebp - 0x58]
call fcn.004217de
cmp eax, ebx
pop ecx
pop ecx
jg 0x43370e
cmp dword [ebp - 0x18], ebx
jne 0x433838
push 8
lea ecx, [ebp - 0x58]
call fcn.004494e0
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 0x4336d3
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.00421852
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, 0x4f5cf0
push eax
mov ecx, esi
call fcn.00448c80
cmp dword [ebp + 0x10], ebx
je 0x433755
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x24], ebx
jne 0x433762
xor esi, esi
inc esi
jmp 0x43383a
cmp byte [0x5192f0], bl
mov eax, dword [ebp - 0x58]
mov dword [ebp + 0x10], eax
jge 0x433777
mov byte [0x5192f0], 1
cmp dword [ebp - 0x18], ebx
je 0x4337b3
push dword [ebp + 0xc]
lea eax, [ebp - 0x58]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x28]
call fcn.00431197
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.0042188b
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 0x4337da
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.0049f430
jmp 0x433838
test byte [0x51d380], 1
jne 0x4337fb
or dword [0x51d380], 1
push 0x4ee67a
mov dword [0x51d37c], ebx
call fcn.004b4081
pop ecx
push dword [ebp - 0x24]
mov edi, 0x51d37c
mov ecx, edi
call fcn.004867a0
mov dword [esi + 0x40], edi
mov eax, dword [0x51d37c]
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.004480a0
push ebx
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0042829a
xor esi, esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00443880
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004334ac
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00443880
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00443880
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14