Function at 0x100314c6
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x6c], esi
call fcn.1001e111
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x3c], ebx
call fcn.10001d04
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x34], ebx
call fcn.10001d04
cmp dword [esi + 0x2be8], ebx
je 0x1003151b
push ebx
push ebx
push str.RSET
mov ecx, esi
call fcn.10031167
mov esi, eax
cmp esi, ebx
jne 0x100316df
push dword [ebp + 0x7c]
lea ecx, [ebp - 0x28]
call fcn.10002759
mov esi, eax
cmp esi, ebx
jne 0x100316df
jmp 0x1003154e
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x1003153c
lea eax, [ebp - 0x28]
mov ecx, dword [ebp + 0x40]
cmp byte [eax + ecx - 1], 0x2e
je 0x10031553
lea ecx, [ebp - 0x28]
call fcn.1001bfdd
cmp dword [ebp + 0x40], ebx
jg 0x10031532
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x1003155d
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x40]
lea ecx, [ebp - 0x98]
call fcn.10001d32
push str.sending
lea ecx, [ebp - 0x28]
call fcn.10001f35
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x10031583
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x7c]
call fcn.10008014
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x100316df
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x100315a2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x48]
call fcn.1001e15f
mov esi, eax
cmp esi, ebx
jne 0x100316df
push edi
mov edi, 0x1003f364
jmp 0x100315f1
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x10031633
mov ecx, dword [ebp + 0x70]
push ebx
push ebx
mov byte [ecx + eax], bl
mov ecx, dword [ebp + 0x6c]
push eax
call fcn.10031167
mov esi, eax
cmp esi, ebx
jne 0x100316de
push str.DATA
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10031633
push ebx
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x70], ebx
call fcn.10024015
mov esi, eax
cmp esi, ebx
je 0x100315bd
jmp 0x100316de
mov ecx, dword [ebp + 0x6c]
push ebx
cmp dword [ebp + 0x7c], ebx
je 0x10031654
push 1
push dword [ebp + 0x70]
push dword [ebp + 0x7c]
call fcn.1002e43d
mov esi, eax
cmp esi, ebx
jne 0x100316de
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x7c]
push eax
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x70], ebx
call fcn.1001e1a7
mov esi, eax
cmp esi, ebx
je 0x10031613
jmp 0x100316de
push ebx
push ebx
call fcn.10031167
mov esi, eax
cmp esi, ebx
jne 0x100316de
mov edi, dword [ebp + 0x6c]
mov eax, dword [edi]
push str.Queued_message_succesfully_sent.
push 2
mov ecx, edi
call dword [eax + 0xa0]
lea ecx, [ebp + 0x48]
call fcn.10001000
cmp byte [edi + 0x2a6c], bl
je 0x100316bc
push str.sent
lea ecx, [ebp - 0x98]
call fcn.10001f35
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jne 0x100316a2
lea ecx, [ebp - 0x98]
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x100316ac
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.10008014
pop ecx
pop ecx
push str.Queue_file_extension_changed_to_.sent
jmp 0x100316d2
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x100316c6
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.Queue_file_deleted.
mov eax, dword [edi]
push 2
mov ecx, edi
call dword [eax + 0xa0]
pop edi
lea ecx, [ebp + 0x48]
call fcn.10001000
cmp esi, ebx
je 0x1003172d
push str.failed
lea ecx, [ebp - 0x98]
call fcn.10001f35
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
jne 0x10031708
lea ecx, [ebp - 0x98]
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x10031712
lea eax, [ebp - 0x28]
push ecx
push eax
call fcn.10008014
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ecx]
push str.Error_while_sending_queued_file.
push 2
call dword [eax + 0xa0]
lea ecx, [ebp - 0x98]
call fcn.10001d04
lea ecx, [ebp - 0x28]
call fcn.10001d04
lea ecx, [ebp + 0x48]
call fcn.1001e12d
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4