Function at 0x410550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bc2f
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
je 0x410df2
mov eax, dword [ebp + 8]
mov dword [0x621400], eax
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
push 0x208
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
call fcn.005065b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x280]
call fcn.0040ba80
push 1
push ecx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x220], 0x5c
call fcn.00424130
push eax
push 0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x280]
call fcn.00422200
xor eax, eax
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push eax
mov word [ebp - 0x238], ax
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x224], 7
push eax
mov dword [ebp - 0x228], 0
call fcn.0040c1a0
push 1
push 0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x220], 0x2f
call fcn.004241d0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0xffffffff
je 0x410926
push 1
push ecx
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x2f
push eax
lea ecx, [ebp + 0xc]
call fcn.00424130
push 0xffffffffffffffff
inc eax
lea ecx, [ebp + 0xc]
push eax
lea eax, [ebp - 0x368]
push eax
call fcn.00422200
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.00422380
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x354]
cmp eax, 8
jb 0x4106fc
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.0040ca40
push str.e_:
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x380]
call fcn.00427180
add esp, 4
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x368]
call fcn.00426c80
add esp, 4
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 7
call fcn.00422380
mov eax, dword [ebp - 0x354]
cmp eax, 8
jb 0x41075e
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.0040ca40
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x368], ax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x354], 7
mov dword [ebp - 0x358], 0
cmp eax, 8
jb 0x41079d
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.0040ca40
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x380]
call fcn.004304b0
cmp dword [eax + 0x14], 0x10
jb 0x4107b6
mov eax, dword [eax]
push 0
push eax
call fcn.0050dcd1
add esp, 8
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x36c]
setne byte [ebp - 0x345]
cmp eax, 0x10
jb 0x4107e9
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.0040c0a0
cmp byte [ebp - 0x345], 0
jne 0x4109da
push 0xd
push 0x5b6344
lea ecx, [ebp - 0x380]
call fcn.004313b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x410814
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 4
call fcn.0040bb00
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x398]
call fcn.004304b0
mov esi, eax
lea edx, [ebp + 0xc]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3b0]
call fcn.004304b0
push 0
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x368]
call fcn.0042c600
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x380]
call fcn.00430640
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xc
call fcn.00422380
lea ecx, [ebp - 0x380]
call fcn.0040ba40
lea ecx, [ebp - 0x368]
call fcn.0040bb00
lea ecx, [ebp - 0x3b0]
call fcn.0040bb00
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 4
call fcn.0040bb00
cmp dword [ebp - 0x240], 0
jne 0x4109e3
push 0x14
push 0x5b632c
lea ecx, [ebp - 0x398]
call fcn.004313b0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 0x10
jb 0x4108eb
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 4
call fcn.0040bb00
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
jmp 0x4109da
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040c1a0
push str.e_:
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x380]
call fcn.00427180
add esp, 4
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0xe
push ecx
mov edx, eax
lea ecx, [ebp - 0x368]
call fcn.00426c80
add esp, 4
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xf
call fcn.00422380
mov eax, dword [ebp - 0x354]
cmp eax, 8
jb 0x41099b
inc eax
lea ecx, [ebp - 0x368]
push eax
push dword [ebp - 0x368]
call fcn.0040ca40
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x368], ax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x354], 7
mov dword [ebp - 0x358], 0
cmp eax, 8
jb 0x4109da
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.0040ca40
cmp dword [ebp - 0x240], 0
je 0x410a1d
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x380]
call fcn.004304b0
mov dword [ebp - 0x34c], 1
cmp dword [eax + 0x14], 0x10
jb 0x410a06
mov eax, dword [eax]
push 0
push eax
call fcn.0050dcd1
add esp, 8
mov byte [ebp - 0x345], 0
cmp eax, 0xffffffff
jne 0x410a24
mov byte [ebp - 0x345], 1
test byte [ebp - 0x34c], 1
je 0x410a4b
mov eax, dword [ebp - 0x36c]
cmp eax, 0x10
jb 0x410a4b
inc eax
lea ecx, [ebp - 0x380]
push eax
push dword [ebp - 0x380]
call fcn.0040c0a0
cmp byte [ebp - 0x345], 0
jne 0x410d06
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x238]
push eax
call fcn.0040c1a0
lea eax, [ebp - 0x28c]
push eax
call fcn.004104e0
mov edi, dword [ebp - 0x28c]
test edi, edi
jg 0x410ab1
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
jmp 0x410d06
lea eax, [edi + 1]
push eax
call fcn.004f48f1
mov esi, eax
add esp, 4
test esi, esi
je 0x410ad7
lea eax, [edi + 1]
push eax
push 0
push esi
call fcn.005065b0
add esp, 0xc
mov byte [esi], 0
jmp 0x410ad9
xor esi, esi
push 0xb8
lea eax, [ebp - 0x344]
push 0
push eax
call fcn.005065b0
add esp, 8
lea ecx, [ebp - 0x344]
call fcn.00422880
sub esp, 8
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x344]
push eax
call fcn.00422810
mov eax, edi
lea ecx, [ebp - 0x344]
cdq
push edx
push eax
push esi
call fcn.00423220
lea ecx, [ebp - 0x344]
call fcn.004227a0
push 0x17
push 0x5b6314
lea ecx, [ebp - 0x398]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x34c], 0
call fcn.004313b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 0x10
jb 0x410b61
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x10
call fcn.0040bb00
lea eax, [ebp - 0x34c]
mov edx, edi
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.0042c8d0
add esp, 8
lea ecx, [ebp - 0x398]
test al, al
je 0x410cb1
push 0x10
push 0x5b62cc
call fcn.004313b0
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], 0x10
jb 0x410bc0
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x10
call fcn.0040bb00
mov edx, dword [ebp - 0x34c]
mov ecx, dword [ebp - 0x220]
call fcn.0042cba0
test eax, eax
jne 0x410c0f
push 0x17
push 0x5b62b4
lea ecx, [ebp - 0x398]
call fcn.004313b0
mov byte [ebp - 4], 0x13
jmp 0x410cc1
mov ecx, eax
call fcn.0042d840
mov esi, eax
test esi, esi
je 0x410ce4
push 0x12
push 0x5b62e0
lea ecx, [ebp - 0x398]
call fcn.004313b0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x410c3e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x10
call fcn.0040bb00
cmp dword [0x60cd14], 0
jne 0x410c73
push 0x3a98
call fcn.00480090
add esp, 4
call esi
lea ecx, [ebp - 0x344]
call fcn.00410e30
lea ecx, [ebp - 0x238]
call fcn.0040ba40
lea ecx, [ebp - 0x268]
call fcn.0040ba40
lea ecx, [ebp - 0x280]
call fcn.0040ba40
lea ecx, [ebp - 0x250]
call fcn.0040ba40
jmp 0x410df2
push 0x1e
push 0x5b62f4
call fcn.004313b0
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x14], 0x10
jb 0x410cc9
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040bb40
call fcn.00410e90
lea ecx, [ebp - 0x398]
call fcn.0040bb00
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call ebx
lea ecx, [ebp - 0x344]
call fcn.00410e30
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x410d24
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.0040ca40
xor eax, eax
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x228], 0
cmp eax, 8
jb 0x410d5f
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.0040ca40
xor eax, eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x258], 0
cmp eax, 8
jb 0x410d9a
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.0040ca40
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x270], 0
cmp eax, 8
jb 0x410dd5
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.0040ca40
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x410e07
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0040ca40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f4655
mov esp, ebp
pop ebp
ret 0x1c