Function at 0x413520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x413528
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, 0x417fd8
xor eax, eax
push ebp
push 0x413d53
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x416b08], 0
jne 0x413584
mov eax, 0x2f
call fcn.00412258
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84060407
call fcn.00406fa0
mov eax, dword [0x416b10]
mov eax, dword [eax]
call fcn.00408ac4
push 0xc8
call sub.kernel32.dll_Sleep
mov eax, 0x19
call fcn.00412230
test al, al
je 0x413649
lea eax, [ebp - 8]
mov edx, dword [0x417fcc]
mov edx, dword [edx + 0x68]
call fcn.004034a8
mov eax, 0x1b
call fcn.00412258
cmp eax, 2
jge 0x413623
mov ebx, 1
xor esi, esi
jmp 0x413619
mov esi, ebx
mov eax, 0x1b
call fcn.00412258
sub eax, 1
jb 0x4135d4
je 0x4135e8
jmp 0x4135f2
mov eax, dword [ebp - 8]
call fcn.00403788
push eax
push 0
call sub.user32.dll_FindWindowA
mov ebx, eax
jmp 0x4135f2
mov eax, dword [ebp - 8]
call fcn.004124dc
mov ebx, eax
test ebx, ebx
je 0x413619
mov eax, dword [0x416b10]
mov eax, dword [eax]
cmp ebx, dword [eax + 0x1c]
je 0x413619
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
cmp ebx, dword [eax + 0x1c]
je 0x413619
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_PostMessageA
test ebx, ebx
je 0x413649
cmp ebx, esi
jne 0x4135bf
jmp 0x413649
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00407aec
call fcn.0040a010
cmp al, 3
jbe 0x413641
mov eax, dword [ebp - 0xc]
call fcn.004126a0
jmp 0x413649
mov eax, dword [ebp - 0xc]
call fcn.00412598
mov eax, 0x2d
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x4136f6
mov esi, 1
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413d6c
call fcn.004035d4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d78
call fcn.00405450
mov eax, dword [ebp - 0x1c]
call fcn.0040a1a4
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d84
call fcn.00405450
mov eax, dword [ebp - 0x20]
call fcn.0040a1a4
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 0x28]
pop edx
pop ecx
call fcn.004133b4
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413662
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413da8
call fcn.00403464
mov eax, 0x2a
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x413770
mov esi, 1
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.0040a13c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00405450
mov eax, dword [0x417fcc]
push dword [eax + 0x34]
push 0x413db4
push dword [ebp - 8]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00403648
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00412e38
mov eax, dword [ebp - 8]
call fcn.004134a4
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x41371a
mov eax, 0x2c
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x41385f
mov esi, 1
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x34]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413dc0
call fcn.004035d4
lea eax, [ebp - 8]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 8]
call fcn.00405508
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
add eax, 0x1d
call fcn.00403464
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d84
call fcn.00405450
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.00405404
call fcn.00406118
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.0040a300
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 0
jne 0x41383f
mov eax, dword [ebp - 0x10]
call fcn.00405430
mov eax, dword [ebp - 8]
call fcn.00404f40
cmp edx, 0
jne 0x41383f
cmp eax, 0
jne 0x41383f
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00413054
mov eax, dword [ebp - 0x14]
call fcn.0040738c
mov eax, dword [ebp - 0x10]
call fcn.0040738c
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413789
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413dcc
call fcn.00403464
mov eax, 0x27
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x4138b3
mov esi, 1
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.0040a13c
mov edx, dword [ebp - 0x44]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00405450
mov eax, dword [ebp - 0x40]
mov dl, 1
call fcn.00413054
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413883
mov dl, 1
mov eax, dword [0x417fdc]
call fcn.00413054
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413dd8
call fcn.00403464
mov eax, 0x25
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x413913
mov esi, 1
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, esi
call fcn.0040a13c
mov edx, dword [ebp - 0x4c]
mov eax, dword [edi]
xor ecx, ecx
call fcn.00405450
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.00413054
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x4138e3
mov eax, 0x2b
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x41399d
mov esi, 1
lea edx, [ebp - 0x50]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x50]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413de4
call fcn.004035d4
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d84
call fcn.00405450
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 0x5c]
call fcn.0040a1a4
pop edx
pop ecx
call fcn.00413154
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413928
mov eax, 0x26
call fcn.00412258
test eax, eax
jle 0x413a90
call fcn.0040a010
cmp al, 3
jbe 0x4139c7
lea eax, [ebp - 8]
mov edx, 0x413df0
call fcn.004034a8
jmp 0x4139cf
lea eax, [ebp - 8]
call fcn.00403410
mov eax, 0x26
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x413a80
mov esi, 1
lea edx, [ebp - 0x60]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x60]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413dfc
call fcn.004035d4
lea eax, [ebp - 0x64]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 0x64]
push eax
push 0x413e08
push dword [ebp - 8]
push 0x413e2c
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00403648
mov edx, dword [ebp - 0x68]
mov eax, 2
pop ecx
call fcn.00413154
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
mov eax, dword [ebp - 0xc]
call fcn.00403788
push eax
call sub.gdi32.dll_RemoveFontResourceA
mov eax, dword [ebp - 0xc]
call fcn.00403788
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x4139e8
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendMessageA_1
mov eax, 0x29
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x413b29
mov esi, 1
lea edx, [ebp - 0x6c]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413e4c
call fcn.004035d4
lea eax, [ebp - 8]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
lea eax, [ebp - 0x70]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 0x70]
call fcn.0040a1a4
sub eax, 1
jb 0x413afd
je 0x413b09
dec eax
je 0x413b15
jmp 0x413b1d
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00413054
jmp 0x413b1d
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00413054
jmp 0x413b1d
mov eax, dword [ebp - 8]
call fcn.00412ee0
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413aa9
mov eax, 0x2e
call fcn.00412258
mov ebx, eax
test ebx, ebx
jle 0x413bdc
mov esi, 1
lea edx, [ebp - 0x74]
mov eax, esi
call fcn.0040a13c
mov ecx, dword [ebp - 0x74]
mov eax, dword [edi]
add eax, 0x1d
mov edx, 0x413e58
call fcn.004035d4
lea eax, [ebp - 0x78]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d78
call fcn.00405450
mov eax, dword [ebp - 0x78]
call fcn.0040a1a4
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d84
call fcn.00405450
mov eax, dword [ebp - 0x7c]
call fcn.0040a1a4
push eax
lea eax, [ebp - 0x80]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d90
call fcn.00405450
mov eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x413d9c
call fcn.00405450
mov eax, dword [ebp - 0x84]
pop edx
pop ecx
call fcn.004133b4
mov eax, dword [ebp - 4]
call fcn.00412ea8
inc esi
dec ebx
jne 0x413b42
mov eax, dword [edi]
call fcn.0040738c
mov eax, dword [0x417fe0]
call fcn.00403788
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, 0x1c
call fcn.00412230
test al, al
je 0x413c30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00408e90
test al, al
je 0x413c30
push 1
push 0
push 0
mov eax, dword [0x417fcc]
mov eax, dword [eax + 0x74]
call fcn.00403788
push eax
push 0x413e5c
push 0
call fcn.0040a92c
push 0
push 0
push 0
push 0x8000000
call fcn.0040aa1c
cmp byte [0x416b08], 0
jne 0x413d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84060407
call fcn.0040645c
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, 0x84020408
call fcn.00406468
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
call fcn.00412e38
mov eax, dword [0x416b10]
mov eax, dword [eax]
call fcn.00408ac4
push 0x400
call sub.kernel32.dll_Sleep
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov dl, 1
call fcn.00408310
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.00408310
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040582c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0040582c
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004085e8
mov eax, dword [0x417fcc]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.004085e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0040875c
mov eax, dword [0x416b10]
mov eax, dword [eax]
call fcn.00408ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413d5a
lea eax, [ebp - 0x84]
mov edx, 0x1c
call fcn.00403434
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403434
ret