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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481896
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x84d0
call fcn.0046eee0
mov ecx, dword [esp + 0x84d0]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x200]
cmp eax, 2
je 0x41dd9f
mov ecx, ebx
call fcn.0040121c
push eax
push 0x6edd4c
call fcn.00440328
add esp, 8
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov esi, ecx
mov al, byte [esi + 0x8384]
test al, al
jne 0x41ddd9
mov eax, ecx
mov edx, dword [eax + 0x80bc]
cmp edx, 0x10
je 0x41de05
push 0x6edd88
call fcn.00440328
pop ecx
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebx + 0x40]
call fcn.0040121c
push eax
push 0x6edd5c
call fcn.00440328
add esp, 8
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x6eddb4
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41de1c
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x41de14
cmp eax, 0x80
jl 0x41de37
mov eax, 0x7f
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x8394], 0x7f
jmp 0x41de40
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x8394], eax
test eax, eax
jne 0x41de4c
lea esi, [edx + 0x8398]
jmp 0x41de6a
lea esi, [edx + 0x8398]
push eax
push 0x6eddb4
push esi
call fcn.0046edc0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x8394]
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + 0x20]
mov byte [edx + eax + 0x8398], 0
call fcn.0040121c
mov dword [ebp - 0x18], eax
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41de94
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x41de8c
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x8394]
mov dword [ebp - 0x1c], eax
lea edx, [ebx + eax]
cmp edx, 0x7f
jge 0x41ded3
mov edi, esi
mov edx, dword [ebp - 0x18]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41deb7
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x8394]
add ebx, dword [ebp - 0x1c]
mov dword [eax + 0x8394], ebx
mov edi, 0x6eddbc
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41deea
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x41dee2
add ebx, eax
cmp ebx, 0x7f
mov dword [ebp - 0x1c], eax
jge 0x41df1b
mov edx, 0x6eddbc
mov edi, esi
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41df05
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add dword [edx + 0x8394], eax
push 0
push 0x6eddc4
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
xor eax, eax
push eax
push 0x80
push 2
push eax
push 1
push 0x40000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edx, dword [ebp - 0x14]
cmp eax, 0xffffffff
mov dword [edx + 0x8380], eax
je 0x41e5e8
xor ecx, ecx
lea edi, [edx + 0x81e4]
mov dword [ebp - 0x84e0], ecx
mov ebx, dword [edx + 0x81e0]
inc ebx
lea esi, [ebp - 0x84e0]
push ecx
push esi
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
cmp ebx, dword [ebp - 0x84e0]
je 0x41dfc1
push 0x6eddf0
call fcn.00440328
pop ecx
mov eax, dword [ebp - 0x14]
push dword [eax + 0x8380]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov dword [eax + 0x8380], 0xffffffff
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov esi, dword [ebp - 0x14]
mov ebx, 0x8000
mov byte [esi + 0x8384], al
xor edx, edx
lea ecx, [ebp - 0x84dc]
mov byte [esi + 0x8386], al
mov dword [ebp - 0x84dc], ebx
mov dword [ebp - 0x84d8], edx
mov dword [ebp - 0x84d4], edx
mov byte [ebp - 0x4d0], al
mov byte [ebp - 0x4cf], dl
push ebx
call fcn.0042eb50
lea ecx, [ebp - 0x84dc]
push 5
push 0xa
call fcn.004292a4
lea ecx, [ebp - 0x84dc]
push 0x2b
call fcn.00428f18
lea ecx, [ebp - 0x84dc]
mov eax, esi
push dword [eax + 0x8370]
call fcn.00428f18
lea ecx, [ebp - 0x84dc]
push 2
call fcn.0042be78
lea ecx, [ebp - 0x84dc]
mov eax, esi
lea edx, [eax + 0x10]
push edx
call fcn.004276f8
lea ecx, [ebp - 0x84dc]
mov eax, esi
push dword [eax + 0x837c]
call fcn.004291a8
lea ecx, [ebp - 0x84dc]
mov eax, esi
lea edx, [eax + 0x8268]
push edx
call fcn.004276f8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x358], 0
xor al, al
mov byte [ebp - 0x354], al
mov byte [ebp - 0x3d8], al
mov dword [ebp - 4], 1
lea edx, [ebp - 0x3dc]
lea eax, [ebp - 0x358]
mov ecx, dword [0x660ef8]
push eax
push edx
push 0
call fcn.00425e4c
movzx eax, al
test eax, eax
je 0x41e14b
mov edx, dword [ebp - 0x84d8]
add edx, 7
shr edx, 3
mov eax, dword [ebp - 0x84dc]
lea ecx, [eax + eax]
add ecx, eax
shr ecx, 2
cmp edx, ecx
ja 0x41e5c2
lea ecx, [ebp - 0x84dc]
push 5
push 4
call fcn.004292a4
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x3d8]
push eax
call fcn.004276f8
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x354]
push eax
call fcn.004276f8
mov ebx, dword [ebp - 0x1c]
inc ebx
lea edx, [ebp - 0x3dc]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x358]
mov ecx, dword [0x660ef8]
push eax
push edx
push ebx
call fcn.00425e4c
movzx eax, al
test eax, eax
jne 0x41e0ce
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 0x2d0], 0
mov dword [ebp - 4], 2
mov ecx, dword [0x660ef8]
mov edx, dword [ecx]
lea eax, [ebp - 0x2d4]
push eax
push 0
call dword [edx + 0x24]
movzx eax, al
test eax, eax
je 0x41e1f6
mov edx, dword [ebp - 0x84d8]
add edx, 7
shr edx, 3
mov eax, dword [ebp - 0x84dc]
lea ecx, [eax + eax]
add ecx, eax
shr ecx, 2
cmp edx, ecx
ja 0x41e59c
lea ecx, [ebp - 0x84dc]
push 5
push 0xb
call fcn.004292a4
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004291a8
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x2d0]
push eax
call fcn.004276f8
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [0x660ef8]
mov dword [ebp - 0x1c], edx
mov ebx, dword [ecx]
lea eax, [ebp - 0x2d4]
push eax
push edx
call dword [ebx + 0x24]
movzx eax, al
test eax, eax
jne 0x41e183
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x24c], 0
mov dword [ebp - 4], 3
mov ecx, dword [0x660ef8]
mov edx, dword [ecx]
lea eax, [ebp - 0x250]
push eax
push 0
call dword [edx + 0x28]
movzx eax, al
test eax, eax
je 0x41e2a1
mov edx, dword [ebp - 0x84d8]
add edx, 7
shr edx, 3
mov eax, dword [ebp - 0x84dc]
lea ecx, [eax + eax]
add ecx, eax
shr ecx, 2
cmp edx, ecx
ja 0x41e576
lea ecx, [ebp - 0x84dc]
push 5
push 0xc
call fcn.004292a4
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004291a8
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x24c]
push eax
call fcn.004276f8
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [0x660ef8]
mov dword [ebp - 0x1c], edx
mov ebx, dword [ecx]
lea eax, [ebp - 0x250]
push eax
push edx
call dword [ebx + 0x28]
movzx eax, al
test eax, eax
jne 0x41e22e
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1cc], 0
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 4], 4
mov ecx, dword [0x660ef8]
mov edx, dword [ecx]
lea eax, [ebp - 0x1cc]
push eax
push 0
call dword [edx + 0x2c]
movzx eax, al
test eax, eax
je 0x41e34c
mov edx, dword [ebp - 0x84d8]
add edx, 7
shr edx, 3
mov eax, dword [ebp - 0x84dc]
lea ecx, [eax + eax]
add ecx, eax
shr ecx, 2
cmp edx, ecx
ja 0x41e550
lea ecx, [ebp - 0x84dc]
push 5
push 0xd
call fcn.004292a4
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004291a8
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x1c8]
push eax
call fcn.004276f8
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [0x660ef8]
mov dword [ebp - 0x1c], edx
mov ebx, dword [ecx]
lea eax, [ebp - 0x1cc]
push eax
push edx
call dword [ebx + 0x2c]
movzx eax, al
test eax, eax
jne 0x41e2d9
mov ecx, dword [0x6643e4]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
mov edx, 2
dec edx
jne 0x41e35e
mov edx, 2
dec edx
jne 0x41e366
lea edi, [ebp - 0x148]
xor eax, eax
mov ecx, 0x47
rep stosd dword es:[edi], eax
mov ecx, 0xffffffff
mov edx, 1
cmp esi, 0xffffffff
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x140], 0xfff
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], edx
mov byte [ebp - 0xef], dl
mov byte [ebp - 0x9b], dl
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x108], 0
mov ebx, dword [ebp - 0xf8]
mov dword [ebp - 0x104], ebx
mov edi, dword [ebp - 0xf4]
mov dword [ebp - 0x100], edi
mov dword [ebp - 0x48], 0xc1200000
mov dword [ebp - 0x44], 0xc1200000
mov dword [ebp - 0x40], 0xc1200000
mov dword [ebp - 0x3c], 0x41200000
mov dword [ebp - 0x38], 0x41200000
mov dword [ebp - 0x34], 0x41200000
mov dword [ebp - 0x30], 0
je 0x41e4a7
mov ecx, dword [ebp - 0x84d8]
add ecx, 7
shr ecx, 3
mov edx, dword [ebp - 0x84dc]
lea ebx, [edx + edx]
add ebx, edx
shr ebx, 2
cmp ecx, ebx
ja 0x41e52a
mov ecx, dword [0x6643e4]
mov edx, dword [ecx]
push esi
call dword [edx + 0x14]
mov ebx, eax
add ebx, 4
lea ecx, [ebp - 0x84dc]
push 5
push 0x10
call fcn.004292a4
xor edx, edx
lea ecx, [ebp - 0x84dc]
lea eax, [ebp - 0x148]
mov dword [ebp - 0x2c], edx
lea edi, [ebp - 0x2c]
push edx
push edx
push edi
push 1
push ebx
push eax
call fcn.00427e10
mov ecx, dword [0x6643e4]
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41e432
lea ecx, [ebp - 0x84dc]
push 5
push 9
call fcn.004292a4
mov eax, dword [ebp - 0x14]
push dword [eax + 0x8370]
push 0x6ede04
call fcn.00406010
add esp, 8
lea ecx, [ebp - 0x84dc]
push eax
call fcn.004276f8
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x14]
push 0
push dword [eax + 0x8380]
call fcn.00426f74
mov dword [ebp - 4], 3
mov dword [ebp - 4], 2
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x84dc]
mov edx, dword [ebp - 0x14]
push 0
push dword [edx + 0x8380]
call fcn.00426f74
lea ecx, [ebp - 0x84dc]
call fcn.00426cf8
jmp 0x41e454
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x14]
push 0
push dword [eax + 0x8380]
call fcn.00426f74
lea ecx, [ebp - 0x84dc]
call fcn.00426cf8
jmp 0x41e2fb
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x14]
push 0
push dword [eax + 0x8380]
call fcn.00426f74
lea ecx, [ebp - 0x84dc]
call fcn.00426cf8
jmp 0x41e250
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x14]
push 0
push dword [eax + 0x8380]
call fcn.00426f74
lea ecx, [ebp - 0x84dc]
call fcn.00426cf8
jmp 0x41e1a5
lea ecx, [ebp - 0x84dc]
mov eax, dword [ebp - 0x14]
push 0
push dword [eax + 0x8380]
call fcn.00426f74
lea ecx, [ebp - 0x84dc]
call fcn.00426cf8
jmp 0x41e0f0
push esi
push 0x6eddcc
call fcn.00440328
add esp, 8
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4