Function at 0x43c180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568bc1
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x5cdde4]
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 0x43c6ec
cmp byte [esi], bl
je 0x43c6ec
cmp byte [ebp + 0x14], bl
je 0x43c2a0
cmp dword [0x5e4ef0], 1
jl 0x43c282
push 0x43c710
push 1
push 0x77b
push str.logging.cc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], ebx
call fcn.0043b450
mov eax, dword [ebp - 0xec]
push esi
push 0x571e30
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.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
jmp 0x43c284
mov edi, eax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43c2c1
lea ecx, [ebp - 0xf0]
and ebx, 0xfffffffe
call fcn.0043a050
jmp 0x43c2c1
push esi
push edi
push eax
push str.Trying_to_send_TITLE:__s_BODY:__s_to__s_n
push 2
call fcn.00548324
add esp, 4
push eax
call fcn.0042a5b0
mov edi, dword [ebp - 0xf8]
add esp, 0x14
push esi
lea ecx, [ebp - 0x40]
call fcn.00421dc0
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00421dc0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0043d160
mov edi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0043d160
mov esi, eax
push 0x571e84
push dword [0x5ca078]
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
call fcn.00439550
push esi
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
call fcn.00439330
push 0x56bb60
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
call fcn.00439420
push edi
push eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.00439330
add esp, 0x40
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x43c36d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00425650
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x43c394
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00425650
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x43c3c1
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00425650
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x43c3f4
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00425650
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x43c42d
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00425650
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43c45d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00425650
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 0x43c488
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00425650
cmp dword [0x5e4ef0], 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jl 0x43c4ff
push 0x43c710
push 1
push 0x785
push str.logging.cc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0
call fcn.0043b450
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.004202e0
add esp, 8
push eax
call fcn.0042a610
add esp, 8
mov dword [ebp - 4], 0xf
test bl, 2
je 0x43c516
lea ecx, [ebp - 0xf0]
call fcn.0043a050
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
push 0x571e9c
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.0054e100
mov esi, eax
add esp, 8
test esi, esi
je 0x43c65e
mov edx, dword [ebp - 0x100]
test edx, edx
je 0x43c567
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c551
push esi
sub ecx, edi
push ecx
push 1
push edx
call fcn.005490bd
add esp, 0x10
push esi
call fcn.0054e02c
add esp, 4
cmp eax, 0xffffffff
setne bl
test bl, bl
jne 0x43c64c
call fcn.00549533
push dword [eax]
lea eax, [ebp - 0xe8]
push eax
call fcn.0043d390
add esp, 8
cmp byte [ebp + 0x14], bl
je 0x43c61a
mov esi, eax
push 0x43c710
push 3
push 0x78f
push str.logging.cc
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xf0], 0
call fcn.0043b450
mov eax, dword [ebp - 0xec]
push esi
push 0x56b6b0
push dword [ebp - 0xf4]
add eax, 0x7538
mov byte [ebp - 4], 0x12
push str.Problems_sending_mail_to
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
push eax
call fcn.0042a610
add esp, 8
lea ecx, [ebp - 0xf0]
call fcn.0043a050
jmp 0x43c641
cmp dword [eax + 0x14], 0x10
jb 0x43c622
mov eax, dword [eax]
push eax
push dword [ebp - 0xf4]
push str.Problems_sending_mail_to__s:__s_n
push 2
call fcn.00548324
add esp, 4
push eax
call fcn.0042a5b0
add esp, 0x10
lea ecx, [ebp - 0xe8]
call fcn.00429290
lea ecx, [ebp - 0xd0]
call fcn.00429290
mov al, bl
jmp 0x43c6ee
cmp byte [ebp + 0x14], 0
je 0x43c6c3
push 0x43c710
push 3
push 0x799
push str.logging.cc
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], 0
call fcn.0043b450
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.004202e0
add esp, 8
push eax
call fcn.004202e0
add esp, 8
lea ecx, [ebp - 0x104]
call fcn.0043a050
jmp 0x43c6e1
push dword [ebp - 0xf4]
push str.Unable_to_send_mail_to__s_n
push 2
call fcn.00548324
add esp, 4
push eax
call fcn.0042a5b0
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00429290
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.00523ae4
mov esp, ebp
pop ebp
ret