Function at 0x4b6ab0
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x46
push 0
push 0
dec ecx
jne 0x4b6ab8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b70d1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4b6ae3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404814
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x39], 0
je 0x4b6b15
push 0x6054b50
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x4a]
mov eax, dword [ebp - 4]
call fcn.004b45ac
mov byte [ebp - 0x2d], al
jmp 0x4b6b4c
push 0x6054b50
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x4a]
mov eax, dword [ebp - 4]
call fcn.004b45ac
test al, al
jne 0x4b6b47
push 0x6054141
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x4a]
mov eax, dword [ebp - 4]
call fcn.004b45ac
test al, al
jne 0x4b6b47
xor eax, eax
jmp 0x4b6b49
mov al, 1
mov byte [ebp - 0x2d], al
cmp byte [ebp - 0x2d], 0
jne 0x4b6b6b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bc10
jmp 0x4b6b91
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bc10
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [ebp - 0x28]
call fcn.004047d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bbf0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bc74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bbf0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x44], 0xffff
jge 0x4b6bea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x44]
mov edx, dword [ebp - 4]
mov word [edx + 0x6e], ax
jmp 0x4b6c02
mov eax, dword [ebp - 4]
mov word [eax + 0x6e], 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4218
dec eax
test eax, eax
jl 0x4b6e3c
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
add eax, 0x1e
push eax
push ebp
mov eax, dword [ebp - 0xc]
call fcn.004b6834
pop ecx
pop edx
mov word [edx], ax
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x44
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
movzx ebx, word [eax + 0x1e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov eax, dword [eax + 0x2e]
call fcn.00404a3c
add ebx, eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x2e
call fcn.004bbf64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov edx, dword [eax + 0x2e]
lea eax, [ebp - 0x14b]
call fcn.00409e14
lea eax, [ebp - 0x14b]
push eax
lea eax, [ebp - 0x14b]
push eax
call sub.user32.dll_CharToOemA
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0x6054141
je 0x4b6cf7
lea ecx, [ebp - 0x1bc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b3ffc
cmp word [ebp - 0x1b6], 0x4114
jne 0x4b6d58
lea ecx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b3ffc
mov ax, word [ebp - 0x224]
and ax, 1
cmp ax, 1
jne 0x4b6d58
lea edx, [ebp - 0x230]
mov eax, 0x6054141
call fcn.0040914c
mov eax, dword [ebp - 0x230]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov eax, dword [eax + 0x2e]
call fcn.00404a3c
mov ecx, eax
lea edx, [ebp - 0x14b]
mov al, 1
call fcn.004b28bc
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x44
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov eax, dword [eax + 0x2e]
call fcn.00404a3c
mov ecx, eax
lea edx, [ebp - 0x14b]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004bbf64
push ebp
mov eax, dword [ebp - 0xc]
call fcn.004b6910
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
movzx eax, word [eax + 0x20]
inc eax
call fcn.00408944
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4b6e29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
mov edx, dword [eax + 0x36]
mov eax, dword [ebp - 0x24]
call fcn.00409e14
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x44
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004b4058
movzx ecx, word [eax + 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004bbf64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6e30
mov eax, dword [ebp - 0x24]
call fcn.004027a8
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bbf0
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4218
cmp eax, 0xffff
jge 0x4b6e79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4218
mov edx, dword [ebp - 4]
mov word [edx + 0x70], ax
jmp 0x4b6e82
mov eax, dword [ebp - 4]
mov word [eax + 0x70], 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4218
cmp eax, 0xffff
jge 0x4b6ea8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004b4218
mov edx, dword [ebp - 4]
mov word [edx + 0x72], ax
jmp 0x4b6eb1
mov eax, dword [ebp - 4]
mov word [eax + 0x72], 0xffff
cmp dword [ebp - 0x1c], 0
jne 0x4b6ebf
cmp dword [ebp - 0x20], 0xffffffff
jae 0x4b6ecc
jmp 0x4b6ec1
jge 0x4b6ecc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x74], edx
jmp 0x4b6ed6
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0xffffffff
cmp dword [ebp - 0x14], 0
jne 0x4b6ee4
cmp dword [ebp - 0x18], 0xffffffff
jae 0x4b6ef1
jmp 0x4b6ee6
jge 0x4b6ef1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x78], edx
jmp 0x4b6efb
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00404a3c
mov edx, dword [ebp - 4]
mov word [edx + 0x7c], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x44], 0xffff
jge 0x4b6f2f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ax, word [eax + 0x44]
mov edx, dword [ebp - 4]
mov word [edx + 0x6c], ax
jmp 0x4b6f47
mov eax, dword [ebp - 4]
mov word [eax + 0x6c], 0xffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041bbf0
cmp edx, 0
jne 0x4b6f5e
cmp eax, 0xffffffff
jb 0x4b6f74
jmp 0x4b6f60
jl 0x4b6f74
push ebp
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004b66f8
pop ecx
push ebp
call fcn.004b67ec
pop ecx
mov eax, dword [ebp - 4]
lea edx, [eax + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, 0x16
call fcn.0041be54
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x4b6ff1
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x7c]
inc eax
call fcn.00408944
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4b6fea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00409e14
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x7c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0041be54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6ff1
mov eax, dword [ebp - 0x24]
call fcn.004027a8
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x7b], 0
je 0x4b7095
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x3c]
call fcn.00404b88
je 0x4b7095
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.004039a8
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x3c]
call fcn.00404814
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
or ecx, 0xffffffff
call fcn.004bb86c
mov eax, dword [ebp - 0x2c]
call fcn.00404c3c
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x2c]
call fcn.004097dc
push 0x42
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x417318]
call fcn.0041c0a4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b70d8
lea eax, [ebp - 0x230]
call fcn.0040477c
lea eax, [ebp - 0x22c]
mov edx, dword [0x4b1ff8]
mov ecx, 2
call fcn.00405250
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004047a0
ret