Function at 0x4395e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x485f60
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b59f4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b59f4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
push 0xc
mov ebp, ecx
mov esi, 0xf
push str._silkcfg.dat
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00406970
mov eax, 0x4b8e60
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x439650
sub eax, edx
push eax
push 0x4b8e60
lea ecx, [esp + 0x24]
call fcn.00406970
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x88], 1
call fcn.004392a0
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp eax, 0x10
jb 0x4396a3
add eax, 1
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00406020
add esp, 8
mov eax, dword [esp + 0x50]
cmp eax, 0x10
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x4396c9
mov ecx, dword [esp + 0x3c]
add eax, 1
push eax
push ecx
call fcn.00406020
add esp, 8
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4396d8
lea eax, [esp + 0x58]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439716
mov eax, dword [esp + 0x6c]
cmp eax, 0x10
jb 0x43970f
mov edx, dword [esp + 0x58]
add eax, 1
push eax
push edx
call fcn.00406020
add esp, 8
xor al, al
jmp 0x43980d
mov eax, dword [ebp + 0x184]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push esi
mov dword [esp + 0x2c], eax
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [ebp + 0x188]
push ecx
push esi
call edi
push ebx
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [ebp + 0x18c]
push eax
push esi
call edi
push ebx
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [ebp + 0x190]
push edx
push esi
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [ebp + 0x194]
push ecx
push esi
call edi
push ebx
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [ebp + 0x195]
push eax
push esi
call edi
push ebx
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [ebp + 0x196]
push edx
push esi
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [ebp + 0x197]
push ecx
push esi
call edi
push ebx
lea edx, [esp + 0x18]
push edx
push 1
lea eax, [ebp + 0x198]
push eax
push esi
call edi
push ebx
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [ebp + 0x199]
push edx
push esi
call edi
push ebx
lea eax, [esp + 0x18]
push eax
push 1
add ebp, 0x19a
push ebp
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x6c]
cmp eax, 0x10
jb 0x43980b
mov ecx, dword [esp + 0x58]
add eax, 1
push eax
push ecx
call fcn.00406020
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0046fe25
add esp, 0x6c
ret