Function at 0x404c01
Capabilities:
Delete file

Disassembly:
push 0x54
mov eax, 0x433990
call fcn.0043195e
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], edx
test eax, eax
jne 0x404c34
mov dword [ebx + 0x26c], 0xa0000037
jmp 0x404f10
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
xor esi, esi
mov edx, 0x43aed4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
lea edi, [ebp - 0x30]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
mov dword [ebx + 0x26c], esi
test ecx, ecx
je 0x404c9c
push ecx
lea ecx, [ebp - 0x24]
call fcn.00416fed
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x404c9c
mov eax, dword [ebp - 0x24]
push 0x5c
movzx eax, word [eax + ecx*2 - 2]
pop ecx
cmp ax, cx
je 0x404c9c
cmp eax, 0x2f
je 0x404c9c
push ecx
lea ecx, [ebp - 0x24]
call fcn.00417098
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x50]
mov ecx, ebx
push edi
call fcn.0040435d
cmp dword [ebx + 0x264], esi
je 0x404cf0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebx + 0x268], esi
call dword [eax + 0x6c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x15]
push ecx
push dword [ebp - 0x54]
mov ecx, ebx
push dword [ebp - 0x34]
push dword [ebp + 0xc]
push edi
call dword [eax + 0x68]
test eax, eax
je 0x404f31
cmp dword [ebx + 0x268], esi
jne 0x404f31
xor eax, eax
inc eax
jmp 0x404f33
xor edi, edi
mov dword [ebp - 0x4c], esi
inc edi
mov eax, esi
mov dword [ebp - 0x44], edi
cmp dword [ebp + 0xc], eax
jbe 0x404ef5
cmp dword [ebx + 0x274], esi
jne 0x404f31
cmp dword [ebx + 0x26c], 0xa0000054
je 0x404efe
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + eax*4]
lea ecx, [ebx + 0x18]
push eax
mov dword [ebp - 0x48], eax
call fcn.00410d90
mov edi, eax
test edi, edi
je 0x404f25
push dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
push dword [edi]
call fcn.0041217f
pop ecx
pop ecx
mov ecx, ebx
test eax, eax
je 0x404f18
mov eax, dword [edi + 0x24]
xorps xmm0, xmm0
shr eax, 4
and eax, 1
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x40], esi
push edi
mov dword [ebp - 0x14], esi
movlpd qword [ebp - 0x60], xmm0
call fcn.00404255
test eax, eax
je 0x404edb
test dword [edi + 0x24], 0x400
je 0x404d9e
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [ebp - 0x48]
call dword [eax + 0x70]
push dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push dword [ebx + 4]
push eax
push dword [ebp - 0x58]
push dword [ebx + 0x25c]
push dword [ebp - 0x30]
push edi
push dword [ebx + 0x260]
call dword [ebx + 0x258]
mov ecx, eax
add esp, 0x20
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x404e25
push edi
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.00404b4d
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edi, dword [ebp - 0x44]
cmp eax, 0xa0000059
cmovne edi, ecx
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x4c], ecx
jne 0x404e15
cmp eax, 0xa0000062
jne 0x404e15
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x404edb
mov ecx, eax
call fcn.004115c9
cmp eax, 1
jne 0x404efe
mov eax, dword [ebp - 0x14]
cmp eax, 0xa0000017
je 0x404efe
jmp 0x404edb
cmp dword [ebp - 0x34], 0
je 0x404e49
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x38]
test eax, eax
je 0x404e49
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
call fcn.004239f4
pop ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x58], 0
jne 0x404e9d
lea eax, [ebp - 0x60]
push eax
push ecx
push edi
push dword [ebp - 0x48]
mov ecx, ebx
call fcn.00404f37
test eax, eax
jne 0x404e9d
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
mov dword [ebp - 0x44], esi
je 0x404e9d
mov eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x5c]
jne 0x404e7f
mov dword [ebp - 0x3c], 1
jmp 0x404e9d
cmp dword [edi + 0x20], 0x10
jne 0x404e9d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x3c]
cmp eax, 0xa0000060
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x40]
je 0x404ed0
test eax, eax
je 0x404ebf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x40]
jmp 0x404ed4
cmp dword [ebp - 0x34], 0
je 0x404edb
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x404edb
test eax, eax
je 0x404edb
push eax
call fcn.00422ab2
pop ecx
mov ecx, ebx
call fcn.004044a8
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp + 0xc]
jb 0x404d04
mov edi, dword [ebp - 0x44]
mov ecx, ebx
call fcn.00404b12
mov esi, edi
lea ecx, [ebp - 0x30]
call fcn.00416fc6
lea ecx, [ebp - 0x24]
call fcn.00416fc6
mov eax, esi
call fcn.00431908
ret 0x10
push edi
push 0xa0000050
call fcn.00404b4d
jmp 0x404efe
mov dword [ebx + 0x26c], 0xa0000037
jmp 0x404efe
mov eax, esi
mov esi, eax
jmp 0x404efe