Function at 0x4360fb
Capabilities:
Initialize winsock library
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x8f30
call fcn.004eaef0
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0x8f2c], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x104
push 0x54e030
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esp + 8], eax
mov ecx, eax
movzx eax, word [ecx + 0x54e030]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x8d26], ax
test ax, ax
jne 0x43613e
push 0x5c
push 0x54e030
call fcn.004dacbe
xor ecx, ecx
mov word [eax + 2], cx
call fcn.00435ba2
call fcn.00435c93
push 7
push str.__type
push esi
call fcn.004dc80c
add esp, 0x14
test eax, eax
jne 0x43627c
call sub.libcef.dll_cef_enable_highdpi_support
xor eax, eax
mov dword [esp + 0x24], vtable.CefMainArgs.0
mov dword [esp + 0x28], eax
push 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
call fcn.004da35a
pop ecx
test eax, eax
je 0x4361bc
push ecx
mov ecx, eax
call fcn.004055ea
xor esi, esi
jmp 0x4361c0
xor esi, esi
mov eax, esi
push eax
lea ecx, [esp + 0xc]
call fcn.00405422
push esi
push ecx
mov ecx, esp
push dword [esp + 0x10]
call fcn.00405422
lea eax, [esp + 0x2c]
push eax
call fcn.004c5bb0
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x43626e
mov edi, 0xc0
mov dword [esp + 0x118], vtable.CefStructBase_struct_CefSettingsTraits_.0
push edi
lea eax, [esp + 0x120]
push esi
push eax
call fcn.004deff0
add esp, 0xc
mov dword [esp + 0x11c], edi
xor eax, eax
mov dword [esp + 0x124], 1
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x134], eax
push eax
push ecx
mov ecx, esp
push dword [esp + 0x10]
call fcn.00405422
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004c5c60
add esp, 0x10
call sub.libcef.dll_cef_run_message_loop
call sub.libcef.dll_cef_shutdown
xor ecx, ecx
mov edi, ecx
lea ecx, [esp + 0x118]
call fcn.004368bb
lea ecx, [esp + 8]
call fcn.00405310
jmp 0x4368a3
push esi
mov ecx, 0x54e460
call fcn.004028f2
push str._InstallOtherSoftware
push esi
call fcn.004dad64
pop ecx
pop ecx
test eax, eax
je 0x4362cf
xor ecx, ecx
push ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x1f0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00435ba2
lea eax, [esi + 0x2c]
push eax
call fcn.00410383
mov dword [esp + 8], 1
jmp 0x436536
push 0x525a20
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4362eb
call fcn.00435b55
xor eax, eax
jmp 0x4368a5
movss xmm0, dword [0x54e494]
lea edi, [esp + 0x8d15]
xor eax, eax
mov byte [esp + 0x8d14], 0
stosd dword es:[edi], eax
cvtps2pd xmm0, xmm0
push ecx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movsd qword [esp], xmm0
push str._0.3f
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x8d20]
push eax
call fcn.004da993
lea eax, [esp + 0x8d24]
push eax
push str._0_3K953f9rZYc3r_5dGl_nlangDYxdghM_._kl
push 0x525a5c
call dword [sym.imp.Http.dll_SetDocsParam]
mov edx, esi
add esp, 0x1c
xor ecx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x436349
sub edx, edi
sar edx, 1
jne 0x436363
call fcn.004b082c
test eax, eax
jne 0x4362e4
push str._writechannel
push esi
call fcn.004dad64
pop ecx
pop ecx
test eax, eax
je 0x436380
mov ecx, esi
call fcn.00435f90
jmp 0x4362e4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x380]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push str._install
push esi
call edi
test eax, eax
jne 0x436400
call fcn.004af9fe
call fcn.0046973e
xor eax, eax
push 0x206
push eax
mov word [esp + 0x8d30], ax
lea eax, [esp + 0x8d32]
push eax
call fcn.004deff0
add esp, 0xc
lea eax, [esp + 0x8d28]
push 0x104
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x8d28]
call fcn.0043221f
jmp 0x436536
push str._uninstall
push esi
call fcn.004dad64
pop ecx
pop ecx
test eax, eax
je 0x43643e
mov ecx, 0x525ac4
call fcn.004b82fa
mov ecx, str.6wanWebGame.exe
call fcn.004b82fa
mov ecx, 0x5256c8
call fcn.004b82fa
call fcn.004aff37
call fcn.00432306
jmp 0x436530
push 0x515244
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43654b
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x514f90
push esi
call edi
test eax, eax
je 0x436530
lea ecx, [esp + 0xc]
call fcn.00433693
push dword [eax]
push str.6wanGameHall
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00403080
test edi, edi
je 0x436530
mov edx, 0x512700
mov ecx, esi
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4364d5
test ax, ax
je 0x4364cf
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4364d5
add ecx, 4
add edx, 4
test ax, ax
jne 0x4364ad
xor ecx, ecx
mov eax, ecx
jmp 0x4364dc
sbb eax, eax
or eax, 1
xor ecx, ecx
test eax, eax
je 0x436520
mov edx, esi
mov dword [esp + 0x18], 0x342
lea eax, [edx + 2]
mov dword [esp + 8], eax
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x4364f1
sub edx, dword [esp + 8]
sar edx, 1
mov dword [esp + 0x20], esi
lea eax, [edx*2 + 2]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push edi
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
push 0x4b0
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov dword [esp + 8], eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 8]
jmp 0x4368a5
xor eax, eax
mov dword [esp + 0x40], 1
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 8
push eax
mov dword [esp + 0x20], 0x6ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
and dword [0x54e490], 0
mov edi, dword [0x54a388]
mov eax, dword [0x54a38c]
jmp 0x4365c2
mov ecx, dword [edi]
test ecx, ecx
je 0x4365bf
push 1
call dword [ecx + 0x1c]
mov eax, dword [0x54a38c]
add edi, 4
cmp edi, eax
jb 0x4365af
call fcn.0041c58f
mov ecx, 0x525ac4
call fcn.004b83f3
mov ecx, 0x5256c8
call fcn.004b83f3
mov ecx, str.6wanWebGame.exe
call fcn.004b83f3
call sub.libcef.dll_cef_enable_highdpi_support
mov eax, dword [esp + 0xc]
xor ecx, ecx
push ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x3c], eax
push ecx
mov eax, esp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], vtable.CefMainArgs.0
mov dword [eax], ecx
lea eax, [esp + 0x3c]
push eax
call fcn.004c5bb0
mov edi, eax
add esp, 0xc
test edi, edi
js 0x43663c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WS2_32.dll_WSACleanup]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4368a3
mov edi, 0xc0
mov dword [esp + 0x50], vtable.CefStructBase_struct_CefSettingsTraits_.0
push edi
lea eax, [esp + 0x58]
push 0
push eax
call fcn.004deff0
add esp, 0xc
mov dword [esp + 0x54], edi
xor eax, eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x114], eax
mov dword [esp + 0x6c], eax
push 0x44
call fcn.004da35a
pop ecx
test eax, eax
je 0x436688
push ecx
mov ecx, eax
call fcn.004055ea
jmp 0x43668a
xor eax, eax
push eax
lea ecx, [esp + 0x10]
call fcn.00405422
push 0
push ecx
mov ecx, esp
push dword [esp + 0x14]
call fcn.00405422
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004c5c60
add esp, 0x10
xor eax, eax
mov ecx, SysReAllocStringLen
push eax
push dword [0x54d73c]
push eax
push eax
push ecx
push ecx
push ecx
push ecx
push VariantInit
push eax
push str.tooltips_class32
push 0x8000008
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xc8
push 3
push 0x403
push eax
mov dword [0x54d9b0], eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x514f90
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
lea ecx, [esp + 0x510]
sbb edi, edi
neg edi
call fcn.0041f224
push esi
lea ecx, [esp + 0x514]
call fcn.004223c6
mov dword [esp + 0x668], edi
mov eax, str._Hide
mov cx, word [esi]
cmp cx, word [eax]
jne 0x436753
test cx, cx
je 0x43674f
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x436753
add esi, 4
add eax, 4
test cx, cx
jne 0x43672d
xor eax, eax
jmp 0x436758
sbb eax, eax
or eax, 1
push dword [0x549e80]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
mov eax, 0x46f
push eax
push str.width
cmove edi, ecx
push str.wndpos
mov dword [esp + 0x20], edi
call esi
push dword [0x549e80]
mov edi, eax
mov eax, 0x30c
push eax
push str.height
push str.wndpos
call esi
mov esi, eax
mov eax, 0x46f
cmp edi, eax
push ecx
cmovl edi, eax
mov eax, 0x30c
cmp esi, eax
push ecx
cmovl esi, eax
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.00433693
xor ecx, ecx
lea edx, [esp + 0x1e8]
push ecx
push 0x860b0000
mov eax, dword [eax]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], ecx
push ecx
mov dword [esp + 0x204], edi
lea ecx, [esp + 0x52c]
mov dword [esp + 0x208], esi
mov dword [eax], edx
call fcn.00424a14
lea ecx, [esp + 0x14]
call fcn.00403080
push ecx
lea ecx, [esp + 0x518]
call fcn.00436a18
cmp dword [esp + 0x10], 0
je 0x43682e
push 5
push dword [esp + 0x518]
call dword [sym.imp.USER32.dll_ShowWindow]
call sub.libcef.dll_cef_run_message_loop
call sub.libcef.dll_cef_shutdown
call dword [sym.imp.WS2_32.dll_WSACleanup]
push dword [0x54d73c]
mov esi, dword [sym.imp.USER32.dll_UnregisterClassW]
push str.AtlAxWin120
call esi
push dword [0x54d73c]
push 0x513ee0
call esi
call fcn.004369be
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x510]
xor edi, edi
call fcn.0041f5b2
lea ecx, [esp + 0xc]
call fcn.00405310
lea ecx, [esp + 0x50]
call fcn.004368bb
mov eax, edi
mov ecx, dword [esp + 0x8f34]
pop edi
pop esi
xor ecx, esp
call fcn.004d9731
mov esp, ebp
pop ebp
ret 0x10