Function at 0x482a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de6cd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x50b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.004831e0
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482b52
and dword [ebp - 0x34], 0xfffffe00
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
call fcn.0048ea60
mov ecx, dword [ebp - 0x34]
test cl, cl
je 0x482b8a
cmp cl, 7
je 0x482b8a
movsx eax, cl
mov byte [ebp - 4], 7
sub eax, 4
je 0x482aec
sub eax, 2
je 0x482ac2
sub eax, 1
jne 0x482b20
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x482b20
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00490aa0
push 0x28
push dword [esi]
call fcn.004a6653
push 8
push esi
call fcn.004a6653
add esp, 0x10
jmp 0x482b20
test ecx, 0x100
je 0x482b20
mov eax, dword [0x520de4]
test al, 1
jne 0x482b12
or eax, 1
push 0x4e1e80
mov dword [0x520de4], eax
call fcn.004a68ab
add esp, 4
mov ecx, dword [0x50be6c]
push dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x482b52
push 0x48f870
mov byte [ebp - 4], 8
push dword [esi - 4]
push 4
push esi
call fcn.004a650e
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004a6661
add esp, 8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x482b76
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push ecx
push str.send_date
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00490420
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.00484740
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 2
cmp eax, 3
jb 0x482c08
mov edx, dword [ecx]
cmp edx, 0x7d0
jb 0x482c08
mov eax, dword [ecx + 4]
cmp eax, 1
jb 0x482c08
cmp eax, 0xc
ja 0x482c08
mov ecx, dword [ecx + 8]
cmp ecx, 1
jb 0x482c08
cmp ecx, 0x1f
ja 0x482c08
sub esp, 0x10
push ecx
push eax
push edx
lea ecx, [ebp - 0x20]
call fcn.0047c920
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], eax
lea ecx, [ebp - 0x18]
call fcn.004639f0
lea ebx, [edi + 0x3c]
mov ecx, ebx
call fcn.00485810
lea ecx, [ebp - 0x18]
mov esi, eax
add edi, 0x34
call fcn.00485810
cmp eax, esi
je 0x482c54
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx], eax
mov esi, dword [edi]
push dword [esi + 4]
push edi
call fcn.0047ea10
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [edi + 4], 0
jmp 0x482c6b
push ecx
push str.reports
lea ecx, [ebp - 0x3c]
call fcn.00490420
mov edx, edi
mov ecx, eax
call fcn.004848c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x482cc2
mov eax, dword [ebp - 0x24]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x482ca3
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482d75
push edx
push ecx
call fcn.004a6653
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
movsx eax, cl
sub eax, 4
je 0x482d05
sub eax, 2
je 0x482cdb
sub eax, 1
jne 0x482d39
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x482d39
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00490aa0
push 0x28
push dword [esi]
call fcn.004a6653
push 8
push esi
call fcn.004a6653
add esp, 0x10
jmp 0x482d39
test ecx, 0x100
je 0x482d39
mov eax, dword [0x520de4]
test al, 1
jne 0x482d2b
or eax, 1
push 0x4e1e80
mov dword [0x520de4], eax
call fcn.004a68ab
add esp, 4
mov ecx, dword [0x50be6c]
push dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x482d6b
push 0x48f870
mov byte [ebp - 4], 5
push dword [esi - 4]
push 4
push esi
call fcn.004a650e
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004a6661
add esp, 8
mov esi, 1
jmp 0x482b54
call fcn.004abd0f
int3