Function at 0x41bfa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515f85
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
push edi
call edx
test al, al
jne 0x41c391
lea eax, [esp + 0x24]
push eax
call fcn.004522b0
lea ecx, [esp + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x9c], esi
call fcn.00452ce0
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x9c], 1
call fcn.00453110
mov byte [esp + 0x98], 2
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
mov edx, dword [edx + 0xc]
push 1
push edx
add eax, ecx
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
call fcn.004659e0
test al, al
jne 0x41c0bf
mov ecx, dword [esp + 0x18]
cmp ecx, esi
mov dword [esp + 0x14], vtable.GameMgr::GMJsonStyledWriter.0
je 0x41c06f
mov edi, ecx
call fcn.00453050
push edi
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x20]
cmp edi, esi
mov dword [esp + 0x14], vtable.GameMgr::IJsonParseWriter.0
mov dword [esp + 0x1c], vtable.GameMgr::GMJsonReader.0
je 0x41c09b
mov ebx, edi
call fcn.00452c80
push ebx
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], vtable.GameMgr::IJonParseReader.0
mov dword [esp + 0x9c], 0xffffffff
call fcn.00452520
xor al, al
jmp 0x41c393
cmp dword [ebx + 0x3c], 8
jb 0x41c0ca
mov eax, dword [ebx + 0x28]
jmp 0x41c0cd
lea eax, [ebx + 0x28]
call fcn.0042bbb0
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00452470
mov esi, eax
push 0x51bd20
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0xa4], 3
call fcn.00452810
push str.homepage
lea edx, [esp + 0x48]
push edx
push eax
mov byte [esp + 0xa4], 4
call fcn.00452810
push str.type
lea ecx, [esp + 0x30]
push ecx
push eax
mov byte [esp + 0xa4], 5
call fcn.00452810
mov byte [esp + 0x98], 6
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0xc]
mov esi, dword [ecx + 0xc]
call fcn.00462fb0
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x9c], 5
call fcn.00452520
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x9c], 4
call fcn.00452520
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 3
call fcn.00452520
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x9c], 2
call fcn.00452520
lea ecx, [edi + 0x90]
lea esi, [esp + 0x50]
call fcn.004495e0
mov byte [esp + 0x98], 7
cmp dword [eax + 0x18], 0x10
jb 0x41c1ae
mov eax, dword [eax + 4]
jmp 0x41c1b1
add eax, 4
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
call fcn.004523f0
mov esi, eax
push 0x51bd20
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xa4], 8
call fcn.00452810
push str.homepage
lea ecx, [esp + 0x38]
push ecx
push eax
mov byte [esp + 0xa4], 9
call fcn.00452810
push str.customized_url
lea edx, [esp + 0x40]
push edx
push eax
mov byte [esp + 0xa4], 0xa
call fcn.00452810
mov byte [esp + 0x98], 0xb
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov esi, dword [edx + 0xc]
call fcn.00462fb0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x9c], 0xa
call fcn.00452520
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x9c], 9
call fcn.00452520
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9c], 8
call fcn.00452520
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x9c], 7
call fcn.00452520
mov edi, 0x10
mov byte [esp + 0x98], 2
cmp dword [esp + 0x68], edi
jb 0x41c28c
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004e7d7e
add esp, 4
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x70]
xor esi, esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], esi
mov byte [esp + 0x5c], 0
call fcn.004531e0
mov ecx, dword [ebx + 0x6c]
push esi
push esi
push esi
push ecx
mov dword [esp + 0x5c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x84], edi
mov eax, dword [esp + 0x70]
jae 0x41c2d4
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x80]
push esi
lea edx, [esp + 0x50]
push edx
mov edx, dword [ebx + 0x6c]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esp + 0x84], edi
jb 0x41c30d
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004e7d7e
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, esi
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
mov dword [esp + 0x14], vtable.GameMgr::GMJsonStyledWriter.0
je 0x41c348
mov edi, ecx
call fcn.00453050
push edi
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x20]
cmp edi, esi
mov dword [esp + 0x14], vtable.GameMgr::IJsonParseWriter.0
mov dword [esp + 0x1c], vtable.GameMgr::GMJsonReader.0
je 0x41c374
mov ebx, edi
call fcn.00452c80
push ebx
call fcn.004e7d7e
add esp, 4
mov dword [esp + 0x20], esi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x20], vtable.GameMgr::IJonParseReader.0
mov dword [esp + 0x9c], 0xffffffff
call fcn.00452520
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret 4