Function at 0x45c2bc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x57
push 0
push 0
dec ecx
jne 0x45c2c5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0x18c], ecx
mov ebx, edx
mov esi, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4570ec]
call fcn.004054c4
lea eax, [ebp - 0x18]
mov edx, dword [0x4570ec]
call fcn.004054c4
lea eax, [ebp - 0x20]
mov edx, dword [0x4570ec]
call fcn.004054c4
lea eax, [ebp - 0x28]
mov edx, dword [0x4570ec]
call fcn.004054c4
lea eax, [ebp - 0x188]
mov edx, dword [0x4079d4]
call fcn.004054c4
xor eax, eax
push ebp
push 0x45cbf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x18d], 0
lea edx, [ebp - 0x1a4]
mov eax, esi
call fcn.00408a08
cmp dword [ebp - 0x1a4], 0
je 0x45cb52
lea edx, [ebp - 0x1a8]
mov eax, ebx
call fcn.00408a08
cmp dword [ebp - 0x1a8], 0
je 0x45cb52
lea edx, [ebp - 0x1ac]
mov eax, ebx
call fcn.00408a08
mov eax, dword [ebp - 0x1ac]
lea edx, [ebp - 0x19c]
call fcn.00408d04
test al, al
je 0x45cb52
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18c]
mov edx, ebx
mov eax, esi
call fcn.0045a27c
mov eax, dword [ebp - 4]
test eax, eax
je 0x45c3b2
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
movzx eax, word [ebp - 0x194]
xchg al, ah
movzx eax, ax
shl eax, 0x10
mov edx, dword [ebp - 0x194]
shr edx, 0x10
xchg dl, dh
movzx edx, dx
or eax, edx
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1b4]
lea ebx, [ebp - 0x194]
movzx edx, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0x1b8]
call fcn.00403460
lea eax, [ebp - 0x1bc]
mov edx, ebx
inc edx
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x1b8]
mov cl, 2
call fcn.00403430
lea edx, [ebp - 0x1b8]
lea eax, [ebp - 0x1c0]
call fcn.00403460
lea eax, [ebp - 0x1bc]
mov edx, ebx
add edx, 2
movzx edx, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x1c0]
mov cl, 3
call fcn.00403430
lea edx, [ebp - 0x1c0]
lea eax, [ebp - 0x1c8]
call fcn.00403460
lea eax, [ebp - 0x1bc]
add ebx, 3
movzx edx, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x1c8]
mov cl, 4
call fcn.00403430
lea edx, [ebp - 0x1c8]
lea eax, [ebp - 0x1b0]
call fcn.00404cb8
mov edx, dword [ebp - 0x1b0]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00404d6c
push 0x45cc14
lea ecx, [ebp - 0x1cc]
mov edx, 0x42
mov al, 0x46
call fcn.004051d8
push dword [ebp - 0x1cc]
push 0x45cc20
lea edx, [ebp - 0x1e8]
mov eax, dword [ebp - 8]
call fcn.0045a158
lea eax, [ebp - 0x1e8]
lea edx, [ebp - 0x1d4]
call fcn.0045a1d0
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.004086a0
push dword [ebp - 0x1d0]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404de8
lea edx, [ebp - 8]
mov eax, dword [ebp - 8]
call fcn.004573ec
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00457a48
lea edx, [ebp - 8]
mov eax, dword [0x46287c]
call fcn.004573ec
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00457a48
lea edx, [ebp - 8]
mov eax, dword [0x462878]
call fcn.004573ec
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00457a48
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.00459198
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.00457950
lea edx, [ebp - 8]
lea eax, [ebp - 8]
call fcn.00457510
lea eax, [ebp - 0x10]
call fcn.00457e64
lea eax, [ebp - 0x18]
call fcn.00457e64
lea eax, [ebp - 0x20]
call fcn.00457e64
lea eax, [ebp - 0x28]
call fcn.00457e64
movzx eax, byte [0x45cc24]
push eax
lea eax, [ebp - 0x1ec]
push eax
mov ecx, 0x45cc30
mov edx, 0x45cc9c
mov eax, dword [ebp - 4]
call fcn.0040da18
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 4]
call fcn.00404aec
movzx eax, byte [0x45cc24]
push eax
lea eax, [ebp - 0x1f0]
push eax
mov ecx, 0x45ccb0
mov edx, 0x45cd1c
mov eax, dword [ebp - 4]
call fcn.0040da18
mov edx, dword [ebp - 0x1f0]
lea eax, [ebp - 4]
call fcn.00404aec
movzx eax, byte [0x45cc24]
push eax
lea eax, [ebp - 0x1f4]
push eax
push 0x45cd30
push dword [ebp - 8]
push 0x45cd44
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.00404de8
mov ecx, dword [ebp - 0x1f8]
mov edx, 0x45cd50
mov eax, dword [ebp - 4]
call fcn.0040da18
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 4]
call fcn.00404aec
mov dword [ebp - 0x198], 0xe7f931c2
mov eax, dword [ebp - 4]
test eax, eax
je 0x45c66c
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x45c6fd
inc ebx
mov dword [ebp - 0x19c], 0
lea eax, [ebp - 4]
call fcn.00404f44
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x19c]
movzx ecx, byte [ecx + esi]
mov esi, dword [ebp - 0x198]
shr esi, 0x18
and esi, 0xff
xor ecx, esi
mov byte [eax + edx], cl
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x19c]
movzx eax, byte [eax + edx]
mov edx, eax
and edx, 0x80
cmp edx, 0x80
jne 0x45c6d3
or eax, 0xffffff00
xor eax, dword [ebp - 0x198]
mov edx, eax
shl edx, 8
xor eax, edx
mov edx, eax
shl edx, 0x10
xor eax, edx
mov edx, eax
shl edx, 0x18
xor eax, edx
mov dword [ebp - 0x198], eax
inc dword [ebp - 0x19c]
dec ebx
jne 0x45c682
movzx eax, word [ebp - 0x198]
xchg al, ah
movzx eax, ax
shl eax, 0x10
mov edx, dword [ebp - 0x198]
shr edx, 0x10
xchg dl, dh
movzx edx, dx
or eax, edx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x45c72e
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
movzx eax, word [ebp - 0x194]
xchg al, ah
movzx eax, ax
shl eax, 0x10
mov edx, dword [ebp - 0x194]
shr edx, 0x10
xchg dl, dh
movzx edx, dx
or eax, edx
mov dword [ebp - 0x194], eax
mov dl, 1
mov eax, dword [0x4131a4]
call fcn.00403c10
mov dword [ebp - 0x1a0], eax
xor ecx, ecx
push ebp
push 0x45cb4b
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea edx, [ebp - 0x198]
mov ecx, 4
mov eax, dword [ebp - 0x1a0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x194]
mov ecx, 4
mov eax, dword [ebp - 0x1a0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 4]
call fcn.00404f44
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x45c7bb
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x1a0]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x45c7f3
lea edx, [ebp - 0x1fc]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.004093a8
mov eax, dword [ebp - 0x1fc]
call fcn.004090a8
test al, al
jne 0x45cb1b
lea eax, [ebp - 0x200]
call fcn.0045b5a0
lea eax, [ebp - 0x200]
mov edx, 0x45cd64
call fcn.00404d20
mov eax, dword [ebp - 0x200]
call fcn.004090a8
test al, al
je 0x45caea
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
call fcn.0045b5a0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x218], eax
mov byte [ebp - 0x214], 0xb
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x210], eax
mov byte [ebp - 0x20c], 0
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x208], eax
mov byte [ebp - 0x204], 0
lea edx, [ebp - 0x218]
mov ecx, 2
mov eax, 0x45cd7c
call fcn.00409c50
lea ecx, [ebp - 0x188]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.00409290
test eax, eax
jne 0x45c96c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x234]
call fcn.0045b5a0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 0xb
lea edx, [ebp - 0x230]
mov ecx, 1
mov eax, 0x45cda4
call fcn.00409c50
mov eax, dword [ebp - 0x220]
call fcn.00404ee4
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x45c95d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
call fcn.0045b5a0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0xb
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 0xb
lea edx, [ebp - 0x230]
mov ecx, 1
mov eax, 0x45cda4
call fcn.00409c50
mov eax, dword [ebp - 0x238]
call fcn.00404ee4
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x188]
call fcn.004092e0
test eax, eax
je 0x45c8ff
lea eax, [ebp - 0x188]
call fcn.00409304
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x2b4]
call fcn.0045b5a0
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0xb
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x18c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x294], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x290], eax
mov byte [ebp - 0x28c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x284], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x280], eax
mov byte [ebp - 0x27c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x278], eax
mov byte [ebp - 0x274], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x270], eax
mov byte [ebp - 0x26c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x268], eax
mov byte [ebp - 0x264], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x25c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x24c], 0
mov eax, 0xa
call fcn.004032d4
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 0
lea edx, [ebp - 0x2b0]
mov ecx, 0xd
mov eax, 0x45cdc0
call fcn.00409c50
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp + 8]
call fcn.00404aa8
jmp 0x45cb1b
lea edx, [ebp - 0x2bc]
xor eax, eax
call fcn.0040324c
mov eax, dword [ebp - 0x2bc]
lea edx, [ebp - 0x2b8]
call fcn.004093dc
mov edx, dword [ebp - 0x2b8]
mov eax, dword [ebp + 8]
mov ecx, 0x45cdfc
call fcn.00404d6c
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x1a0]
call fcn.004173b8
mov byte [ebp - 0x18d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cb52
mov eax, dword [ebp - 0x1a0]
call fcn.00403c40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45cbfb
lea eax, [ebp - 0x2bc]
mov edx, 3
call fcn.00404a78
lea eax, [ebp - 0x240]
mov edx, 4
call fcn.00404a78
lea eax, [ebp - 0x220]
mov edx, 2
call fcn.00404a78
lea eax, [ebp - 0x200]
mov edx, 6
call fcn.00404a78
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404a78
lea eax, [ebp - 0x1b0]
mov edx, 4
call fcn.00404a78
lea eax, [ebp - 0x188]
mov edx, dword [0x4079d4]
call fcn.00405588
lea eax, [ebp - 0x28]
mov edx, dword [0x4570ec]
mov ecx, 4
call fcn.004055d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a78
ret