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

Disassembly:
push ebp
lea ebp, [esp - 0x1550]
mov eax, 0x1550
call fcn.00461c80
push 0xffffffffffffffff
push 0x4bf8e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4f2720]
xor eax, ebp
mov dword [ebp + 0x154c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1558]
mov edi, dword [ebp + 0x155c]
xor esi, esi
push esi
push esi
push esi
push esi
mov ebx, ecx
push 0x104
lea ecx, [ebp + 0x1448]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
push eax
mov dword [ebp - 0x14], eax
call fcn.004a9bb0
add esp, 0x20
test eax, eax
jne 0x436152
push dword [ebp - 0x14]
call fcn.004aa980
test eax, eax
pop ecx
jne 0x436152
push dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push fcn.004aa200
push eax
call fcn.0043562e
add esp, 0xc
push edi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00401130
push esi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.004016b0
test word [ebp - 0xc8], 0x800
lea eax, [ebp + 0x1448]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
push eax
je 0x435f05
call fcn.004010c0
push 0xfde9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004359e3
mov byte [ebp - 4], 4
jmp 0x435f22
call fcn.004010c0
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.004359e3
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
call fcn.004018a0
push esi
push 1
lea ecx, [ebp - 0x78]
call fcn.00401330
push esi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.004012b0
mov edi, dword [ebp + 0x14]
push 0x40e
lea eax, [ebp + 0x103a]
push esi
push eax
mov dword [ebp - 0x10], edi
mov word [ebp + 0x1038], si
call fcn.0045fa70
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
jae 0x435f76
lea eax, [ebp + 4]
lea ecx, [edi + edi]
push ecx
push eax
lea eax, [ebp + 0x1038]
push 0x410
push eax
call fcn.0045fc44
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 0x10], esi
lea edi, [ebp + 0x1038]
jl 0x435ffc
lea eax, [ebp + ebx*2 + 0x1038]
movzx ecx, word [eax]
cmp cx, si
je 0x435ff3
cmp cx, 0x5c
je 0x435fb7
cmp cx, 0x2f
jne 0x435feb
push edi
lea ecx, [ebp + 0x1c]
mov word [eax], si
call fcn.00401f50
push 0x4df450
lea ecx, [ebp + 0x1c]
call fcn.00401f50
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x435fdc
lea eax, [ebp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebp + ebx*2 + 0x103a]
inc ebx
cmp ebx, dword [ebp - 0x10]
jle 0x435f9c
jmp 0x435ffc
push edi
lea ecx, [ebp + 0x1c]
call fcn.00401f50
cmp word [edi], si
jne 0x43602b
xor edi, edi
inc edi
push esi
push 1
lea ecx, [ebp]
call fcn.00401330
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401330
lea eax, [ebp - 0x38]
push eax
call fcn.0043557e
pop ecx
mov eax, edi
jmp 0x436154
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x436037
lea eax, [ebp + 0x20]
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x436055
xor edi, edi
jmp 0x436004
push eax
push dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2c]
push eax
call fcn.0043562e
mov edi, 0x1000
push edi
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x14]
call fcn.004a9f60
add esp, 0x18
jmp 0x4360b5
je 0x4360c7
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436128
cmp dword [ebp - 0x10], ebx
jne 0x436128
push edi
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x14]
call fcn.004a9f60
add esp, 0xc
mov ebx, eax
cmp ebx, esi
jge 0x43607c
lea eax, [ebp - 0x2c]
push eax
call fcn.00435554
pop ecx
jmp 0x436051
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc0]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x20]
push eax
push eax
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x2c]
push eax
call fcn.00435554
pop ecx
push esi
push 1
lea ecx, [ebp]
call fcn.00401330
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401330
lea eax, [ebp - 0x38]
push eax
call fcn.0043557e
xor eax, eax
pop ecx
inc eax
jmp 0x436154
lea eax, [ebp - 0x2c]
push eax
call fcn.00435554
pop ecx
push esi
push 1
lea ecx, [ebp]
call fcn.00401330
push esi
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401330
lea eax, [ebp - 0x38]
push eax
call fcn.0043557e
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x154c]
xor ecx, ebp
call fcn.0045fa14
add ebp, 0x1550
leave
ret 8