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

Disassembly:
push 0xffffffffffffffff
push 0x5914f2d2
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 [0x591af034]
xor eax, eax
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x20], ebx
jle 0x5902a0dc
mov edx, dword [0x591af030]
cmp dword [edx], 0x3d0
je 0x59029ae7
inc eax
add edx, 0x44
cmp eax, ecx
jl 0x59029ad2
jmp 0x5902a0dc
mov eax, dword [0x591af024]
mov dword [esp + 0x20], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x59029d9f
xor esi, esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x591af020]
cmp dword [ecx + esi], 0x3d1
jne 0x59029cf5
push 0x591af1e0
lea ecx, [esp + 0x14]
call fcn.590a6ec0
mov eax, dword [0x591af020]
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.590276d0
add esp, 0x10
cmp eax, ebx
je 0x59029ce0
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.590acfe0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 3
call fcn.59060250
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.590603e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590ad050
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.http_ContentBuf.mtmp
call fcn.590a19b0
push ecx
mov byte [esp + 0x70], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x591ae140
call fcn.590a19b0
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.59026b20
mov eax, dword [esp + 0x48]
add esp, 0x18
xor edi, edi
xor ebp, ebp
cmp eax, ebx
jle 0x59029c34
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.5908ac78
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x59029c28
add edi, dword [esi + eax + 0x28]
mov ecx, dword [esp + 0x30]
inc ebp
add esi, 0x48
cmp ebp, ecx
jl 0x59029c0a
cmp dword [0x591ae1c8], ebx
je 0x59029c60
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 0x591ae15c
call fcn.590851e0
add esp, 0x1c
cmp edi, dword [esp + 0x14]
je 0x59029c70
cmp dword [esp + 0x50], ebx
jne 0x59029d18
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590acff0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x59029caf
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x59029ca6
lea edi, [eax]
mov ecx, esi
call fcn.59013560
add esi, 0x48
dec edi
jne 0x59029c95
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913e209
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x59029ce0
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x59029cd7
lea edi, [eax]
mov ecx, esi
call fcn.59012570
add esi, 0x44
dec edi
jne 0x59029cc6
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913e209
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a7660
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x591af024]
inc eax
add esi, 0x48
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jl 0x59029b06
jmp 0x59029d9f
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590acff0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x59029d5d
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x59029d54
lea edi, [eax]
mov ecx, esi
call fcn.59013560
add esi, 0x48
dec edi
jne 0x59029d43
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913e209
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x59029d8e
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x59029d85
lea edi, [eax]
mov ecx, esi
call fcn.59012570
add esi, 0x44
dec edi
jne 0x59029d74
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913e209
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a7660
mov esi, dword [esp + 0x6c]
cmp dword [esi], ebx
jne 0x59029e15
cmp dword [0x59189268], ebx
je 0x59029dc2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x591af1c8], eax
mov dword [0x59189268], ebx
jmp 0x59029e1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x591af1c8]
cmp ecx, ebx
je 0x59029de0
cmp eax, ecx
jb 0x59029de0
add ecx, 0x1d4c0
cmp ecx, eax
jae 0x59029e1f
mov dword [0x59189268], 1
mov dword [esi], 1
cmp dword [0x591ae1c8], ebx
je 0x59029e1f
push 1
push str.CheckEMails_timeout__bFull_:__d_
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
jmp 0x59029e1f
mov dword [0x59189268], 1
cmp dword [esi], ebx
je 0x5902a0dc
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.590acfe0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 8
call fcn.59060250
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.590603e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590ad050
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.http_ContentBuf.mtmp
call fcn.590a19b0
push ecx
mov byte [esp + 0x70], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x591ae140
call fcn.590a19b0
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.59026b20
mov eax, dword [esp + 0x48]
add esp, 0x18
xor esi, esi
cmp eax, ebx
jle 0x59029eef
xor edi, edi
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edx + 0x1c]
call fcn.590a73d0
mov eax, dword [esp + 0x30]
inc esi
add edi, 0x48
cmp esi, eax
jl 0x59029ed6
mov edi, dword [0x591af024]
push 0xffffffffffffffff
add eax, edi
mov ecx, 0x591af020
push eax
call fcn.590603e0
mov ecx, dword [0x591af020]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
lea eax, [edi + edi*8]
cmp ebp, ebx
lea edi, [ecx + eax*8]
je 0x59029f2f
mov eax, esi
mov ecx, edi
push eax
add esi, 0x48
add edi, 0x48
call fcn.59060700
dec ebp
jne 0x59029f1c
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, ebx
jle 0x59029f7b
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 [0x591ae1c8], ebx
je 0x59029f72
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
push ecx
push str.deletefile___s_
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
mov eax, dword [esp + 0x50]
inc esi
cmp esi, eax
jl 0x59029f3f
cmp dword [0x591ae1c8], ebx
je 0x59029fa1
mov edx, dword [esp + 0x30]
push edx
push str.GetDataForFile__size:_d_
push str.Combine
push 0xffffffffffffffff
push 0x591ae15c
call fcn.590851e0
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call fcn.590acff0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 6
cmp esi, ebx
je 0x5902a020
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
cmp edi, ebx
je 0x5902a017
lea ecx, [esi + 0x44]
mov byte [esp + 0x64], 0xe
call fcn.590a7660
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0xd
call fcn.590a22e0
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0xc
call fcn.590a7660
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], 0xb
call fcn.590a7660
lea ecx, [esi + 0x1c]
mov byte [esp + 0x64], 6
call fcn.590a7660
add esi, 0x48
dec edi
mov dword [esp + 0x1c], esi
jne 0x59029fc8
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913e209
add esp, 4
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
cmp esi, ebx
je 0x5902a0dc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x5902a0d1
lea edi, [eax]
mov ebp, 0x17
mov bl, 0x10
lea ecx, [esi + 0x3c]
mov dword [esp + 0x64], ebp
call fcn.590a22e0
lea ecx, [esi + 0x38]
mov byte [esp + 0x64], 0x16
call fcn.590a7660
lea ecx, [esi + 0x34]
mov byte [esp + 0x64], 0x15
call fcn.590a7660
lea ecx, [esi + 0x30]
mov byte [esp + 0x64], 0x14
call fcn.590a7660
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0x13
call fcn.590a7660
lea ecx, [esi + 0x28]
mov byte [esp + 0x64], 0x12
call fcn.590a7660
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0x11
call fcn.590a7660
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], bl
call fcn.590a7660
lea ecx, [esi + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a7660
add esi, 0x44
dec edi
mov dword [esp + 0x1c], esi
jne 0x5902a04d
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913e209
add esp, 4
xor ebx, ebx
cmp dword [0x591ae1c8], ebx
je 0x5902a109
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 0x591ae15c
call fcn.590851e0
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