Function at 0x4101c0
Capabilities:
Create directory
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5484ff
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x582654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x90], edi
push 6
push str.plugin
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00404940
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0053a9e3
push 0x553864
lea eax, [ebp - 0x88]
xor ebx, ebx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404c50
add esp, 0x10
mov ecx, dword [0x589d90]
mov byte [ebp - 4], 1
call fcn.0041ff70
mov edx, eax
cmp byte [edx], bl
jne 0x41026e
xor ecx, ecx
jmp 0x41027c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410273
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00414b10
push 5
push str..json
lea ecx, [ebp - 0x58]
call fcn.00414b10
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0x553858
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00521cc9
mov esi, eax
add esp, 8
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x410309
push 2
push 0
push esi
call fcn.00528c9d
push esi
call fcn.0052920f
mov edi, eax
lea esi, [edi + 1]
push esi
call fcn.005238ab
push esi
mov ebx, eax
push 0
push ebx
call fcn.00527170
mov esi, dword [ebp - 0x8c]
push 0
push 0
push esi
call fcn.00528c9d
push esi
push edi
push 1
push ebx
call fcn.00528933
push esi
call fcn.005286e7
mov edi, dword [ebp - 0x90]
add esp, 0x40
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
jne 0x41038d
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004113e0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x41036f
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x410352
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414d10
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004141b0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41045e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414d10
jmp 0x41045e
cmp eax, 1
jne 0x4103f0
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00411fc0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4103d9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4103bc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414d10
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004141b0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41045e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414d10
jmp 0x41045e
cmp eax, 2
jne 0x410403
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00410b70
jmp 0x41044d
cmp eax, 3
jne 0x410416
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0040f2b0
jmp 0x41044d
cmp eax, 4
jne 0x410429
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.0040f690
jmp 0x41044d
cmp eax, 5
jne 0x41043c
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00410590
jmp 0x41044d
cmp eax, 6
jne 0x41045e
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00411cc0
push eax
lea ecx, [ebp - 0x28]
call fcn.00408c30
lea ecx, [ebp - 0x40]
call fcn.00408620
test ebx, ebx
je 0x41046b
push ebx
call fcn.005238b4
add esp, 4
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.00478b40
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 0x553868
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00521cc9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4104d5
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push esi
push dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push 1
push ecx
call fcn.00529452
push esi
call fcn.005286e7
add esp, 0x14
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4104ea
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00404ab0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 8
jb 0x410511
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414d10
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x41053a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404ab0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x410567
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00404ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052388c
mov esp, ebp
pop ebp
ret 4