Function at 0x4001f427
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x40071dc6
call fcn.4006f3a0
mov eax, dword [0x400977fc]
sub esp, 0x58
cmp dword [eax - 0xc], 0
push ebx
push esi
push edi
jne 0x4001f449
mov al, 1
jmp 0x4001f746
mov ecx, str.PropertyService_fenrir.co.jp
call fcn.400047fe
xor ebx, ebx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
call fcn.400081d4
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4001f736
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push esi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x4001f717
test eax, eax
je 0x4001f717
test ecx, ecx
je 0x4001f717
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0x20], ebx
call dword [ecx + 0x14]
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
cmovs edi, ecx
js 0x4001f70f
test edi, edi
je 0x4001f70f
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.40020ffa
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], ebx
test edi, edi
je 0x4001f65b
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x30]
call fcn.40006f05
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x2c], 0
push edx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x4001f513
xor eax, eax
jmp 0x4001f51b
mov ecx, dword [ebp - 0x2c]
call fcn.40007b6e
lea ecx, [ebp - 0x30]
mov edx, eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.40004aac
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.40004636
call fcn.40001ce1
push eax
lea ecx, [ebp - 0x34]
call fcn.40006f05
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x2c], 0
push edx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x4001f564
xor eax, eax
jmp 0x4001f56c
mov ecx, dword [ebp - 0x2c]
call fcn.40007b6e
lea ecx, [ebp - 0x34]
mov edx, eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.40004aac
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.40004636
push 7
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.4000d7d4
push str.client.
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.40006fbb
mov byte [ebp - 4], 9
test eax, eax
mov ecx, dword [ebp - 0x44]
setne bl
lea ecx, [ecx - 0x10]
call fcn.40004636
test bl, bl
je 0x4001f632
push 0x4007f4e4
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.40009e4c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.40009deb
push 0x40081d50
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.40009e4c
add esp, 0xc
mov byte [ebp - 4], 0xd
movzx ecx, byte [0x40097a0b]
push ecx
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.400211c0
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ebx, dword [ebp - 0x3c]
inc ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, edi
jb 0x4001f4e7
cmp dword [ebp - 0x54], 0
jne 0x4001f668
mov bl, 1
jmp 0x4001f705
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push 0x4007c450
push dword [0x400977fc]
push eax
call fcn.40056c18
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x4001f68d
xor bl, bl
jmp 0x4001f705
push str._Default__n
lea ecx, [ebp - 0x24]
call fcn.400069d1
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x58]
mov eax, dword [edi]
mov dword [ebp - 0x3c], eax
jmp 0x4001f6c2
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x24]
push dword [eax - 0xc]
push eax
call fcn.4000e154
lea ecx, [ebp - 0x3c]
call fcn.40008e62
mov eax, dword [ebp - 0x3c]
cmp eax, edi
jne 0x4001f6a8
push dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
call fcn.40006970
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x1c]
push dword [eax - 0xc]
push 1
push eax
call fcn.400573e7
push dword [ebp - 0x1c]
call fcn.4005492d
mov ecx, dword [ebp - 0x40]
add esp, 0x14
mov bl, 1
lea ecx, [ecx - 0x10]
call fcn.40004636
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.40004636
lea ecx, [ebp - 0x58]
call fcn.40020cd6
jmp 0x4001f711
mov bl, 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4001f728
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x4001f736
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4001f744
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret