Function at 0x59025670
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x59141c42
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [esp + 0x5c]
push ebx
xor ebx, ebx
push ebp
mov dword [eax], 1
mov ecx, dword [0x5919db0c]
xor eax, eax
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x20], ebx
jle 0x59025cbc
mov edx, dword [0x5919db08]
cmp dword [edx], 0x3d0
je 0x590256c7
inc eax
add edx, 0x44
cmp eax, ecx
jl 0x590256b2
jmp 0x59025cbc
mov eax, dword [0x5919dafc]
mov dword [esp + 0x20], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x5902597f
xor esi, esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x5919daf8]
cmp dword [ecx + esi], 0x3d1
jne 0x590258d5
push 0x5919dc50
lea ecx, [esp + 0x14]
call fcn.5909e9e0
mov eax, dword [0x5919daf8]
lea edx, [esp + 0x14]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax + esi + 0x2c]
mov eax, dword [eax + esi + 0x30]
push edx
lea edx, [esp + 0x14]
push edx
push eax
push ecx
call fcn.59023ea0
add esp, 0x10
cmp eax, ebx
je 0x590258c0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x64], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590a4b00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 3
call fcn.5905af50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.5905b0e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590a4b70
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.http_ContentBuf.mtmp
call fcn.590994d0
push ecx
mov byte [esp + 0x70], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5919cc20
call fcn.590994d0
lea ecx, [esp + 0x58]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0x7c], 3
call fcn.59023390
mov eax, dword [esp + 0x48]
add esp, 0x18
xor edi, edi
xor ebp, ebp
cmp eax, ebx
jle 0x59025814
mov eax, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [esi + eax + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.590827a8
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x59025808
add edi, dword [esi + eax + 0x28]
mov ecx, dword [esp + 0x30]
inc ebp
add esi, 0x48
cmp ebp, ecx
jl 0x590257ea
cmp dword [0x5919cca0], ebx
je 0x59025840
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
push str.GetDataForFile_2__attachsize:__d__d___filesize_:__d_
push str.Combine
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x1c
cmp edi, dword [esp + 0x14]
je 0x59025850
cmp dword [esp + 0x50], ebx
jne 0x590258f8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590a4b10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x5902588f
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x59025886
lea edi, [eax]
mov ecx, esi
call fcn.590132d0
add esi, 0x48
dec edi
jne 0x59025875
mov esi, dword [esp + 0x2c]
push esi
call fcn.591315d9
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x590258c0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x590258b7
lea edi, [eax]
mov ecx, esi
call fcn.590122e0
add esi, 0x44
dec edi
jne 0x590258a6
mov esi, dword [esp + 0x3c]
push esi
call fcn.591315d9
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.5909f180
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x5919dafc]
inc eax
add esi, 0x48
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jl 0x590256e6
jmp 0x5902597f
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590a4b10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x5902593d
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x59025934
lea edi, [eax]
mov ecx, esi
call fcn.590132d0
add esi, 0x48
dec edi
jne 0x59025923
mov esi, dword [esp + 0x2c]
push esi
call fcn.591315d9
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x5902596e
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x59025965
lea edi, [eax]
mov ecx, esi
call fcn.590122e0
add esi, 0x44
dec edi
jne 0x59025954
mov esi, dword [esp + 0x3c]
push esi
call fcn.591315d9
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.5909f180
mov esi, dword [esp + 0x6c]
cmp dword [esi], ebx
jne 0x590259f5
cmp dword [0x59179e48], ebx
je 0x590259a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5919dc38], eax
mov dword [0x59179e48], ebx
jmp 0x590259ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x5919dc38]
cmp ecx, ebx
je 0x590259c0
cmp eax, ecx
jb 0x590259c0
add ecx, 0x1d4c0
cmp ecx, eax
jae 0x590259ff
mov dword [0x59179e48], 1
mov dword [esi], 1
cmp dword [0x5919cca0], ebx
je 0x590259ff
push 1
push str.CheckEMails_timeout__bFull_:__d_
push str.Combine
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
jmp 0x590259ff
mov dword [0x59179e48], 1
cmp dword [esi], ebx
je 0x59025cbc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], 6
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call fcn.590a4b00
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 8
call fcn.5905af50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.5905b0e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590a4b70
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.http_ContentBuf.mtmp
call fcn.590994d0
push ecx
mov byte [esp + 0x70], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x5919cc20
call fcn.590994d0
lea edx, [esp + 0x58]
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x7c], 8
call fcn.59023390
mov eax, dword [esp + 0x48]
add esp, 0x18
xor esi, esi
cmp eax, ebx
jle 0x59025acf
xor edi, edi
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edx + 0x1c]
call fcn.5909eef0
mov eax, dword [esp + 0x30]
inc esi
add edi, 0x48
cmp esi, eax
jl 0x59025ab6
mov edi, dword [0x5919dafc]
push 0xffffffffffffffff
add eax, edi
mov ecx, 0x5919daf8
push eax
call fcn.5905b0e0
mov ecx, dword [0x5919daf8]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
lea eax, [edi + edi*8]
cmp ebp, ebx
lea edi, [ecx + eax*8]
je 0x59025b0f
mov eax, esi
mov ecx, edi
push eax
add esi, 0x48
add edi, 0x48
call fcn.5905b400
dec ebp
jne 0x59025afc
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, ebx
jle 0x59025b5b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + esi*4]
push eax
call edi
cmp dword [0x5919cca0], ebx
je 0x59025b52
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
push ecx
push str.deletefile___s_
push str.Combine
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
mov eax, dword [esp + 0x50]
inc esi
cmp esi, eax
jl 0x59025b1f
cmp dword [0x5919cca0], ebx
je 0x59025b81
mov edx, dword [esp + 0x30]
push edx
push str.GetDataForFile__size:_d_
push str.Combine
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call fcn.590a4b10
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 6
cmp esi, ebx
je 0x59025c00
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
cmp edi, ebx
je 0x59025bf7
lea ecx, [esi + 0x44]
mov byte [esp + 0x64], 0xe
call fcn.5909f180
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0xd
call fcn.59099e00
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0xc
call fcn.5909f180
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], 0xb
call fcn.5909f180
lea ecx, [esi + 0x1c]
mov byte [esp + 0x64], 6
call fcn.5909f180
add esi, 0x48
dec edi
mov dword [esp + 0x1c], esi
jne 0x59025ba8
mov esi, dword [esp + 0x2c]
push esi
call fcn.591315d9
add esp, 4
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
cmp esi, ebx
je 0x59025cbc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x59025cb1
lea edi, [eax]
mov ebp, 0x17
mov bl, 0x10
lea ecx, [esi + 0x3c]
mov dword [esp + 0x64], ebp
call fcn.59099e00
lea ecx, [esi + 0x38]
mov byte [esp + 0x64], 0x16
call fcn.5909f180
lea ecx, [esi + 0x34]
mov byte [esp + 0x64], 0x15
call fcn.5909f180
lea ecx, [esi + 0x30]
mov byte [esp + 0x64], 0x14
call fcn.5909f180
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0x13
call fcn.5909f180
lea ecx, [esi + 0x28]
mov byte [esp + 0x64], 0x12
call fcn.5909f180
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0x11
call fcn.5909f180
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], bl
call fcn.5909f180
lea ecx, [esi + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.5909f180
add esi, 0x44
dec edi
mov dword [esp + 0x1c], esi
jne 0x59025c2d
mov esi, dword [esp + 0x3c]
push esi
call fcn.591315d9
add esp, 4
xor ebx, ebx
cmp dword [0x5919cca0], ebx
je 0x59025ce9
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
push edx
push str.CheckEMails__bQQex:_d___bFull_:__d_
push str.Combine
push 0xffffffffffffffff
push 0x5919cc34
call fcn.5907cd70
add esp, 0x18
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret