Function at 0x427230
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x59c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, dword [ebp + 8]
push 3
push 1
lea esi, [edi + 0x1c]
mov eax, dword [esi]
push connect
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x68], esi
call fcn.0041cf12
test eax, eax
jl 0x42729f
push str..tmp
mov eax, esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 8], 1
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push 2
push ebx
push 0x40000000
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041cf12
test eax, eax
jl 0x42729f
mov bl, 1
jmp 0x4272a1
xor bl, bl
test byte [ebp - 8], 1
je 0x4272b2
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
call fcn.0041ad22
test bl, bl
je 0x427738
mov ebx, 0x46dd38
mov ecx, ebx
lea esi, [ebp - 0x50]
call fcn.0041ad3a
mov ecx, ebx
lea esi, [ebp - 0x4c]
call fcn.0041ad3a
mov ecx, ebx
lea esi, [ebp - 0x48]
call fcn.0041ad3a
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea esi, [ebp - 0x20]
call fcn.00424614
push 0x14
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f88d
push str.808324FE1
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4276e9
push 2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f88d
push 8
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041f88d
lea eax, [ebp - 0x28]
push eax
push 0x64
lea esi, [edi + 0x20]
push esi
lea eax, [ebp - 4]
call fcn.004245ee
push dword [ebp - 0x28]
push esi
push edi
call fcn.004254bf
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor esi, esi
push esi
lea eax, [ebp - 0x3c]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x427379
call fcn.00418efa
jmp 0x42737b
xor eax, eax
cmp eax, esi
jl 0x4276cc
cmp dword [ebp - 0x3c], esi
je 0x4276cc
cmp word [ebp - 0x14], 0xffff
jne 0x4276cc
push esi
lea eax, [ebp - 0x28]
push eax
push 8
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4273b1
call fcn.00418efa
push dword [ebp - 0x28]
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call fcn.004254bf
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4273e7
call fcn.00418efa
mov ecx, dword [ebp - 8]
xor eax, eax
cmp eax, dword [ebp - 0x1c]
ja 0x4276cc
jb 0x427400
cmp ecx, dword [ebp - 0x20]
ja 0x4276cc
mov dword [ebp - 0x10], ecx
shr ecx, 1
push ecx
lea esi, [ebp - 0x4c]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push esi
call fcn.004245ee
push dword [ebp - 0x38]
push esi
push dword [ebp + 8]
call fcn.004254bf
mov eax, dword [0x46dd38]
mov ecx, ebx
call dword [eax + 0xc]
mov ebx, eax
push 0
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
add ebx, 0x10
call edi
test eax, eax
jne 0x427458
call fcn.00418efa
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp ecx, dword [ebp - 0x1c]
ja 0x4276c4
jb 0x427471
cmp eax, dword [ebp - 0x20]
ja 0x4276c4
mov dword [ebp - 0x10], eax
shr eax, 1
push eax
lea esi, [ebp - 0x50]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push esi
call fcn.004245ee
push dword [ebp - 0x60]
push esi
push dword [ebp + 8]
call fcn.004254bf
push 0
lea eax, [ebp - 0x88]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x4274ba
call fcn.00418efa
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp ecx, dword [ebp - 0x1c]
ja 0x4276c4
jb 0x4274d3
cmp eax, dword [ebp - 0x20]
ja 0x4276c4
mov dword [ebp - 0x10], eax
shr eax, 1
push eax
lea esi, [ebp - 0x48]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push esi
call fcn.004245ee
push dword [ebp - 0x40]
push esi
push dword [ebp + 8]
call fcn.004254bf
push 0
lea eax, [ebp - 0x64]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x427519
call fcn.00418efa
push dword [ebp - 0x64]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004254bf
mov ecx, dword [ebp - 8]
xor eax, eax
cmp eax, dword [ebp - 0x1c]
ja 0x4276c4
jb 0x427541
cmp ecx, dword [ebp - 0x20]
ja 0x4276c4
push ecx
call fcn.0042819a
pop ecx
push dword [ebp - 8]
mov esi, eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.0041f88d
push 0
lea ecx, [ebp - 0x290]
call fcn.004371d0
push 2
push dword [ebp - 8]
lea ecx, [ebp - 0x290]
push esi
call fcn.004385c0
push esi
call fcn.004280b8
lea eax, [ebp - 0x290]
mov dword [ebp - 0x44], eax
pop ecx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4277a0
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4277a0
lea eax, [ebp - 0xa4]
lea esi, [ebp - 0x78]
call fcn.004277d7
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0042a4c6
test eax, eax
pop ecx
pop ecx
jne 0x427615
lea eax, [ebp - 0xdc]
push eax
push str._b__d__Y___H__M__S
lea eax, [ebp - 0x390]
push 0x80
push eax
call fcn.00429f26
add esp, 0x10
test eax, eax
jne 0x42761d
and word [ebp - 0x390], 0
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x5c]
call fcn.0041cfdd
mov esi, dword [ebp - 0x5c]
push esi
push dword [0x46e974]
lea eax, [ebp - 0x598]
push str._s_s.jpg
push eax
call fcn.004283ec
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.0041ad22
push 2
lea eax, [ebp - 0x598]
push eax
lea ecx, [ebp - 0x290]
call fcn.00438640
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
jb 0x427685
inc eax
call fcn.00412bf6
test al, al
je 0x4277b2
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi]
lea eax, [ecx + eax*4]
test eax, eax
je 0x42769a
lea ecx, [ebp - 0x598]
push ecx
call fcn.0041cfdd
inc dword [esi + 4]
lea ecx, [ebp - 0x290]
mov dword [ebp - method.CxImage.virtual_0], vtable.CxImage.0
call fcn.004371f0
lea eax, [ebx - 0x10]
call fcn.0041ad22
mov ebx, 0x46dd38
jmp 0x42735c
lea eax, [ebx - 0x10]
call fcn.0041ad22
xor eax, eax
cmp eax, dword [ebp - 0x1c]
ja 0x4276e5
jb 0x4276dd
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 8], eax
ja 0x4276e5
cmp word [ebp - 0x14], 0xffff
je 0x4276e9
and dword [ebp - 0x24], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebp - 4], edi
je 0x4276fe
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
cmp dword [ebp - 0xc], edi
je 0x42770b
push dword [ebp - 0xc]
call esi
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.0041ad22
cmp dword [ebp - 0x24], edi
jne 0x4277b9
mov esi, dword [ebp - 0x68]
push str..tmp
mov eax, esi
lea ecx, [ebp + 8]
call fcn.0040efd9
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
push dword [eax]
call edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0041ad22
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [esi + 4], ebx
jbe 0x427779
cmp ebx, dword [esi + 4]
jae 0x4277a8
mov eax, dword [esi]
push dword [eax + ebx*4]
call edi
inc ebx
cmp ebx, dword [esi + 4]
jb 0x42776c
call fcn.00426fee
cmp dword [ebp - 0xc], 0
je 0x42778d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x42779c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4277d0
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
push 0x80070057
call fcn.0041b286
push 0x8007000e
jmp 0x4277ad
cmp dword [ebp - 0xc], edi
je 0x4277c3
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 4], edi
je 0x4277cd
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 8