Function at 0x402bd4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd64
mov eax, 0x4c86d0
push ebx
push esi
push edi
call fcn.00480638
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004022dc
add esp, 8
mov esi, eax
mov ax, word [0x4c8642]
mov word [ebp - 0x27f], ax
mov al, byte [0x4c8644]
mov byte [ebp - 0x27d], al
call fcn.004029c0
mov ebx, eax
push ebx
call fcn.00402a4c
pop ecx
mov dword [ebp - 0x284], eax
push ebx
call fcn.004029e4
pop ecx
mov edi, eax
push ebx
call fcn.0047e448
pop ecx
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.004028bc
add esp, 0xc
push edi
call fcn.0047e448
pop ecx
lea edx, [ebp - 0x27f]
push edx
call fcn.00480314
pop ecx
mov edi, eax
mov dword [ebp - 0x288], 5
mov eax, dword [ebp - 0x288]
add eax, edi
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
push edx
call fcn.0047e610
pop ecx
mov ebx, eax
push edi
lea eax, [ebp - 0x27f]
push eax
push ebx
call fcn.004801c4
add esp, 0xc
mov edx, dword [ebp - 0x288]
mov eax, edi
add eax, ebx
push edx
mov ecx, dword [ebp - 0x284]
push ecx
push eax
call fcn.004801c4
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push esi
add edi, ebx
add edi, dword [ebp - 0x288]
push edi
call fcn.004801c4
add esp, 0xc
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.0047e448
pop ecx
push esi
call fcn.0047e448
pop ecx
mov word [ebp - 0x26c], 8
lea eax, [ebp - 0x78]
mov dword [ebp - 0x128], eax
lea edx, [ebp - 0x78]
push edx
call fcn.004032cc
pop ecx
add dword [ebp - 0x260], 7
push 0
push 1
lea ecx, [ebp - 0x128]
push ecx
call fcn.00403338
add esp, 0xc
mov eax, 0x4c8d80
inc dword [ebp - 0x260]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x128]
mov edx, 0x4c8d8c
lea eax, [ebp - 0x120]
mov dword [ecx], edx
push eax
call fcn.004033c0
pop ecx
lea edx, [ebp - 0x120]
add dword [ebp - 0x260], 4
push edx
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004035e8
add esp, 8
inc dword [ebp - 0x260]
mov word [ebp - 0x26c], 0x20
mov word [ebp - 0x26c], 0x2c
push 0x10
push str.oooooooo
lea eax, [ebp - 0xdc]
push eax
call fcn.004a4edc
add esp, 0xc
test al, al
je 0x402d96
lea edx, [ebp - 0x120]
jmp 0x402d98
xor edx, edx
test edx, edx
jne 0x402dd5
mov esi, dword [ebp - 0x128]
mov edi, dword [esi + 8]
or edi, 4
cmp dword [esi + 0x6c], 0
je 0x402db2
mov eax, edi
jmp 0x402db7
mov eax, edi
or eax, 1
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
mov dword [esi + 8], edx
mov ecx, dword [esi + 8]
and ecx, dword [esi + 0x14]
je 0x402dd5
push esi
call fcn.004a0ca8
pop ecx
mov eax, 0x4025a0
push eax
lea edx, [ebp - 0x128]
push edx
call fcn.00403950
add esp, 8
push eax
call fcn.00403148
pop ecx
lea ecx, [ebp - 0x120]
push ecx
call fcn.00403c70
pop ecx
test eax, eax
jne 0x402e3b
mov esi, dword [ebp - 0x128]
mov edi, dword [esi + 8]
or edi, 4
cmp dword [esi + 0x6c], 0
je 0x402e18
mov eax, edi
jmp 0x402e1d
mov eax, edi
or eax, 1
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [esi + 8], edx
mov ecx, dword [esi + 8]
and ecx, dword [esi + 0x14]
je 0x402e3b
push esi
call fcn.004a0ca8
pop ecx
mov word [ebp - 0x26c], 0x38
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x258], eax
lea edx, [ebp - 0x1a0]
push edx
call fcn.004032cc
pop ecx
add dword [ebp - 0x260], 7
mov ecx, 0x4c8d48
mov dword [ebp - 0x254], ecx
mov eax, 0x4c8d54
mov edx, dword [ebp - 0x258]
mov dword [edx], eax
xor ecx, ecx
mov dword [ebp - 0x250], ecx
push 0
mov eax, dword [ebp - 0x258]
push eax
call fcn.004035e8
add esp, 8
mov edx, 0x4c8d64
inc dword [ebp - 0x260]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x258]
mov ecx, 0x4c8d70
lea edx, [ebp - 0x248]
mov dword [eax], ecx
push edx
call fcn.004033c0
pop ecx
add dword [ebp - 0x260], 4
lea ecx, [ebp - 0x248]
push ecx
mov eax, dword [ebp - 0x258]
push eax
call fcn.004035e8
add esp, 8
inc dword [ebp - 0x260]
mov word [ebp - 0x26c], 0x50
push 8
push 0x4c8654
lea edx, [ebp - 0x204]
push edx
call fcn.004a4edc
add esp, 0xc
test al, al
je 0x402f0e
lea ecx, [ebp - 0x248]
jmp 0x402f10
xor ecx, ecx
test ecx, ecx
jne 0x402f4d
mov esi, dword [ebp - 0x258]
mov edi, dword [esi + 8]
or edi, 4
cmp dword [esi + 0x6c], 0
je 0x402f2a
mov eax, edi
jmp 0x402f2f
mov eax, edi
or eax, 1
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [esi + 8], edx
mov ecx, dword [esi + 8]
and ecx, dword [esi + 0x14]
je 0x402f4d
push esi
call fcn.004a0ca8
pop ecx
push 0x4db2cc
lea eax, [ebp - 0x258]
push eax
call fcn.00403e44
add esp, 8
lea edx, [ebp - 0x248]
push edx
call fcn.00403c70
pop ecx
test eax, eax
jne 0x402fab
mov esi, dword [ebp - 0x258]
mov edi, dword [esi + 8]
or edi, 4
cmp dword [esi + 0x6c], 0
je 0x402f88
mov eax, edi
jmp 0x402f8d
mov eax, edi
or eax, 1
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
mov dword [esi + 8], edx
mov ecx, dword [esi + 8]
and ecx, dword [esi + 0x14]
je 0x402fab
push esi
call fcn.004a0ca8
pop ecx
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 4
push 2
lea eax, [ebp - 0x248]
push eax
call fcn.00404588
add esp, 8
dec dword [ebp - 0x260]
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 6
push 0
lea edx, [ebp - 0x1a0]
push edx
call fcn.004a0f34
mov word [ebp - 0x26c], 0x2c
add esp, 8
mov word [ebp - 0x26c], 0x20
jmp 0x40308d
push 0x4c8658
call sub.KERNEL32.DLL_DeleteFileA
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 4
push 2
lea edx, [ebp - 0x120]
push edx
call fcn.00404588
add esp, 8
sub dword [ebp - 0x260], 8
push 0
lea ecx, [ebp - 0x128]
push ecx
call fcn.00404634
add esp, 8
dec dword [ebp - 0x260]
sub dword [ebp - 0x260], 6
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.004a0f34
mov word [ebp - 0x26c], 0
add esp, 8
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp - 0x28c]
push eax
push ebx
call dword [0x4db2cc]
add esp, 0x10
test eax, eax
jne 0x403126
push ebx
call fcn.0047e448
pop ecx
xor eax, eax
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
jmp 0x40313f
push ebx
call fcn.0047e448
pop ecx
mov eax, 1
mov edx, dword [ebp - 0x27c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret