Function at 0x4242ca
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea esi, [ebp - 0x28]
mov ebx, ecx
sub esp, 0x68
push 0x1400
call fcn.00428e70
mov dword [esp], esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push esi
call fcn.00417ea5
push eax
push dword [0x42a670]
push str._.255s_8.8X.msg
push edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x2c], eax
call esi
add esp, 0x18
push 0x4421df
push dword [ebx + 0x24]
call fcn.004139bc
add esp, 0x10
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x3c]
cmp byte [eax], 0x31
jne 0x424366
cmp dword [str.draft], 0
jne 0x424341
mov dword [str.draft], 0x4421e1
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push dword [ebp - 0x2c]
push dword [0x434be8]
mov dword [ebp - 0x30], edx
push dword [eax + 0x14]
push str._.255smbox_.255s_8.8X.msg
push edi
call esi
add esp, 0x20
mov edx, dword [ebp - 0x30]
jmp 0x42436b
mov edx, 2
sub esp, 0xc
mov dword [ebp - 0x38], edx
push edi
call fcn.004035ad
add esp, 0xc
test eax, eax
mov dword [ebp - 0x30], eax
jg 0x4243c1
mov edx, dword [ebp - 0x38]
lea eax, [edx + 1]
test edx, edx
mov dword [ebp - 0x30], eax
jne 0x424613
mov eax, dword [ebp + 0xc]
push dword [0x434be8]
push dword [eax + 0x14]
mov eax, dword [ebp - 0x34]
push str._.255smbox_.255s
push edi
call eax
pop eax
pop edx
push 0x42a458
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x30]
pop ecx
pop eax
jmp 0x424326
push esi
push esi
push str.subj
push dword [ebx + 0x24]
call fcn.004139bc
mov dword [ebp - 0x4c], eax
pop eax
pop edx
push str.reto
push dword [ebx + 0x24]
call fcn.004139bc
cmp byte [eax], 0
pop ecx
cmove eax, dword [ebp + 8]
pop esi
push str.reply
push dword [ebx + 0x24]
mov dword [ebp - 0x48], eax
call fcn.004139bc
mov dword [ebp - 0x50], eax
pop eax
pop edx
push str.tomail
push dword [ebx + 0x24]
call fcn.004139bc
pop ecx
pop esi
push 0x44222e
push dword [ebx + 0x24]
mov dword [ebp - 0x54], eax
call fcn.004139bc
mov dword [ebp - 0x58], eax
pop eax
pop edx
push str.from
push dword [ebx + 0x24]
call fcn.004139bc
pop ecx
pop esi
push str.tomail
push dword [ebx + 0x24]
mov dword [ebp - 0x5c], eax
call fcn.004139bc
mov dword [ebp - 0x60], eax
movzx eax, word [ebp - 0x20]
movzx edx, word [ebp - 0x1e]
movzx ecx, word [ebp - 0x1c]
movzx esi, word [ebp - 0x22]
mov dword [ebp - 0x34], eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x26]
mov eax, dword [eax*4 + 0x42a7fc]
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x24]
mov eax, dword [eax*4 + 0x42a830]
mov dword [ebp - 0x44], eax
pop eax
pop edx
push str.REMOTE_ADDR
push dword [ebx + 0x20]
call fcn.004139bc
pop ecx
mov ecx, dword [ebp - 0x68]
pop edx
mov edx, dword [ebp - 0x64]
push dword [ebp - 0x4c]
push ecx
push edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp + 8]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push ecx
push edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
push eax
push dword [ebp + 8]
push dword [0x436a30]
push edi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
call esi
add esp, 0x6c
mov dword [ebp - 0x34], eax
push eax
push edi
push dword [ebp - 0x30]
call fcn.00403625
push ecx
push 0x442242
push dword [ebx + 0x24]
call fcn.004139bc
mov dword [esp], eax
mov dword [ebp - 0x38], eax
call fcn.00428f74
add esp, 0xc
mov dword [ebp - 0x40], eax
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call fcn.00403625
push ebx
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp byte [eax], 0x31
mov eax, dword [ebp + 0xc]
lea eax, [eax + 4]
jne 0x42454f
push ecx
push ecx
push dword [0x4354c4]
push eax
call fcn.004287ba
add esp, 0x10
jmp 0x424613
push edx
push edx
push dword [0x435520]
push eax
call fcn.004287ba
mov eax, dword [str.sent]
add esp, 0x10
test eax, eax
je 0x424613
mov ecx, dword [ebp - 0x34]
sub esp, 0xc
push dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0xc]
lea ebx, [edi + ecx + 1]
push dword [eax + 0x14]
push str._.255smbox_.255s_8.8X.msg
push ebx
call esi
add esp, 0x14
push ebx
call fcn.004035ad
add esp, 0xc
test eax, eax
mov edx, eax
jg 0x4245e7
mov eax, dword [ebp + 0xc]
push dword [0x434bec]
push dword [eax + 0x14]
push str._.255smbox_.255s
push ebx
call esi
pop ecx
pop eax
push 0x42a458
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x2c]
push dword [0x434bec]
push dword [eax + 0x14]
push str._.255smbox_.255s_8.8X.msg
push ebx
call esi
add esp, 0x14
push ebx
call fcn.004035ad
add esp, 0xc
test eax, eax
mov edx, eax
jle 0x424613
push eax
push dword [ebp - 0x34]
push edi
push edx
mov dword [ebp - 0x30], edx
call fcn.00403625
mov edx, dword [ebp - 0x30]
push dword [ebp - 0x40]
push dword [ebp - 0x38]
push edx
call fcn.00403625
push edx
push edx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
sub esp, 0xc
push edi
call fcn.00428e54
mov eax, dword [ebp - 0x2c]
add esp, 0x10
mov dword [0x465810], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8