Function at 0x41ef90
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e4529
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [esi]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x20], esi
call eax
test al, al
jne 0x41f5c1
xor ebx, ebx
mov dword [esp + 0xa0], ebx
push 0x10
mov dword [esp + 0x24], vtable.GameMgr::GMJsonValue.0
call fcn.004b6eb3
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0xa0], 1
je 0x41f020
push eax
call fcn.0044853d
jmp 0x41f022
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xa0], 3
push 0x78
mov dword [esp + 0x54], vtable.GameMgr::GMJsonReader.0
call fcn.004b6eb3
add esp, 4
cmp eax, ebx
je 0x41f085
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x3c], ebx
mov ecx, 0xf
mov dword [eax + 0x40], ecx
mov byte [eax + 0x2c], bl
mov dword [eax + 0x70], ecx
mov dword [eax + 0x6c], ebx
mov byte [eax + 0x5c], bl
mov edi, eax
mov byte [eax + 0x74], 1
mov byte [eax + 0x75], bl
mov dword [esp + 0x10], edi
jmp 0x41f08b
mov dword [esp + 0x10], ebx
mov edi, ebx
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0xa4], 4
call fcn.00448f56
mov byte [esp + 0xa0], 5
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x74]
mov edx, dword [edx + 0xc]
push 1
push edx
add eax, ecx
push eax
push ecx
mov esi, edi
call fcn.00454933
test al, al
jne 0x41f212
mov esi, dword [esp + 0x18]
cmp esi, ebx
mov dword [esp + 0x14], vtable.GameMgr::GMJsonStyledWriter.0
je 0x41f197
mov dword [esi], vtable.Json::StyledWriter.0
cmp dword [esi + 0x48], 0x10
mov dword [esp + 0x10], esi
jb 0x41f0fc
mov eax, dword [esi + 0x34]
push eax
call fcn.004b6eae
add esp, 4
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x44], ebx
mov byte [esi + 0x34], bl
cmp dword [esi + 0x2c], 0x10
jb 0x41f11b
mov eax, dword [esi + 0x18]
push eax
call fcn.004b6eae
add esp, 4
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x41f17b
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esp + 0x1c], ecx
je 0x41f16f
lea esi, [eax + 0x18]
lea ecx, [ecx]
cmp dword [esi], 0x10
jb 0x41f155
mov eax, dword [esi - 0x14]
push eax
call fcn.004b6eae
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, ecx
jne 0x41f140
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 8]
push eax
call fcn.004b6eae
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
push esi
mov dword [esi], vtable.Json::Writer.0
call fcn.004b6eae
add esp, 4
mov dword [esp + 0x18], ebx
cmp edi, ebx
mov dword [esp + 0x14], vtable.GameMgr::IJsonParseWriter.0
je 0x41f1f6
cmp dword [edi + 0x70], 0x10
jb 0x41f1b5
mov eax, dword [edi + 0x5c]
push eax
call fcn.004b6eae
add esp, 4
mov esi, 0xf
mov dword [edi + 0x70], esi
mov dword [edi + 0x6c], ebx
mov byte [edi + 0x5c], bl
cmp dword [edi + 0x40], 0x10
jb 0x41f1d5
mov eax, dword [edi + 0x2c]
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], ebx
lea eax, [edi + 0x14]
mov byte [edi + 0x2c], bl
call fcn.00448e70
mov esi, edi
call fcn.00448e23
push edi
call fcn.004b6eae
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0xa4], 0xffffffff
call fcn.00448908
xor al, al
jmp 0x41f5c3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x3c], 8
jb 0x41f221
mov eax, dword [eax + 0x28]
jmp 0x41f224
add eax, 0x28
call fcn.0042f2c8
push eax
lea edx, [esp + 0x44]
push edx
call fcn.00448892
mov esi, eax
push 0x4ee0b0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xac], 6
call fcn.00448a59
push str.homepage
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0xac], 7
call fcn.00448a59
push str.type
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0xac], 8
call fcn.00448a59
mov byte [esp + 0xa0], 9
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 4]
mov esi, dword [edx + 0xc]
push ecx
call fcn.00452e0b
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xa4], 8
call fcn.00448908
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0xa4], 7
call fcn.00448908
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0xa4], 6
call fcn.00448908
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 5
call fcn.00448908
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x58]
add eax, 0x90
push ecx
call fcn.00442c8d
add esp, 4
mov byte [esp + 0xa0], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x41f30d
mov eax, dword [eax + 4]
jmp 0x41f310
add eax, 4
push eax
lea edx, [esp + 0x34]
push edx
call fcn.0044883f
mov esi, eax
push 0x4ee0b0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0xac], 0xb
call fcn.00448a59
push str.homepage
lea edx, [esp + 0x4c]
push edx
push eax
mov byte [esp + 0xac], 0xc
call fcn.00448a59
push str.customized_url
lea ecx, [esp + 0x44]
push ecx
push eax
mov byte [esp + 0xac], 0xd
call fcn.00448a59
mov byte [esp + 0xa0], 0xe
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0xc]
mov edx, dword [eax + 4]
mov esi, dword [edx + 0xc]
push ecx
call fcn.00452e0b
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0xa4], 0xd
call fcn.00448908
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0xa4], 0xc
call fcn.00448908
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xa4], 0xb
call fcn.00448908
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xa4], 0xa
call fcn.00448908
mov byte [esp + 0xa0], 5
cmp dword [esp + 0x70], 0x10
jb 0x41f3e7
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004b6eae
add esp, 4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00448fe0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x41f431
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x88]
push ebx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0x6c]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, 0x10
cmp dword [esp + 0x8c], esi
jb 0x41f46f
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x14], vtable.GameMgr::GMJsonStyledWriter.0
je 0x41f54c
mov edi, eax
mov dword [eax], vtable.Json::StyledWriter.0
cmp dword [edi + 0x48], esi
jb 0x41f4b2
mov eax, dword [edi + 0x34]
push eax
call fcn.004b6eae
add esp, 4
mov esi, 0xf
mov dword [edi + 0x48], esi
mov dword [edi + 0x44], ebx
mov byte [edi + 0x34], bl
cmp dword [edi + 0x2c], 0x10
jb 0x41f4d2
mov eax, dword [edi + 0x18]
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 0x2c], esi
mov dword [edi + 0x28], ebx
mov byte [edi + 0x18], bl
mov esi, dword [edi + 8]
cmp esi, ebx
je 0x41f527
mov eax, dword [edi + 0xc]
cmp esi, eax
mov dword [esp + 0x28], eax
je 0x41f51b
add esi, 0x18
cmp dword [esi], 0x10
jb 0x41f505
mov eax, dword [esi - 0x14]
push eax
call fcn.004b6eae
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, eax
jne 0x41f4f0
mov eax, dword [edi + 8]
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
push edi
mov dword [edi], vtable.Json::Writer.0
call fcn.004b6eae
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x18], ebx
mov esi, 0x10
cmp edi, ebx
mov dword [esp + 0x14], vtable.GameMgr::IJsonParseWriter.0
je 0x41f5ac
cmp dword [edi + 0x70], esi
jb 0x41f569
mov eax, dword [edi + 0x5c]
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 0x70], 0xf
mov dword [edi + 0x6c], ebx
mov byte [edi + 0x5c], bl
cmp dword [edi + 0x40], esi
jb 0x41f587
mov eax, dword [edi + 0x2c]
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 0x40], 0xf
mov dword [edi + 0x3c], ebx
lea eax, [edi + 0x14]
mov byte [edi + 0x2c], bl
call fcn.00448e70
mov esi, edi
call fcn.00448e23
push edi
call fcn.004b6eae
add esp, 4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xa4], 0xffffffff
call fcn.00448908
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004b6e9f
mov esp, ebp
pop ebp
ret 4