Function at 0x1011b1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016268c
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x101c3db4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x18c], ebx
test esi, esi
je 0x1011b773
cmp byte [esi], bl
je 0x1011b773
cmp byte [ebp + 0x14], bl
je 0x1011b2fc
cmp dword [0x101dcdb4], 1
jl 0x1011b2de
push 0x8a9
push str.F:companyglog_master_srclogging.cc
lea ecx, [ebp - 0x140]
call fcn.10117c60
mov eax, dword [eax + 4]
push esi
push str._to
push edi
mov edi, dword [ebp - 0x188]
add eax, 0x7538
push str._BODY:
push edi
mov dword [ebp - 4], ebx
mov ebx, 1
push str.Trying_to_send_TITLE:
push eax
mov dword [ebp - 0x18c], ebx
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
jmp 0x1011b2e0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1011b31d
lea ecx, [ebp - 0x140]
and ebx, 0xfffffffe
call fcn.101182b0
jmp 0x1011b31d
push esi
push edi
push eax
push str.Trying_to_send_TITLE:__s_BODY:__s_to__s_n
push 2
call fcn.101397bb
add esp, 4
push eax
call fcn.10028210
mov edi, dword [ebp - 0x188]
add esp, 0x14
push 0xffffffffffffffff
push 0
push dword [0x101c3dd4]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10028c10
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
jne 0x1011b35d
push 9
push str._bin_mail
lea ecx, [ebp - 0x28]
call fcn.10028fa0
push esi
lea ecx, [ebp - 0x58]
call fcn.100290a0
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.100290a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.1011bb70
mov edi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1011bb70
mov esi, eax
push 0x101a0654
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.10025fb0
push esi
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
call fcn.101174c0
push 0x10165650
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
call fcn.10117530
push edi
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 8
push eax
call fcn.101174c0
add esp, 0x40
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1011b407
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.100291f0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x1011b434
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.100291f0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x1011b467
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.100291f0
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x1011b4a0
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.100291f0
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x1011b4d9
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.100291f0
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1011b509
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100291f0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp eax, 0x10
jb 0x1011b534
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100291f0
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
je 0x1011b5b4
cmp dword [0x101dcdb4], 4
jl 0x1011b59d
push 0x8b8
push str.F:companyglog_master_srclogging.cc
lea ecx, [ebp - 0x140]
call fcn.10117c60
mov eax, dword [eax + 4]
lea ecx, [ebp - 0xe8]
push ecx
add eax, 0x7538
mov byte [ebp - 4], 0x11
push str.Mailing_command:
or ebx, 2
push eax
mov dword [ebp - 0x18c], ebx
call fcn.1002eed0
add esp, 8
push eax
call fcn.10030c40
add esp, 8
mov dword [ebp - 4], 0x10
test bl, 2
je 0x1011b5b4
lea ecx, [ebp - 0x140]
call fcn.101182b0
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
push str.wrbt
cmovae eax, dword [ebp - 0xe8]
push eax
call fcn.1014e428
mov esi, eax
add esp, 8
test esi, esi
je 0x1011b6ef
mov edx, dword [ebp - 0x190]
test edx, edx
je 0x1011b606
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1011b5f0
push esi
sub ecx, edi
push ecx
push 1
push edx
call fcn.10139e19
add esp, 0x10
push esi
call fcn.1014e354
add esp, 4
cmp eax, 0xffffffff
setne bl
test bl, bl
jne 0x1011b6d5
call fcn.1013963b
push dword [eax]
lea eax, [ebp - 0x100]
push eax
call fcn.1011bd20
add esp, 8
cmp byte [ebp + 0x14], bl
je 0x1011b6a3
mov esi, eax
push 2
push 0x8c4
push str.F:companyglog_master_srclogging.cc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x12
call fcn.10117cc0
mov eax, dword [eax + 4]
push esi
push 0x101b5cd8
push dword [ebp - 0x184]
add eax, 0x7538
mov byte [ebp - 4], 0x13
push str.Problems_sending_mail_to
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.10030c40
add esp, 8
lea ecx, [ebp - 0x140]
call fcn.101182b0
jmp 0x1011b6ca
cmp dword [eax + 0x14], 0x10
jb 0x1011b6ab
mov eax, dword [eax]
push eax
push dword [ebp - 0x184]
push str.Problems_sending_mail_to__s:__s_n
push 2
call fcn.101397bb
add esp, 4
push eax
call fcn.10028210
add esp, 0x10
lea ecx, [ebp - 0x100]
call fcn.100291b0
lea ecx, [ebp - 0xe8]
call fcn.100291b0
lea ecx, [ebp - 0x28]
call fcn.100291b0
mov al, bl
jmp 0x1011b775
cmp byte [ebp + 0x14], 0
je 0x1011b742
push 2
push 0x8ce
push str.F:companyglog_master_srclogging.cc
lea ecx, [ebp - 0x180]
call fcn.10117cc0
push dword [ebp - 0x184]
mov eax, dword [eax + 4]
add eax, 0x7538
mov byte [ebp - 4], 0x14
push str.Unable_to_send_mail_to
push eax
call fcn.1002eed0
add esp, 8
push eax
call fcn.1002eed0
add esp, 8
lea ecx, [ebp - 0x180]
call fcn.101182b0
jmp 0x1011b760
push dword [ebp - 0x184]
push str.Unable_to_send_mail_to__s_n
push 2
call fcn.101397bb
add esp, 4
push eax
call fcn.10028210
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.100291b0
lea ecx, [ebp - 0x28]
call fcn.100291b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101156cc
mov esp, ebp
pop ebp
ret