Function at 0x41512d
Capabilities:
Delete file

Disassembly:
mov eax, 0x55eb47
call fcn.0053c1d0
sub esp, 0x154
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
call fcn.0040bf17
test eax, eax
je 0x41562b
xor ebx, ebx
cmp dword [esi + 0x90], ebx
je 0x4151c2
push 0x20
mov dword [ebp - 4], ebx
call fcn.0055044f
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41517f
mov ecx, edi
call fcn.00403480
jmp 0x415195
xor edi, edi
jmp 0x415195
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4151c2
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.00404360
push edi
push 1
push 0x40a
mov dword [edi + 0x1c], ebx
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.00415033
cmp dword [esi + 0x90], ebx
mov dword [ebp + 0xc], eax
je 0x41523e
push 0x20
mov dword [ebp - 4], 2
call fcn.0055044f
mov edi, eax
cmp edi, ebx
pop ecx
je 0x4151f8
mov ecx, edi
call fcn.00403480
jmp 0x41520e
xor edi, edi
jmp 0x41520e
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x41523e
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.00404360
mov eax, dword [ebp + 0xc]
push edi
push 3
push 0x40a
mov dword [edi + 0x1c], eax
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, esi
call fcn.0040b8e1
cmp dword [ebp + 0xc], ebx
je 0x415628
push 0x20
mov dword [ebp - 4], 4
call fcn.0055044f
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41526c
mov ecx, edi
call fcn.00403480
jmp 0x415282
xor edi, edi
jmp 0x415282
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x4152af
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.00404360
push edi
push 0xa
push 0x40a
mov dword [edi + 0x1c], ebx
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esi + 0x88], 0x10
jb 0x4152bd
mov eax, dword [esi + 0x74]
jmp 0x4152c0
lea eax, [esi + 0x74]
push ebx
push eax
call fcn.0050402d
pop ecx
pop ecx
push 1
push 2
lea ecx, [ebp - 0x160]
mov dword [ebp + 8], eax
call fcn.00404a20
cmp dword [esi + 0x88], 0x10
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], 6
jb 0x4152f3
mov ecx, dword [esi + 0x74]
jmp 0x4152f6
lea ecx, [esi + 0x74]
push eax
push 0x573008
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push 0x572ff8
push ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bbec
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bbec
mov ebx, 0x204
cmp dword [0x5b21c0], ebx
jne 0x4154fd
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0xe0]
call fcn.00404a20
mov edi, 0x572a6c
push edi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 8
jb 0x415383
mov eax, dword [eax + 4]
jmp 0x415386
add eax, 4
push eax
push 0x572a4c
push edi
push 0x572a48
push ebx
push 0x572a40
push dword [ebp - 0x1c]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x1e]
mov edx, 0x572a38
push eax
push dword [ebp - 0x20]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x22]
push ecx
push dword [ebp - 0x26]
push ecx
push dword [ebp - 0x28]
push edx
push 0x49
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0x44]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 9
jb 0x4153f1
mov eax, dword [eax + 4]
jmp 0x4153f4
add eax, 4
push eax
lea eax, [ebp - 0xe0]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.00402c50
lea eax, [ebp - 0xe0]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.004028d0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x572840
call fcn.0054dfcb
mov eax, dword [ebp + 8]
cmp dword [esi + 0x50], eax
je 0x415581
and dword [ebp + 0xc], 0
cmp dword [esi + 0x88], 0x10
jb 0x415517
mov eax, dword [esi + 0x74]
jmp 0x41551a
lea eax, [esi + 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x90], 0
je 0x415604
push 0x20
mov byte [ebp - 4], 0xa
call fcn.0055044f
mov edi, eax
test edi, edi
pop ecx
je 0x415549
mov ecx, edi
call fcn.00403480
jmp 0x41555d
xor edi, edi
jmp 0x41555d
test edi, edi
mov dword [ebp - 4], 6
je 0x415604
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.00404360
and dword [edi + 0x1c], 0
jmp 0x4155f0
cmp dword [esi + 0x6c], 0x10
jb 0x41558c
mov eax, dword [esi + 0x58]
jmp 0x41558f
lea eax, [esi + 0x58]
push eax
mov ecx, esi
call fcn.0040e75b
cmp dword [esi + 0x90], 0
je 0x415604
push 0x20
mov byte [ebp - 4], 0xc
call fcn.0055044f
mov edi, eax
test edi, edi
pop ecx
je 0x4155bb
mov ecx, edi
call fcn.00403480
jmp 0x4155cf
xor edi, edi
jmp 0x4155cf
test edi, edi
mov dword [ebp - 4], 6
je 0x415604
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.00404360
mov dword [edi + 0x1c], 1
push edi
push 0xb
push 0x40a
push dword [esi + 0x90]
call dword [sym.imp.USER32.dll_PostMessageA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.004028d0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], 0x572840
call fcn.0054dfcb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8