Function at 0x4a27a0
Capabilities:
Hide graphical window
Print debug messages
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x60d4a2
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
push 0x51c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 4]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x4c]
push edx
push eax
call esi
test eax, eax
je 0x4a281d
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x54]
push ecx
push edx
call esi
xor edi, edi
cmp dword [ebp + 0x1af0], edi
je 0x4a282e
push edi
push ebp
call fcn.004a3a10
push ebp
call fcn.004a09f0
cmp dword [ebp + 0x1f88], edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x4a2e4b
lea eax, [esp + 0x18]
push eax
mov ecx, 0x6244e0
mov dword [ebp + 0x1194], edi
call fcn.00409dd0
lea eax, [ebp + 0x1f94]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.FrameConfig.ini
mov dword [esp + 0x27c], edi
call fcn.0040aab0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x274], 1
call fcn.0040ab90
mov byte [esp + 0x274], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a28b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea ecx, [esp + 0x62]
push 0
push ecx
mov word [esp + 0x68], 0
call fcn.005da970
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x64]
push eax
push 0x6244e0
push str.QQShowWithBkgPath
push str.status
call edi
lea ecx, [esp + 0x5c]
lea eax, [ebp + 0x2340]
lea edx, [ecx + 2]
mov bx, word [ecx]
add ecx, 2
test bx, bx
jne 0x4a2902
sub ecx, edx
sar ecx, 1
lea edx, [esp + 0x5c]
push edx
mov ebx, ecx
call fcn.004037a0
mov eax, dword [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x64]
push ecx
push 0x6244e0
push str.QQShowWithoutBkgPath
push str.status
call edi
lea ecx, [esp + 0x5c]
lea eax, [ebp + 0x2348]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov bx, word [ecx]
add ecx, 2
test bx, bx
jne 0x4a2950
sub ecx, edx
sar ecx, 1
lea edx, [esp + 0x5c]
push edx
mov ebx, ecx
call fcn.004037a0
mov eax, dword [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x64]
push ecx
push 0x6244e0
push str.QQShow
push str.status
call edi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x60]
call fcn.00409dd0
mov byte [esp + 0x274], 2
mov eax, dword [esp + 0x44]
push eax
call fcn.005d3c34
add esp, 4
cmp eax, 1
push 0
jne 0x4a2af2
mov ecx, dword [ebp + 0x2338]
push eax
push 0xf1
push ecx
call esi
push 5
mov edx, dword [ebp + 0x2338]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x208
lea eax, [esp + 0x60]
push 0
push eax
call fcn.005da970
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x64]
push edx
push 0x6244e0
push str.rawpic
push str.status
call edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x60]
call fcn.00409dd0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [ebp + 0x1f94]
mov byte [esp + 0x27c], 3
call fcn.0041eb50
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 8
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call esi
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2a75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x4a2b19
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
push ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [esp + 0x4c], esp
push edx
push ecx
lea ebx, [ebp + 0x1f94]
call fcn.0041eb50
add esp, 8
push ebp
call fcn.004a0f50
lea eax, [esp + 0x14]
push str.Status:_Load
push eax
lea ecx, [esp + 0x24]
call fcn.00453450
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2dce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a2dce
cmp eax, 2
jne 0x4a29ca
mov eax, dword [ebp + 0x2338]
push 0
push 0xf1
push eax
call esi
mov ecx, dword [ebp + 0x2338]
push 5
push ecx
jmp 0x4a29d1
push 0x208
lea ecx, [esp + 0x60]
push 0
push ecx
call fcn.005da970
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x64]
push eax
push 0x6244e0
push str.photo
push str.status
call edi
lea edx, [esp + 0x5c]
lea edi, [esp + 0x1c]
call fcn.00403760
mov ecx, edi
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [ebp + 0x1f94]
call fcn.0041eb50
mov eax, dword [eax]
add esp, 8
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call esi
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2ba6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x4a2be2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [esp + 0x4c], esp
push edx
push ecx
lea ebx, [ebp + 0x1f94]
call fcn.0041eb50
add esp, 8
lea eax, [ebp + 0x1054]
push eax
call fcn.004a5030
jmp 0x4a2dce
cmp dword [ebp + 0x1174], 0
mov ecx, dword [ebp + 0x1100]
mov edx, dword [ebp + 0x1104]
mov eax, dword [ebp + 0x1108]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x110c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
je 0x4a2d72
cmp dword [ebp + 0x1180], 0
je 0x4a2cb2
mov eax, 0x10
lea ecx, [esp + 0x20]
lea edx, [ebp + 0x1184]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4a2c4b
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4a2c33
test eax, eax
je 0x4a2ca8
movzx edi, byte [edx]
movzx esi, byte [ecx]
sub edi, esi
jne 0x4a2c9a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4a2ca8
movzx edi, byte [edx]
movzx esi, byte [ecx]
sub edi, esi
jne 0x4a2c9a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4a2ca8
movzx edi, byte [edx]
movzx esi, byte [ecx]
sub edi, esi
jne 0x4a2c9a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4a2ca8
movzx edi, byte [edx]
movzx edx, byte [ecx]
sub edi, edx
je 0x4a2ca8
test edi, edi
mov eax, 1
jg 0x4a2caa
or eax, 0xffffffff
jmp 0x4a2caa
xor eax, eax
test eax, eax
je 0x4a2d72
push str.Status:_Inherit
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp + 0x11d0]
sub edi, dword [ebp + 0x11c8]
mov ecx, dword [ebp + 0x1108]
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
mov edi, dword [ebp + 0x11cc]
sub edi, dword [ebp + 0x11c4]
mov eax, dword [ebp + 0x110c]
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
mov edx, dword [ebp + 0x1100]
mov esi, dword [ebp + 0x1104]
fdivp st(1)
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
sub eax, esi
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x14]
jle 0x4a2d4c
fild dword [esp + 0x48]
fdiv dword [esp + 0x14]
fiadd dword [esp + 0x20]
call fcn.005f4400
mov dword [esp + 0x28], eax
lea esi, [ebp + 0x1054]
lea eax, [esp + 0x20]
call fcn.004a5c00
jmp 0x4a2dce
fild dword [esp + 0x40]
fmul dword [esp + 0x14]
fiadd dword [esp + 0x24]
call fcn.005f4400
mov dword [esp + 0x2c], eax
lea esi, [ebp + 0x1054]
lea eax, [esp + 0x20]
call fcn.004a5c00
jmp 0x4a2dce
mov eax, dword [ebp + 0x11d8]
test eax, eax
je 0x4a2dce
call fcn.0057af50
test eax, eax
je 0x4a2dce
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x18], 0
call fcn.004a30d0
test eax, eax
je 0x4a2dce
push str.Status:_Load_Default
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x14]
lea edi, [ebp + 0x1054]
call fcn.004a5200
lea eax, [ebp + 0x1198]
mov ecx, edi
call fcn.0049d060
mov dword [ebp + 0x1194], 1
mov byte [esp + 0x274], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2df6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x274], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x274], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a2e61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a2e61
push edi
push 1
push 1
push ebp
call fcn.004a3460
push str.Status:_Load_Tmp_Pic
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x274], 4
xor eax, eax
cmp dword [ebp + 0x11d8], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
je 0x4a3072
mov ecx, dword [ebp + 0x11a8]
push edi
push edi
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4a2fb1
mov edx, dword [ebp + 0x11d8]
push 1
push edx
lea eax, [esp + 0x38]
call fcn.0057ac50
mov eax, dword [esp + 0x34]
cmp eax, edi
mov edx, dword [esp + 0x38]
je 0x4a2fb9
mov ecx, edx
sub ecx, eax
sar ecx, 2
je 0x4a2fb9
xor ebx, ebx
cmp eax, edi
je 0x4a2fb9
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x4a2fb9
mov edi, ebx
lea esi, [esp + 0x30]
call fcn.0057a830
mov edx, dword [eax]
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
call fcn.0057a830
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
lea eax, [ebp + 0x1054]
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
call fcn.0049d030
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [ebp + 0x11c4], edx
mov dword [ebp + 0x11c8], eax
mov dword [ebp + 0x11cc], edi
lea ecx, [esp + 0x18]
mov dword [ebp + 0x11d0], esi
call fcn.00403890
push esi
push edi
push 0x63157c
lea edi, [esp + 0x24]
mov byte [esp + 0x280], 5
call fcn.0040ac80
mov ecx, dword [ebp + 4]
add esp, 0xc
push 0x52a
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, edi
mov byte [esp + 0x274], 4
call fcn.00403870
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add ebx, 1
xor edi, edi
jmp 0x4a2ee5
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
xor ebx, ebx
jmp 0x4a2fc0
cmp eax, edi
jne 0x4a2fc8
xor ecx, ecx
jmp 0x4a2fcf
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jge 0x4a3069
cmp eax, edi
je 0x4a2fe6
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x4a2ff3
call fcn.005d29f1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
cmp dword [eax + ebx*4], edi
je 0x4a3061
cmp eax, edi
je 0x4a3007
mov ecx, edx
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x4a3014
call fcn.005d29f1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, dword [eax + ebx*4]
cmp esi, edi
je 0x4a3040
mov eax, dword [esi]
cmp eax, edi
je 0x4a302c
push eax
call fcn.005d28c2
add esp, 4
mov dword [esi], edi
push esi
mov dword [esi + 0x30], edi
call fcn.005d2367
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
je 0x4a304d
sub edx, eax
sar edx, 2
cmp ebx, edx
jb 0x4a3056
call fcn.005d29f1
mov eax, dword [esp + 0x34]
mov dword [eax + ebx*4], edi
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add ebx, 1
jmp 0x4a2fc0
lea eax, [esp + 0x30]
call fcn.004fc8d0
push ebp
call fcn.004a0470
mov ecx, dword [ebp + 4]
push edi
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x4a3099
push eax
call fcn.005d2367
add esp, 4
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.005d28b3
add esp, 0x264
ret 4