Function at 0x405480
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417848
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x41fea0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401940
push str.Update_LuckyDog.ini
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00401380
add esp, 0x10
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4054ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.WebSite_cn
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LuckyDog
mov byte [ebp - 4], 3
call fcn.00401100
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 4
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00402380
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x4186a8
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.General_Settings
mov byte [ebp - 4], 6
call fcn.00401100
mov eax, dword [0x42195c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 7
mov esi, esp
push eax
call fcn.004016a0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
call fcn.00402180
add esp, 0xc
cmp eax, 0x804
jne 0x4055eb
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.WebSite_cn
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.LuckyDog
mov byte [ebp - 4], 8
call fcn.00401100
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 9
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.00402380
add esp, 0x10
mov byte [ebp - 4], 0xa
jmp 0x405700
cmp eax, 0x404
jne 0x40564a
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.WebSite_tw
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.LuckyDog
mov byte [ebp - 4], 0xb
call fcn.00401100
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0xc
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.00402380
add esp, 0x10
mov byte [ebp - 4], 0xd
jmp 0x405700
cmp eax, 0x411
jne 0x4056a6
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.WebSite_jp
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.LuckyDog
mov byte [ebp - 4], 0xe
call fcn.00401100
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.00402380
add esp, 0x10
mov byte [ebp - 4], 0x10
jmp 0x405700
cmp eax, 0x409
jne 0x405729
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.WebSite_en
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.LuckyDog
mov byte [ebp - 4], 0x11
call fcn.00401100
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x12
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.00402380
add esp, 0x10
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x10]
call fcn.00401210
mov edx, dword [ebp - 0x20]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405729
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x418268
push dword [ebp - 0x10]
call fcn.0040704d
add esp, 8
test eax, eax
sete al
test al, al
je 0x405749
xor esi, esi
jmp 0x4057ec
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.MESSAGE_UPDATE
call fcn.00401100
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.String
mov byte [ebp - 4], 0x14
call fcn.00401100
mov eax, dword [0x42195c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x15
mov esi, esp
push eax
call fcn.004016a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
push eax
call fcn.00402380
add esp, 0x10
push 1
push str.Lucky_Dog
push dword [ebp - 0x18]
push dword [0x4211d0]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x4057cb
push 3
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x18]
mov esi, 1
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4057ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40580c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40582d
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret