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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.00425719
push 0x5130c8
mov ecx, edi
call fcn.004a1101
test al, al
je 0x425bff
call fcn.004b9bdb
test al, al
je 0x425bff
mov eax, 0x666
jmp 0x425c82
push ebx
push 0x5109c0
mov ecx, edi
call fcn.004a1101
xor ebx, ebx
test al, al
je 0x425c31
call fcn.00406a33
test eax, eax
je 0x425c8d
mov ecx, dword [0x88f7f0]
push 0x2710
call fcn.00406f25
test al, al
jne 0x425c8d
jmp 0x425c7c
lea edi, [esi + 0x2c]
mov eax, dword [edi]
cmp eax, ebx
je 0x425c8d
xor ecx, ecx
cmp byte [eax], bl
sete cl
cmp cl, bl
jne 0x425c8d
mov ecx, edi
call fcn.004a0e99
mov ecx, eax
call fcn.0049ffbe
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004a0ff9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x511478
call fcn.004b89c4
lea ecx, [ebp - 4]
test al, al
je 0x425c88
call fcn.004a0c7d
mov eax, 0x666
pop ebx
pop edi
pop esi
leave
ret 4
call fcn.004a0c7d
lea ecx, [ebp - 0x78]
call fcn.00425fe6
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x5130a4
lea ecx, [ebp - 0x78]
call fcn.00476581
lea ecx, [ebp - 0x78]
call fcn.00425f9d
push 0x14
pop edx
lea ecx, [ebp - 0x40]
call fcn.004b6782
lea eax, [ebp - 0x40]
push eax
push 0x29
pop edx
lea ecx, [ebp - 0xa4]
call fcn.00428ab1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.004a1682
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
je 0x425ceb
xor eax, eax
cmp word [ecx], bx
sete al
cmp al, bl
je 0x425d18
lea edi, [esi + 4]
mov ecx, edi
call fcn.004a0ff9
push 0x5c
push eax
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
cmp eax, ebx
je 0x425d08
add eax, 2
jmp 0x425d0f
mov ecx, edi
call fcn.004a0ff9
push eax
lea ecx, [ebp - 0x10]
call fcn.004a101e
lea ecx, [esi + 0x40]
call fcn.004a0ff9
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004a0ff9
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00455716
lea ecx, [esi + 0x30]
call fcn.004a0e99
mov ecx, eax
call fcn.0049e604
push eax
push 0x88d7d8
lea eax, [ebp - 0xc]
push 0x513098
push eax
call fcn.004a1618
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
mov ecx, eax
call fcn.004697fe
push ebx
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esi]
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0x18], ebx
jbe 0x425eab
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ecx + eax]
mov ecx, edi
call fcn.0049e604
push eax
lea ecx, [ebp - 0xc]
call fcn.004a0ff9
push eax
lea eax, [ebp - 8]
push 0x513098
push eax
call fcn.004a1618
mov eax, edi
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x425dbd
sub eax, ecx
push 0x2f
push edi
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_strrchr
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
sub eax, edi
dec ecx
cmp eax, ecx
push ebx
lea ecx, [ebp - 8]
jne 0x425df2
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x425e8e
push 0x80
push 2
push ebx
push ebx
push 0x40000000
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x425e46
lea ecx, [ebp - 8]
call fcn.00482458
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [ebp - 8]
call fcn.004a0ff9
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x425f34
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0049e604
mov ecx, dword [ebp - 0x14]
mov edx, eax
call fcn.004fa290
push ebx
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425f5c
mov dl, 1
mov ecx, edi
call fcn.00479b79
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.004a0c7d
inc dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x1c], 0x14
cmp ecx, dword [eax + 0x18]
jb 0x425d8d
lea eax, [ebp - 0xa4]
push eax
lea ecx, [esi + 8]
call fcn.004a0ff9
push eax
lea eax, [ebp - 0x20]
push 0x51305c
push eax
call fcn.004a1618
mov edx, dword [ebp + 8]
add esp, 0x10
mov ecx, esi
call fcn.00425b86
call fcn.0049b96a
lea ecx, [ebp - 0x78]
call fcn.00426099
push dword [ebp - 0x74]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esi + 0x40]
call fcn.004a0ff9
mov ecx, eax
call fcn.0042876e
push eax
lea ecx, [esi + 0x28]
call fcn.004a0e99
mov ecx, eax
call fcn.0042897a
push eax
push 0x8020
push dword [0x890598]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x517834
lea ecx, [esi + 0x48]
call fcn.004a101e
lea ecx, [ebp - 0x20]
call fcn.004a0c7d
jmp 0x425f7e
lea ecx, [ebp - 8]
call fcn.004a0c7d
lea ecx, [ebp - 0xc]
call fcn.004a0c7d
lea ecx, [ebp - 0x10]
call fcn.004a0c7d
lea ecx, [ebp - 0x78]
call fcn.00426043
or eax, 0xffffffff
jmp 0x425c81
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 4]
call fcn.00481ff4
mov dl, 1
mov ecx, edi
call fcn.00479b79
lea ecx, [ebp - 8]
call fcn.004a0c7d
or ebx, 0xffffffff
lea ecx, [ebp - 0xc]
call fcn.004a0c7d
lea ecx, [ebp - 0x10]
call fcn.004a0c7d
lea ecx, [ebp - 0x78]
call fcn.00426043
mov eax, ebx
jmp 0x425c81