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

Disassembly:
push 0xffffffffffffffff
push 0x5ada5c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
mov eax, dword [ebp + 4]
push 0x51c
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x3c]
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 + 0x3c]
push edx
push eax
call esi
test eax, eax
je 0x48d3ed
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x44]
push ecx
push edx
call esi
xor esi, esi
cmp dword [ebp + 0xacc], esi
je 0x48d3ff
push 1
push ebp
call fcn.0048eaa0
mov ecx, ebp
call fcn.0048c000
cmp dword [ebp + 0xdec], esi
jne 0x48da0c
lea eax, [esp + 0x18]
push eax
mov ecx, 0x5bcc3c
mov dword [ebp + 0x170], esi
call fcn.00404460
lea eax, [ebp + 0xdf4]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.FrameConfig.ini
mov dword [esp + 0x26c], esi
call fcn.00412480
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x264], 1
call fcn.004035d0
xor ebx, ebx
mov byte [esp + 0x264], bl
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 0x48d481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x206
lea ecx, [esp + 0x52]
push ebx
push ecx
mov word [esp + 0x58], bx
call fcn.00580260
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x5bcc3c
push str.QQShowWithBkgPath
push str.cand
call edi
lea ecx, [esp + 0x4c]
lea eax, [ebp + 0x10f4]
lea edx, [ecx + 2]
lea esp, [esp]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x48d4d0
sub ecx, edx
sar ecx, 1
lea edx, [esp + 0x4c]
push edx
mov ebx, ecx
call fcn.00404050
mov eax, dword [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x54]
push ecx
push 0x5bcc3c
push str.QQShowWithoutBkgPath
push str.cand
call edi
lea ecx, [esp + 0x4c]
lea eax, [ebp + 0x10fc]
lea edx, [ecx + 2]
jmp 0x48d520
mov si, word [ecx]
add ecx, 2
test si, si
jne 0x48d520
sub ecx, edx
sar ecx, 1
lea edx, [esp + 0x4c]
push edx
mov ebx, ecx
call fcn.00404050
mov eax, dword [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x54]
push ecx
push 0x5bcc3c
push str.QQShow
push str.cand
call edi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x50]
call fcn.00404460
mov byte [esp + 0x264], 2
mov eax, dword [esp + 0x34]
push eax
call fcn.005796ae
add esp, 4
cmp eax, 1
push 0
jne 0x48d6c6
mov ecx, dword [ebp + 0x10f0]
push eax
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
mov edx, dword [ebp + 0x10f0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x208
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00580260
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push 0x104
lea edx, [esp + 0x54]
push edx
push 0x5bcc3c
push str.rawpic
push str.cand
call edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.00404460
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [ebp + 0xdf4]
mov byte [esp + 0x26c], 3
call fcn.00423280
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 closesocket
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 0x48d649
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebx, 0xffffffff
je 0x48d6f1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], esp
push edx
push ecx
lea ebx, [ebp + 0xdf4]
call fcn.00423280
add esp, 8
push ebp
call fcn.0048c620
lea eax, [esp + 0x14]
push str.Cand:_Load
push eax
lea ecx, [esp + 0x24]
call fcn.0043bdd0
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 0x48d98f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48d98f
cmp eax, 2
jne 0x48d59e
mov eax, dword [ebp + 0x10f0]
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x10f0]
push 5
push ecx
jmp 0x48d5a5
push 0x208
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.00580260
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x5bcc3c
push str.photo
push str.cand
call edi
lea edx, [esp + 0x4c]
lea edi, [esp + 0x1c]
call fcn.004040f0
mov ecx, edi
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [ebp + 0xdf4]
call fcn.00423280
mov eax, dword [eax]
add esp, 8
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push closesocket
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 0x48d77d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x48d7b5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
push ecx
push ecx
mov edx, esp
lea eax, [esp + 0x24]
mov dword [esp + 0x28], esp
push eax
push edx
mov dword [esp + 0x24], edi
call fcn.00423280
add esp, 8
lea ecx, [ebp + 0x48]
push ecx
call fcn.0048fcf0
jmp 0x48d98f
cmp dword [ebp + 0x164], edi
mov edx, dword [ebp + 0xf0]
mov eax, dword [ebp + 0xf4]
mov ecx, dword [ebp + 0xf8]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0xfc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
je 0x48d93a
cmp dword [ebp + 0x184], edi
je 0x48d883
mov eax, 0x10
lea ecx, [esp + 0x24]
lea edx, [ebp + 0x188]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x48d81c
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x48d804
cmp eax, edi
je 0x48d879
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x48d86b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x48d879
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x48d86b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x48d879
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x48d86b
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x48d879
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x48d879
cmp esi, edi
mov eax, 1
jg 0x48d87b
or eax, 0xffffffff
jmp 0x48d87b
xor eax, eax
cmp eax, edi
je 0x48d93a
push str.Cand:_Inherit
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, dword [ebp + 0x1c0]
sub edi, dword [ebp + 0x1b8]
mov ecx, dword [ebp + 0xf8]
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
mov edi, dword [ebp + 0x1bc]
sub edi, dword [ebp + 0x1b4]
mov eax, dword [ebp + 0xfc]
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
mov edx, dword [ebp + 0xf0]
mov esi, dword [ebp + 0xf4]
fdivp st(1)
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
sub eax, esi
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
fstp dword [esp + 0x14]
jle 0x48d917
fild dword [esp + 0x38]
fdiv dword [esp + 0x14]
fiadd dword [esp + 0x24]
call fcn.005999a0
mov dword [esp + 0x2c], eax
lea esi, [ebp + 0x48]
lea eax, [esp + 0x24]
call fcn.00490880
jmp 0x48d98f
fild dword [esp + 0x20]
fmul dword [esp + 0x14]
fiadd dword [esp + 0x28]
call fcn.005999a0
mov dword [esp + 0x30], eax
lea esi, [ebp + 0x48]
lea eax, [esp + 0x24]
call fcn.00490880
jmp 0x48d98f
mov eax, dword [ebp + 0x1c8]
cmp eax, edi
je 0x48d98f
call fcn.005291e0
test eax, eax
je 0x48d98f
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.0048e300
test eax, eax
je 0x48d98f
push str.Cand:_Load_Default
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x14]
lea edi, [ebp + 0x48]
call fcn.0048fed0
lea eax, [ebp + 0x174]
mov ecx, edi
call fcn.004886d0
mov dword [ebp + 0x170], 1
mov byte [esp + 0x264], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d9b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x264], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d9df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x264], 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 0x48da21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48da21
push esi
push 1
push esi
push ebp
call fcn.0048e500
push str.Cand:_Load_Tmp_Pic
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebp
call fcn.0048ba90
mov edx, dword [ebp + 4]
push 0
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.005787fd
add esp, 0x254
ret 4