Function at 0x42ea40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caaf1
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x660124]
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 - 0xf4], esi
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], ebx
test esi, esi
je 0x42efab
cmp byte [esi], bl
je 0x42efab
cmp byte [ebp + 0x14], bl
je 0x42eb5f
cmp dword [0x67acbc], 1
jl 0x42eb41
push 0x42efe0
push ebx
push 0x79e
push str.E:3rdLibraryglog_srclogging.cc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], ebx
call fcn.0042dcb0
mov eax, dword [ebp - 0xec]
push esi
push str._to
push edi
mov edi, dword [ebp - 0xf8]
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 - 0xfc], ebx
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
jmp 0x42eb43
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42eb80
lea ecx, [ebp - 0xf0]
and ebx, 0xfffffffe
call fcn.0042cc80
jmp 0x42eb80
push esi
push edi
push eax
push str.Trying_to_send_TITLE:__s_BODY:__s_to__s_n
push 2
call fcn.005a8288
add esp, 4
push eax
call fcn.00404d20
mov edi, dword [ebp - 0xf8]
add esp, 0x14
push esi
lea ecx, [ebp - 0x40]
call fcn.00402cd0
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00402cd0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0042f4b0
mov edi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042f4b0
mov esi, eax
push 0x5cdc84
push dword [0x65c010]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
call fcn.004048a0
push esi
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
call fcn.00416c70
push 0x64e248
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
call fcn.004040c0
push edi
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.00416c70
add esp, 0x40
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x42ec2c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004030b0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x42ec53
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004030b0
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x42ec80
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004030b0
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x42ecb3
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004030b0
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x42ecec
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004030b0
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42ed1c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004030b0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 0x10
jb 0x42ed47
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004030b0
cmp dword [0x67acbc], 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jl 0x42edbe
push 0x42efe0
push 0
push 0x7a8
push str.E:3rdLibraryglog_srclogging.cc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0
call fcn.0042dcb0
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xd0]
push ecx
add eax, 0x7538
mov byte [ebp - 4], 0x10
push str.Mailing_command:
or ebx, 2
push eax
mov dword [ebp - 0xfc], ebx
call fcn.004144f0
add esp, 8
push eax
call fcn.00414b10
add esp, 8
mov dword [ebp - 4], 0xf
test bl, 2
je 0x42edd5
lea ecx, [ebp - 0xf0]
call fcn.0042cc80
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
push 0x5cdc9c
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.005adbc3
mov esi, eax
add esp, 8
test esi, esi
je 0x42ef1d
mov edx, dword [ebp - 0x100]
test edx, edx
je 0x42ee26
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ee10
push esi
sub ecx, edi
push ecx
push 1
push edx
call fcn.005a489a
add esp, 0x10
push esi
call fcn.005adaef
add esp, 4
cmp eax, 0xffffffff
setne bl
test bl, bl
jne 0x42ef0b
call fcn.005a8435
push dword [eax]
lea eax, [ebp - 0xe8]
push eax
call fcn.0042f6e0
add esp, 8
cmp byte [ebp + 0x14], bl
je 0x42eed9
mov esi, eax
push 0x42efe0
push 2
push 0x7b2
push str.E:3rdLibraryglog_srclogging.cc
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xf0], 0
call fcn.0042dcb0
mov eax, dword [ebp - 0xec]
push esi
push 0x64d98c
push dword [ebp - 0xf4]
add eax, 0x7538
mov byte [ebp - 4], 0x12
push str.Problems_sending_mail_to
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.00414b10
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.0042cc80
jmp 0x42ef00
cmp dword [eax + 0x14], 0x10
jb 0x42eee1
mov eax, dword [eax]
push eax
push dword [ebp - 0xf4]
push str.Problems_sending_mail_to__s:__s_n
push 2
call fcn.005a8288
add esp, 4
push eax
call fcn.00404d20
add esp, 0x10
lea ecx, [ebp - 0xe8]
call fcn.00402c10
lea ecx, [ebp - 0xd0]
call fcn.00402c10
mov al, bl
jmp 0x42efad
cmp byte [ebp + 0x14], 0
je 0x42ef82
push 0x42efe0
push 2
push 0x7bc
push str.E:3rdLibraryglog_srclogging.cc
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], 0
call fcn.0042dcb0
push dword [ebp - 0xf4]
mov eax, dword [ebp - 0x100]
add eax, 0x7538
mov byte [ebp - 4], 0x13
push str.Unable_to_send_mail_to
push eax
call fcn.004144f0
add esp, 8
push eax
call fcn.004144f0
add esp, 8
lea ecx, [ebp - 0x104]
call fcn.0042cc80
jmp 0x42efa0
push dword [ebp - 0xf4]
push str.Unable_to_send_mail_to__s_n
push 2
call fcn.005a8288
add esp, 4
push eax
call fcn.00404d20
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00402c10
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.005846b2
mov esp, ebp
pop ebp
ret