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

Disassembly:
push 0xffffffffffffffff
push 0x5914e492
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 [0x591ad584]
xor eax, eax
push esi
cmp ecx, ebx
push edi
mov dword [esp + 0x20], ebx
jle 0x5902a62c
mov edx, dword [0x591ad580]
cmp dword [edx], 0x3d0
je 0x5902a037
inc eax
add edx, 0x44
cmp eax, ecx
jl 0x5902a022
jmp 0x5902a62c
mov eax, dword [0x591ad574]
mov dword [esp + 0x20], 1
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x5902a2ef
xor esi, esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x591ad570]
cmp dword [ecx + esi], 0x3d1
jne 0x5902a245
push 0x591ad730
lea ecx, [esp + 0x14]
call fcn.590a5aa0
mov eax, dword [0x591ad570]
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.59027b90
add esp, 0x10
cmp eax, ebx
je 0x5902a230
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.590abbc0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 3
call fcn.59060b80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.59060d10
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590abc30
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.http_ContentBuf.mtmp
call fcn.590a0590
push ecx
mov byte [esp + 0x70], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x591ac690
call fcn.590a0590
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.59026fe0
mov eax, dword [esp + 0x48]
add esp, 0x18
xor edi, edi
xor ebp, ebp
cmp eax, ebx
jle 0x5902a184
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.59089858
add esp, 8
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x5902a178
add edi, dword [esi + eax + 0x28]
mov ecx, dword [esp + 0x30]
inc ebp
add esi, 0x48
cmp ebp, ecx
jl 0x5902a15a
cmp dword [0x591ac718], ebx
je 0x5902a1b0
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 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
cmp edi, dword [esp + 0x14]
je 0x5902a1c0
cmp dword [esp + 0x50], ebx
jne 0x5902a268
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590abbd0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x5902a1ff
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5902a1f6
lea edi, [eax]
mov ecx, esi
call fcn.59013870
add esi, 0x48
dec edi
jne 0x5902a1e5
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913d2f9
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x5902a230
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5902a227
lea edi, [eax]
mov ecx, esi
call fcn.59012880
add esi, 0x44
dec edi
jne 0x5902a216
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913d2f9
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a6240
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x591ad574]
inc eax
add esi, 0x48
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jl 0x5902a056
jmp 0x5902a2ef
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.590abbd0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 1
cmp esi, ebx
je 0x5902a2ad
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5902a2a4
lea edi, [eax]
mov ecx, esi
call fcn.59013870
add esi, 0x48
dec edi
jne 0x5902a293
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913d2f9
add esp, 4
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x64], 0
cmp esi, ebx
je 0x5902a2de
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5902a2d5
lea edi, [eax]
mov ecx, esi
call fcn.59012880
add esi, 0x44
dec edi
jne 0x5902a2c4
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913d2f9
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a6240
mov esi, dword [esp + 0x6c]
cmp dword [esi], ebx
jne 0x5902a365
cmp dword [0x59188250], ebx
je 0x5902a312
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x591ad718], eax
mov dword [0x59188250], ebx
jmp 0x5902a36f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x591ad718]
cmp ecx, ebx
je 0x5902a330
cmp eax, ecx
jb 0x5902a330
add ecx, 0x1d4c0
cmp ecx, eax
jae 0x5902a36f
mov dword [0x59188250], 1
mov dword [esi], 1
cmp dword [0x591ac718], ebx
je 0x5902a36f
push 1
push str.CheckEMails_timeout__bFull_:__d_
push str.Combine
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
jmp 0x5902a36f
mov dword [0x59188250], 1
cmp dword [esi], ebx
je 0x5902a62c
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.590abbc0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 8
call fcn.59060b80
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.59060d10
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x54]
call fcn.590abc30
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.http_ContentBuf.mtmp
call fcn.590a0590
push ecx
mov byte [esp + 0x70], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x591ac690
call fcn.590a0590
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.59026fe0
mov eax, dword [esp + 0x48]
add esp, 0x18
xor esi, esi
cmp eax, ebx
jle 0x5902a43f
xor edi, edi
mov edx, dword [esp + 0x2c]
lea ecx, [edi + edx + 0x1c]
call fcn.590a5fb0
mov eax, dword [esp + 0x30]
inc esi
add edi, 0x48
cmp esi, eax
jl 0x5902a426
mov edi, dword [0x591ad574]
push 0xffffffffffffffff
add eax, edi
mov ecx, 0x591ad570
push eax
call fcn.59060d10
mov ecx, dword [0x591ad570]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
lea eax, [edi + edi*8]
cmp ebp, ebx
lea edi, [ecx + eax*8]
je 0x5902a47f
mov eax, esi
mov ecx, edi
push eax
add esi, 0x48
add edi, 0x48
call fcn.59061030
dec ebp
jne 0x5902a46c
mov eax, dword [esp + 0x50]
xor esi, esi
cmp eax, ebx
jle 0x5902a4cb
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 [0x591ac718], ebx
je 0x5902a4c2
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
push ecx
push str.deletefile___s_
push str.Combine
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
mov eax, dword [esp + 0x50]
inc esi
cmp esi, eax
jl 0x5902a48f
cmp dword [0x591ac718], ebx
je 0x5902a4f1
mov edx, dword [esp + 0x30]
push edx
push str.GetDataForFile__size:_d_
push str.Combine
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call fcn.590abbd0
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x64], 6
cmp esi, ebx
je 0x5902a570
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
cmp edi, ebx
je 0x5902a567
lea ecx, [esi + 0x44]
mov byte [esp + 0x64], 0xe
call fcn.590a6240
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0xd
call fcn.590a0ec0
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0xc
call fcn.590a6240
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], 0xb
call fcn.590a6240
lea ecx, [esi + 0x1c]
mov byte [esp + 0x64], 6
call fcn.590a6240
add esi, 0x48
dec edi
mov dword [esp + 0x1c], esi
jne 0x5902a518
mov esi, dword [esp + 0x2c]
push esi
call fcn.5913d2f9
add esp, 4
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
cmp esi, ebx
je 0x5902a62c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x5902a621
lea edi, [eax]
mov ebp, 0x17
mov bl, 0x10
lea ecx, [esi + 0x3c]
mov dword [esp + 0x64], ebp
call fcn.590a0ec0
lea ecx, [esi + 0x38]
mov byte [esp + 0x64], 0x16
call fcn.590a6240
lea ecx, [esi + 0x34]
mov byte [esp + 0x64], 0x15
call fcn.590a6240
lea ecx, [esi + 0x30]
mov byte [esp + 0x64], 0x14
call fcn.590a6240
lea ecx, [esi + 0x2c]
mov byte [esp + 0x64], 0x13
call fcn.590a6240
lea ecx, [esi + 0x28]
mov byte [esp + 0x64], 0x12
call fcn.590a6240
lea ecx, [esi + 0x24]
mov byte [esp + 0x64], 0x11
call fcn.590a6240
lea ecx, [esi + 0x20]
mov byte [esp + 0x64], bl
call fcn.590a6240
lea ecx, [esi + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call fcn.590a6240
add esi, 0x44
dec edi
mov dword [esp + 0x1c], esi
jne 0x5902a59d
mov esi, dword [esp + 0x3c]
push esi
call fcn.5913d2f9
add esp, 4
xor ebx, ebx
cmp dword [0x591ac718], ebx
je 0x5902a659
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 0x591ac6ac
call fcn.59083dc0
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