Function at 0x40aaf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440918
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x45115c]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push esi
push edi
mov eax, dword [0x45115c]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], ebx
call dword [sym.imp.mfc100.dll_Ordinal_1929]
push pe_nt_image_headers32
push 0xe
push pe_nt_image_headers32
call dword [sym.imp.mfc100.dll_Ordinal_1900]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
mov eax, dword [edi + 0x20]
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_9475]
mov ecx, dword [edi + 0x20]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4344]
mov esi, eax
cmp esi, ebx
je 0x40abde
lea ecx, [esp + 0x20]
call dword [0x442930]
push 0x65
lea ecx, [esp + 0x24]
mov dword [esp + 0x39c], ebx
call dword [sym.imp.mfc100.dll_Ordinal_7581]
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], ebx
je 0x40abd4
mov eax, dword [esi + 4]
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
push 0x800
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 4]
push ecx
push 0x10
push 0
push edx
call ebx
lea ecx, [esp + 0x20]
call dword [0x44293c]
lea ecx, [esp + 0x28]
call dword [0x442930]
lea ebx, [esp + 0x28]
mov dword [esp + 0x398], 1
call fcn.00405400
lea ecx, [esp + 0x2c]
call dword [0x442930]
mov byte [esp + 0x398], 2
mov eax, dword [esp + 0x28]
push eax
push 0x445d50
lea ecx, [esp + 0x34]
push str._s__Version:__s
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
mov edx, dword [esp + 0x38]
add esp, 0x10
push str.._security
push edx
push str.ToolVersion
push str.Server
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push 0xc0
xor ebx, ebx
lea ecx, [esp + 0xbc]
push ebx
push ecx
mov dword [esp + 0xc0], vtable.CefStructBase_struct_CefSettingsTraits_.0
call fcn.0043e300
mov dword [esp + 0x184], ebx
mov dword [esp + 0xc4], 0xc0
mov esi, dword [sym.imp.libcef.dll_cef_string_ascii_to_utf16]
lea edx, [esp + 0x178]
push edx
push 5
push str.zh_CN
call esi
lea eax, [esp + 0x12c]
push eax
push 5
push str.zh_CN
mov byte [esp + 0x3bc], 3
call esi
push 0x103
lea ecx, [esp + 0x2a5]
push ebx
push ecx
mov byte [esp + 0x2ac], bl
call fcn.0043e300
add esp, 0x30
push 0x104
lea edx, [esp + 0x280]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x27c]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
push 0x104
mov byte [eax], bl
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 0xc
push str..config.ini
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.COOKIE
push str.CONFIG
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call dword [sym.imp.MSVCR100.dll_atoi]
add esp, 4
cmp eax, 1
jne 0x40ae03
push 0x104
call dword [sym.imp.mfc100.dll_Ordinal_265]
push str.Temp_
lea ecx, [esp + 0x284]
push ecx
mov esi, eax
push str._s_s
push esi
call dword [0x4422dc]
mov eax, esi
add esp, 0x14
mov dword [esp + 0x264], 0xf
mov dword [esp + 0x260], ebx
mov byte [esp + 0x250], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ad83
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x258]
call fcn.00407010
lea edx, [esp + 0xdc]
mov dword [esp + 0x4c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x50], edx
mov byte [esp + 0x54], bl
lea eax, [esp + 0x250]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x398], 6
call fcn.0040b800
mov esi, dword [esp + 0x50]
cmp esi, ebx
je 0x40ade8
cmp byte [esp + 0x54], bl
je 0x40ade8
push esi
call dword [sym.imp.libcef.dll_cef_string_utf16_clear]
push esi
call dword [0x4427d0]
add esp, 8
cmp dword [esp + 0x264], 0x10
jb 0x40ae03
mov eax, dword [esp + 0x250]
push eax
call dword [0x4427d0]
add esp, 4
mov eax, 1
mov dword [esp + 0xb8], 0xc0
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], vtable.CefMainArgs.0
mov dword [esp + 0x70], ebx
push ebx
push ecx
mov byte [esp + 0x3a0], 8
mov eax, esp
lea ecx, [esp + 0xbc]
mov dword [esp + 0x28], esp
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [eax], ebx
call fcn.00426d70
mov ecx, dword [edi + 0x20]
add esp, 0x10
lea eax, [esp + 0x26c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x270]
push 0x38
lea edx, [esp + 0x7c]
push ebx
push edx
add esi, 0x32
call fcn.0043e300
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x80], vtable.CefWindowInfo.0
mov byte [esp + 0x3a4], 9
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x284]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x278]
sub ecx, eax
sub edx, esi
push 0x20
mov dword [esp + 0x98], 0x56010000
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
call dword [sym.imp.mfc100.dll_Ordinal_1294]
add esp, 0x10
cmp eax, ebx
je 0x40af72
mov dword [eax + 4], 0x4489f4
mov dword [eax + 0xc], 0x4489fc
mov dword [eax + 0x1c], vtable.CefBase.0
mov ecx, dword [eax + 4]
mov dword [eax], vtable.CefClient.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CefClient.1.0
mov ecx, dword [eax + 0xc]
mov dword [eax + 8], vtable.CefLifeSpanHandler.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 0xc], vtable.CefLifeSpanHandler.1.0
mov ecx, dword [eax + 4]
mov dword [eax], vtable.CSimpleClient.0
mov dword [eax + 8], vtable.CSimpleClient.1.0
mov edx, dword [ecx + 4]
mov dword [edx + eax + 4], vtable.CSimpleClient.2.0
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea edx, [ecx - 0x18]
mov dword [ecx + eax], edx
mov esi, eax
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [esp + 0x20], esi
jmp 0x40af78
mov dword [esp + 0x20], ebx
mov esi, ebx
mov dword [esp + 0x6c], esi
cmp esi, ebx
je 0x40af92
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
mov eax, dword [edx]
lea ecx, [ecx + esi + 4]
call eax
mov byte [esp + 0x398], 0xa
cmp esi, ebx
je 0x40afb0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 4]
lea ecx, [edx + esi + 4]
mov edx, dword [eax]
call edx
mov eax, dword [edi + 0xb8]
mov dword [edi + 0xb8], esi
cmp eax, ebx
je 0x40afd1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
lea ecx, [esp + 0x34]
call dword [0x442930]
lea ecx, [esp + 0x38]
call dword [0x442930]
push 0x104
mov byte [esp + 0x39c], 0xc
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 4
push str.._security
push 0x104
mov esi, eax
push esi
push 0x4445b0
push str.Login_URL
push str.Server
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_310]
lea eax, [esp + 0x24]
push eax
mov edi, 0x4447b8
lea ebx, [esp + 0x34]
mov byte [esp + 0x39c], 0xd
call fcn.00401730
add esp, 4
lea esi, [esp + 0x34]
mov byte [esp + 0x398], 0xe
call fcn.00405030
lea esi, [esp + 0x38]
call fcn.00405d50
push str.cpu
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_1479]
push 0x4447c4
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
mov edx, esi
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_1479]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x3c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
cmp ecx, ebx
je 0x40b11e
mov eax, ecx
mov dword [esp + 0x264], 0xf
mov dword [esp + 0x260], ebx
mov byte [esp + 0x250], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40b0d4
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x258]
call fcn.00407010
lea eax, [esp + 0x250]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x398], 0xf
call fcn.0040b800
cmp dword [esp + 0x264], 0x10
jb 0x40b11e
mov eax, dword [esp + 0x250]
push eax
call dword [0x4427d0]
add esp, 4
push 0xc8
lea ecx, [esp + 0x184]
push ebx
mov edi, vtable.CefStructBase_struct_CefBrowserSettingsTraits_.0
push ecx
mov dword [esp + 0x188], edi
call fcn.0043e300
mov dword [esp + 0x254], ebx
mov dword [esp + 0x18c], 0xc8
add esp, 8
mov eax, esp
mov dword [esp + 0x68], esp
mov dword [eax], ebx
lea edx, [esp + 0x180]
push edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x3a4], 0x12
mov esi, dword [esp + 0x2c]
push ecx
mov eax, esp
mov dword [esp + 0x78], esp
mov dword [eax], esi
cmp esi, ebx
je 0x40b192
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 4]
lea ecx, [edx + esi + 4]
mov edx, dword [eax]
call edx
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x3ac], 0x11
call fcn.004281e0
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x20]
add esp, 0x14
push ebx
push 0x1f4
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x17c], edi
mov edi, dword [sym.imp.libcef.dll_cef_string_utf16_clear]
cmp dword [esp + 0x248], ebx
jne 0x40b229
lea eax, [esp + 0x188]
push eax
call edi
lea ecx, [esp + 0x198]
push ecx
call edi
lea edx, [esp + 0x1a8]
push edx
call edi
lea eax, [esp + 0x1b8]
push eax
call edi
lea ecx, [esp + 0x1c8]
push ecx
call edi
lea edx, [esp + 0x1d8]
push edx
call edi
lea eax, [esp + 0x1f8]
push eax
call edi
lea ecx, [esp + 0x258]
push ecx
call edi
add esp, 0x20
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
cmp eax, ebx
je 0x40b258
cmp byte [esp + 0x44], bl
je 0x40b250
push eax
call edi
mov edx, dword [esp + 0x44]
push edx
call dword [0x4427d0]
add esp, 8
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x24]
call dword [0x44293c]
lea ecx, [esp + 0x30]
call dword [0x44293c]
lea ecx, [esp + 0x38]
call dword [0x44293c]
lea ecx, [esp + 0x34]
call dword [0x44293c]
mov byte [esp + 0x398], 9
cmp esi, ebx
je 0x40b29f
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 4]
mov eax, dword [edx + 4]
lea ecx, [ecx + esi + 4]
call eax
mov dword [esp + 0x74], vtable.CefStructBase_struct_CefWindowInfoTraits_.0
cmp dword [esp + 0xb0], ebx
jne 0x40b2ba
lea ecx, [esp + 0x7c]
push ecx
call edi
add esp, 4
mov dword [esp + 0x58], vtable.CefStructBase_struct_CefMainArgsTraits_.0
mov dword [esp + 0xb4], vtable.CefStructBase_struct_CefSettingsTraits_.0
cmp dword [esp + 0x178], ebx
jne 0x40b2e2
lea eax, [esp + 0xb8]
call fcn.0040ba70
lea ecx, [esp + 0x2c]
call dword [0x44293c]
lea ecx, [esp + 0x28]
call dword [0x44293c]
mov eax, 1
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0043dda2
mov esp, ebp
pop ebp
ret