Function at 0x420400
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp + 8], 0
je 0x420475
mov eax, dword [ebp + 8]
push eax
call fcn.0041fd10
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420475
jmp 0x4209b5
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0x425b64
push 0
call fcn.0040deb8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42049c
jmp 0x4209b5
push 1
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
imul ecx, ecx, 0x468
push ecx
call fcn.0040e4e6
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4204de
mov dword [ebp - 0x30], 0x8007000e
mov edx, dword [ebp - 0x30]
push edx
push 0x359
push 0x425b70
call fcn.0040e572
jmp 0x4209b5
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
imul ecx, ecx, 0xa8
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x35], 0
jmp 0x420504
mov cl, byte [ebp - 0x35]
add cl, 1
mov byte [ebp - 0x35], cl
movzx edx, byte [ebp - 0x35]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 2]
cmp edx, ecx
jge 0x42055e
movzx edx, byte [ebp - 0x35]
shl edx, 4
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
push 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041f190
add esp, 0xc
test eax, eax
je 0x42055c
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0041f270
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42055c
jmp 0x4209b5
jmp 0x4204fb
cmp dword [ebp - 0x10], 0
jne 0x4205cd
mov byte [ebp - 0x3d], 0
jmp 0x420573
mov dl, byte [ebp - 0x3d]
add dl, 1
mov byte [ebp - 0x3d], dl
movzx eax, byte [ebp - 0x3d]
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 2]
cmp eax, edx
jge 0x4205cd
movzx eax, byte [ebp - 0x3d]
shl eax, 4
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0041f190
add esp, 0xc
test eax, eax
je 0x4205cb
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.0041f270
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4205cb
jmp 0x4209b5
jmp 0x42056a
cmp dword [ebp + 0x14], 0
je 0x4205dd
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x45], 0
jmp 0x4205ec
mov cl, byte [ebp - 0x45]
add cl, 1
mov byte [ebp - 0x45], cl
movzx edx, byte [ebp - 0x45]
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 1]
cmp edx, ecx
jge 0x4209b3
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
movzx ecx, byte [ebp - 0x45]
imul ecx, ecx, 0xa8
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x50], eax
movzx ecx, byte [ebp - 0x19]
imul ecx, ecx, 0x468
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], ecx
cmp dword [ebp + 0xc], 0
je 0x420644
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x68], edx
jmp 0x42064b
mov dword [ebp - 0x68], 0x425b80
push 0
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040dad4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42066d
jmp 0x4209b5
push 0x27
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x50]
add eax, 0x8c
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420695
jmp 0x4209b5
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 0x100
je 0x4206af
mov dword [ebp - 0x54], 6
jmp 0x4206ec
cmp dword [ebp - 0x54], 7
je 0x4206ec
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa0]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.0041f630
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4206ec
jmp 0x4209b5
cmp dword [ebp - 0x54], 0
jne 0x4206f7
jmp 0x4205e3
mov al, byte [ebp - 0x19]
add al, 1
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.0041fe00
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420722
jmp 0x4209b5
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x18]
push eax
push 0x104
mov ecx, dword [ebp - 0x58]
add ecx, 0x4e
push ecx
call fcn.00403550
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420751
jmp 0x4209b5
cmp dword [ebp - 0x10], 0
je 0x42083c
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 0x80
je 0x42083c
push 0
push str._TRANSFORMS_
lea ecx, [ebp - 8]
push ecx
call fcn.0040db4e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420792
jmp 0x4209b5
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 4
je 0x420814
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 1
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.0041f770
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4207d4
jmp 0x4209b5
cmp dword [ebp - 0x10], 0
je 0x4207ea
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040d598
mov dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e0c8
push eax
lea edx, [ebp - 8]
push edx
call fcn.0040db4e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420812
jmp 0x4209b5
jmp 0x42083c
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040e0c8
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0040db4e
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42083c
jmp 0x4209b5
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 4
je 0x4208c5
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call fcn.0041f900
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x42087e
jmp 0x4209b5
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0x104
mov edx, dword [ebp - 0x58]
add edx, 0x256
push edx
call fcn.00403550
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x4208b6
jmp 0x4209b5
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x460], 1
jmp 0x4208cb
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 8
jne 0x4208f7
mov dword [ebp - 0x4c], 3
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 0x10
je 0x4208f7
mov eax, dword [ebp - 0x4c]
or eax, 0x40
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0xa4]
and edx, 1
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xa4]
and ecx, 0x200
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0xa4]
and eax, 0x10
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x50]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041ff90
add esp, 0x28
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x420955
jmp 0x4209b5
cmp dword [ebp - 0x30], 1
jne 0x420991
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x460], 0
je 0x42098f
mov eax, dword [ebp - 0x58]
add eax, 0x256
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
mov word [edx + 0x256], cx
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x460], 0
jmp 0x42099e
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x464], 1
cmp dword [ebp - 0x5c], 0
je 0x4209ae
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4205e3
jmp 0x4209b5
cmp dword [ebp - 0x30], 0
jge 0x420a91
push 0xbc2
call fcn.00401da0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x420a91
push 0xbc3
call fcn.00401da0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x420a91
push 0x669
call fcn.00401da0
add esp, 4
cmp eax, dword [ebp - 0x30]
je 0x420a91
mov byte [ebp - 0x5d], 0
jmp 0x420a0f
mov al, byte [ebp - 0x5d]
add al, 1
mov byte [ebp - 0x5d], al
movzx ecx, byte [ebp - 0x5d]
movzx edx, byte [ebp - 0x19]
cmp ecx, edx
jge 0x420a91
movzx eax, byte [ebp - 0x5d]
imul eax, eax, 0x468
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + 0x464], 0
je 0x420a57
push 0
push 0
push 1
push 3
push 7
mov edx, dword [ebp + 0x14]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call fcn.0041ff90
add esp, 0x28
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx + 0x256]
test edx, edx
je 0x420a74
mov eax, dword [ebp - 0x64]
add eax, 0x256
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx + 0x4e]
test edx, edx
je 0x420a8c
mov eax, dword [ebp - 0x64]
add eax, 0x4e
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x420a07
cmp dword [ebp - 0x10], 0
je 0x420aa1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
je 0x420ab0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040e540
cmp dword [ebp - 0x34], 0
je 0x420ac0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x18], 0
je 0x420acf
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0040d598
cmp dword [ebp - 0x10], 0
je 0x420ade
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040d598
cmp dword [ebp - 0x24], 0
je 0x420aed
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040d598
cmp dword [ebp - 0xc], 0
je 0x420afc
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040d598
cmp dword [ebp - 8], 0
je 0x420b0b
mov edx, dword [ebp - 8]
push edx
call fcn.0040d598
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret