Function at 0x4556c0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567178
mov eax, dword fs:[0]
push eax
mov eax, 0x3274
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x326c], ecx
xor eax, eax
mov word [ebp - 0x223c], ax
push 0x208
push 0
lea ecx, [ebp - 0x223a]
push ecx
call fcn.005281f0
add esp, 0xc
push 0x5d9210
push 0x57d970
lea edx, [ebp - 0x223c]
push edx
call fcn.00527b98
add esp, 0xc
push 0
lea eax, [ebp - 0x223c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ecx, ecx
mov word [ebp - 0x202c], cx
push 0x2000
push 0
lea edx, [ebp - 0x202a]
push edx
call fcn.005281f0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x16]
push ecx
movzx edx, word [ebp - 0x1a]
push edx
movzx eax, word [ebp - 0x1c]
push eax
push str._04d_02d_02d
lea ecx, [ebp - 0x202c]
push ecx
call fcn.00527b98
add esp, 0x14
lea edx, [ebp - 0x202c]
push edx
push 0x5d9210
push str._sdata_s.txt
lea eax, [ebp - 0x223c]
push eax
call fcn.00527b98
add esp, 0x10
mov dword [ebp - 0x20], 0
push 0x57d9b0
lea ecx, [ebp - 0x223c]
push ecx
call fcn.0052a29d
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4559fc
mov byte [ebp - 0x3244], 0
push 0x1000
push 0
lea edx, [ebp - 0x3243]
push edx
call fcn.005281f0
add esp, 0xc
push str.username_treceived_byte__tsent_byte__r_n
lea eax, [ebp - 0x3244]
push eax
call fcn.0052a9d1
add esp, 8
mov ecx, dword [ebp - 0x20]
push ecx
push 1
lea edx, [ebp - 0x3244]
push edx
call fcn.00529140
add esp, 4
push eax
lea eax, [ebp - 0x3244]
push eax
call fcn.00529a6e
add esp, 0x10
mov dword [ebp - 0x3248], 0
jmp 0x455841
mov ecx, dword [ebp - 0x3248]
add ecx, 1
mov dword [ebp - 0x3248], ecx
mov ecx, dword [ebp - 0x326c]
add ecx, 0xa28
call fcn.00411ad0
cmp dword [ebp - 0x3248], eax
jge 0x4559f0
push 0x8067
mov edx, dword [ebp - 0x3248]
push edx
mov ecx, dword [ebp - 0x326c]
add ecx, 0xa28
call fcn.00411af0
push eax
lea eax, [ebp - 0x3260]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x3270], eax
mov ecx, dword [ebp - 0x3270]
mov dword [ebp - 0x3274], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x3274]
call fcn.00412150
push eax
mov ecx, dword [ebp - 0x326c]
call fcn.00455310
mov dword [ebp - 0x325c], eax
mov dword [ebp - 0x3258], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3260]
call fcn.00412130
push 0x8068
mov edx, dword [ebp - 0x3248]
push edx
mov ecx, dword [ebp - 0x326c]
add ecx, 0xa28
call fcn.00411af0
push eax
lea eax, [ebp - 0x3264]
push eax
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x3278], eax
mov ecx, dword [ebp - 0x3278]
mov dword [ebp - 0x327c], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x327c]
call fcn.00412150
push eax
mov ecx, dword [ebp - 0x326c]
call fcn.00455310
mov dword [ebp - 0x3254], eax
mov dword [ebp - 0x3250], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3264]
call fcn.00412130
mov edx, dword [ebp - 0x3250]
push edx
mov eax, dword [ebp - 0x3254]
push eax
mov ecx, dword [ebp - 0x3258]
push ecx
mov edx, dword [ebp - 0x325c]
push edx
mov eax, dword [ebp - 0x3248]
push eax
mov ecx, dword [ebp - 0x326c]
add ecx, 0xa28
call fcn.00411af0
push eax
lea ecx, [ebp - 0x3268]
push ecx
call fcn.00499e90
add esp, 8
mov dword [ebp - 0x3280], eax
mov edx, dword [ebp - 0x3280]
mov eax, dword [edx]
push eax
push str._s_t_I64d_t_I64d_r_n
lea ecx, [ebp - 0x3244]
push ecx
call fcn.0052a9d1
add esp, 0x1c
lea ecx, [ebp - 0x3268]
call fcn.00412130
mov edx, dword [ebp - 0x20]
push edx
push 1
lea eax, [ebp - 0x3244]
push eax
call fcn.00529140
add esp, 4
push eax
lea ecx, [ebp - 0x3244]
push ecx
call fcn.00529a6e
add esp, 0x10
jmp 0x455832
mov edx, dword [ebp - 0x20]
push edx
call fcn.00529b67
add esp, 4
mov ecx, 0x5c8790
call fcn.00423ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret