Function at 0x422180
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5e3bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x644
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040b6a0
mov ecx, eax
call fcn.0040f0f0
push 0
push 0
push 0
push 0x601488
call dword [sym.imp.GDI32.dll_CreateICW]
mov dword [esp + 0x14], eax
mov byte [esi + 0x82705], 1
call fcn.0041a920
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x2c]
push 0x601a18
call eax
push str.fileOut.png_source0_0_18_18_dest12_6_30_24
call fcn.0041a920
mov ecx, dword [eax + 0x300]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetForeImage_wchar_t_const__]
push str.fileOut.png_source0_18_18_36_dest12_6_30_24
call fcn.0041a920
mov ecx, dword [eax + 0x300]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CButtonUI::SetHotForeImage_wchar_t_const__]
call fcn.0041a920
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xd8]
push 0
call eax
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
push 0x104
lea ecx, [esp + 0x248]
push 0
push ecx
mov ebp, eax
call fcn.004e9ba0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push ebp
push 0x104
lea edx, [esp + 0x24c]
push edx
push 0x5fd0cc
push str.Account
push str.UserLogin
call edi
call fcn.00409730
mov ecx, eax
call fcn.004a3a60
push 0x104
mov ebx, eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004e9ba0
add esp, 0xc
push ebx
push 0x104
lea ecx, [esp + 0x44]
push ecx
push 0x5fd0cc
push str.NickName
push str.PersonCenter
call edi
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4222d2
sub eax, edx
sar eax, 1
jne 0x422305
xor eax, eax
jmp 0x4222f0
movzx ecx, word [esp + eax + 0x244]
mov word [esp + eax + 0x3c], cx
add eax, 2
test cx, cx
jne 0x4222f0
push ebp
push 0x5ff190
push 0x60191c
push str.UserLogin
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x14]
push 0
push 0xb
lea edx, [esp + 0x24c]
push edx
lea edi, [esi + 0x2c]
push edi
push eax
call dword [sym.imp.DuiLib32.dll_public:_static_struct_tagSIZE___cdecl_DuiLib::CRenderEngine::GetTextSize_struct_HDC_____class_DuiLib::CPaintManagerUI___wchar_t_const___int__unsigned_int_]
add esp, 0x14
cmp eax, 0x78
mov ebx, eax
mov dword [esp + 0x1c], edx
jle 0x422349
mov ebx, 0x78
mov ebp, 0x78
push str.Login
mov ecx, edi
sub ebp, ebx
call dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edi, eax
test edi, edi
je 0x4223b3
mov edx, dword [edi]
xor eax, eax
push eax
mov eax, dword [edx + 0x54]
push ebp
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xd8]
push 0
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x9c]
push 0x60190c
mov ecx, edi
call edx
mov ecx, edi
mov edi, dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CControlUI::NeedParentUpdate_void_]
call edi
jmp 0x4223b9
mov edi, dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CControlUI::NeedParentUpdate_void_]
mov eax, dword [esi + 0x8269c]
test eax, eax
je 0x42244e
cmp dword [eax + 0x79c], 0
je 0x42244e
mov ecx, dword [eax + 0x79c]
mov edx, dword [ecx]
xor eax, eax
push eax
mov eax, dword [edx + 0x54]
push ebp
call eax
mov ecx, dword [esi + 0x8269c]
mov ecx, dword [ecx + 0x79c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push ebx
call eax
mov ecx, dword [esi + 0x8269c]
mov ecx, dword [ecx + 0x79c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [esi + 0x8269c]
mov ecx, dword [eax + 0x79c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push 0
call eax
mov ecx, dword [esi + 0x8269c]
mov ecx, dword [ecx + 0x79c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x9c]
push 0x60190c
call eax
mov ecx, dword [esi + 0x8269c]
mov ecx, dword [ecx + 0x79c]
call edi
mov eax, dword [esi + 0x8266c]
test eax, eax
je 0x4224e3
cmp dword [eax + 0x6c4], 0
je 0x4224e3
mov ecx, dword [eax + 0x6c4]
mov edx, dword [ecx]
xor eax, eax
push eax
mov eax, dword [edx + 0x54]
push ebp
call eax
mov ecx, dword [esi + 0x8266c]
mov ecx, dword [ecx + 0x6c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
push ebx
call eax
mov ecx, dword [esi + 0x8266c]
mov ecx, dword [ecx + 0x6c4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x3c]
push eax
call edx
mov eax, dword [esi + 0x8266c]
mov ecx, dword [eax + 0x6c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
push 0
call eax
mov ecx, dword [esi + 0x8266c]
mov ecx, dword [ecx + 0x6c4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x9c]
push 0x60190c
call eax
mov ecx, dword [esi + 0x8266c]
mov ecx, dword [ecx + 0x6c4]
call edi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x70b6a0]
xor ebx, ebx
cmp ecx, ebx
je 0x422510
mov edi, ecx
call fcn.0047e290
push edi
call fcn.004ca5d9
add esp, 4
mov dword [0x70b6a0], ebx
push 0x104
lea eax, [esp + 0x450]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x44c]
push 0x5c
push ecx
call fcn.004e9c3b
xor edx, edx
add esp, 8
mov word [eax + 2], dx
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
xor ecx, ecx
mov word [esp + 0x24], cx
mov ecx, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x422560
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00401c70
mov eax, dword [esp + 0x24]
mov edi, 8
mov dword [esp + 0x660], ebx
cmp dword [esp + 0x38], edi
jae 0x422594
lea eax, [esp + 0x24]
push eax
push ebx
push str.BindUserID
push str.Note
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, ebx
jne 0x4225b5
cmp dword [esp + 0x668], ebx
jne 0x4225be
jmp 0x4225f5
cmp eax, dword [esp + 0x668]
jne 0x4225f5
cmp dword [esi + 0x8266c], ebx
je 0x4225f5
cmp dword [esi + 0x82710], ebx
jne 0x4225f5
mov ecx, esi
call fcn.0041b410
mov ecx, dword [esi + 0x8266c]
mov dword [esi + 0x82710], 1
call fcn.00455a50
mov ecx, dword [esi + 0x8266c]
call fcn.0044dd80
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5ff1a4
mov ecx, esi
call fcn.00421f40
cmp dword [esp + 0x38], edi
jb 0x42261f
mov edx, dword [esp + 0x24]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.004e8c89
add esp, 0x650
ret 4