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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x42cc
call fcn.00556c40
mov eax, dword [0x60e9b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x401c
lea eax, [ebp - 0x4230]
mov dword [ebp - 0x426c], edx
xorps xmm0, xmm0
mov dword [ebp - 0x4268], 0
push 0
push eax
mov esi, ecx
movq qword [ebp - 0x4264], xmm0
call fcn.00559270
add esp, 0xc
lea eax, [ebp - 0x42c8]
push 0x50
push 0
push eax
call fcn.00559270
add esp, 0xc
mov dword [ebp - 0x4234], 0
xor edi, edi
mov dword [ebp - 0x4258], 0
mov dword [ebp - 0x4248], edi
mov dword [ebp - 0x4254], edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push esi
mov dword [ebp - 0x4274], 0xffffffff
mov dword [ebp - 0x4250], edi
mov dword [ebp - 0x4270], edi
mov dword [ebp - 0x4238], 0x4546d0
mov dword [ebp - 0x4234], 0x4546f0
mov dword [ebp - 0x425c], 0x4546d0
mov dword [ebp - 0x4258], 0x4546f0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4260], eax
cmp eax, 0xffffffff
jne 0x451a44
call esi
mov ebx, eax
test ebx, ebx
jne 0x451d95
lea eax, [ebp - 0x4268]
mov dword [ebp - 0x4268], 0x454810
mov dword [ebp - 0x4264], 0x454830
mov dword [ebp - 0x4230], 0x4548d0
mov dword [ebp - 0x422c], 0x454930
mov dword [ebp - 0x4228], 0x454940
mov dword [ebp - 0x4224], 0x454990
mov dword [ebp - 0x4220], eax
mov dword [ebp - 0x4218], edi
mov dword [ebp - 0x421c], edi
call fcn.004549b0
lea ecx, [ebp - 0x42c8]
call fcn.00452190
lea eax, [ebp - 0x425c]
push eax
lea eax, [ebp - 0x4238]
push eax
lea edx, [ebp - 0x4230]
call fcn.004540f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x451ae3
lea edx, [ebp - 0x4238]
lea ecx, [ebp - 0x42c8]
call fcn.00452200
test ebx, ebx
jne 0x451d95
xor esi, esi
mov dword [ebp - 0x423c], esi
cmp dword [ebp - 0x42ac], esi
jbe 0x451d79
mov eax, dword [ebp - 0x42b8]
add eax, 0x19
mov dword [ebp - 0x4244], eax
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00559270
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [ebp - 0x426c]
push 0x104
push eax
call fcn.0056af0b
mov edx, dword [ebp - 0x4288]
add esp, 0xc
mov eax, dword [ebp - 0x423c]
mov dword [ebp - 0x4240], 0
mov dword [ebp - 0x424c], 0
mov esi, dword [edx + esi*4 + 4]
sub esi, dword [edx + eax*4]
cmp esi, dword [ebp - 0x4254]
jbe 0x451ba5
push edi
call fcn.0055c217
add esp, 4
mov dword [ebp - 0x4254], esi
add esi, esi
je 0x451d6a
push esi
call fcn.005643c2
mov edi, eax
add esp, 4
mov dword [ebp - 0x4248], edi
test edi, edi
je 0x451d6c
mov edx, dword [ebp - 0x4288]
mov esi, dword [ebp - 0x423c]
mov ecx, dword [edx + esi*4]
mov edx, dword [edx + esi*4 + 4]
sub edx, ecx
test edi, edi
je 0x451be6
mov eax, dword [ebp - 0x4284]
lea esi, [eax + ecx*2]
test edx, edx
je 0x451be0
mov ecx, edi
sub esi, edi
nop dword [eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x451bd0
mov esi, dword [ebp - 0x423c]
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x4244]
cmp byte [eax], 0
jne 0x451c4f
lea eax, [ebp - 0x425c]
push eax
lea eax, [ebp - 0x4238]
push eax
lea eax, [ebp - 0x424c]
push eax
lea eax, [ebp - 0x4240]
push eax
lea eax, [ebp - 0x4270]
push eax
lea eax, [ebp - 0x4250]
push eax
lea eax, [ebp - 0x4274]
push eax
push esi
lea edx, [ebp - 0x4230]
lea ecx, [ebp - 0x42c8]
call fcn.00454480
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x451d79
xor edi, edi
cmp word [ebp - 0x210], di
je 0x451cad
xor ecx, ecx
lea esi, [ebp - 0x210]
movzx eax, word [esi]
cmp eax, 0x2f
je 0x451c74
mov edx, 0x2f2f
cmp ax, dx
jne 0x451c9b
cmp ecx, 0x208
jae 0x451e60
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
lea esi, [ebp - 0x210]
lea ecx, [edi + edi]
add esi, ecx
cmp word [esi], 0
jne 0x451c62
mov edi, dword [ebp - 0x4244]
lea eax, [ebp - 0x210]
push 0
cmp byte [edi], 0
je 0x451cc9
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x451d3d
mov edi, dword [ebp - 0x4240]
xor ebx, ebx
add edi, dword [ebp - 0x4250]
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x451cfa
mov ebx, 1
jmp 0x451d37
push 0
lea eax, [ebp - 0x4240]
mov dword [ebp - 0x4240], ebx
push eax
push dword [ebp - 0x424c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x424c]
cmp dword [ebp - 0x4240], eax
mov eax, 1
cmovne ebx, eax
cmp esi, 0xffffffff
je 0x451d37
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x4244]
test ebx, ebx
jne 0x451d73
mov esi, dword [ebp - 0x423c]
add edi, 0x20
inc esi
mov dword [ebp - 0x4244], edi
mov edi, dword [ebp - 0x4248]
mov dword [ebp - 0x423c], esi
cmp esi, dword [ebp - 0x42ac]
jae 0x451d79
jmp 0x451b10
xor edi, edi
mov ebx, 1
jmp 0x451d79
mov edi, dword [ebp - 0x4248]
push dword [ebp - 0x4250]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
push dword [ebp - 0x4298]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4294]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4290]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x428c]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4288]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
push dword [ebp - 0x4284]
lea eax, [ebp - 0x4238]
push eax
call dword [ebp - 0x4234]
lea edx, [ebp - 0x4238]
mov dword [ebp - 0x4284], 0
lea ecx, [ebp - 0x42c8]
mov dword [ebp - 0x4280], 0
call fcn.004520e0
push edi
call fcn.0055c217
mov eax, dword [ebp - 0x4260]
add esp, 0x34
cmp eax, 0xffffffff
je 0x451e4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x451e4d
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555b37
mov esp, ebp
pop ebp
ret
call fcn.00556356
int3