Function at 0x4a01f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x60ca20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x11ac]
xor edi, edi
push edi
push edi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x4a032e
lea ecx, [ebp + 0x1f94]
push ecx
lea edx, [esp + 0x30]
push edx
mov ebx, str.FrameConfig_tmp.ini
mov dword [ebp + 0x1f8c], 1
call fcn.0040aab0
add esp, 8
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x2c]
push eax
push 0x6244e0
push 0x631398
push str.cand
call esi
mov ecx, dword [esp + 0x2c]
push ecx
push 0x6244e0
push str.rawpic
push str.cand
call esi
mov edx, dword [esp + 0x2c]
push edx
push 0x6244e0
push str.photo
push str.cand
call esi
mov eax, dword [ebp + 0x11d8]
cmp eax, edi
je 0x4a0306
call fcn.0057af50
test eax, eax
je 0x4a0306
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], edi
call fcn.004a3260
test eax, eax
je 0x4a0306
mov eax, dword [esp + 0x18]
lea edi, [ebp + 0x1054]
call fcn.004a5200
mov ecx, dword [ebp + 0x2338]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0x1184]
mov ecx, edi
call fcn.0049d060
mov dword [ebp + 0x1180], 1
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a032e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x11a8]
push edi
push edi
push 0xf0
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4a043b
lea edx, [ebp + 0x1f94]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.FrameConfig_tmp.ini
mov dword [ebp + 0x1f88], 1
call fcn.0040aab0
add esp, 8
mov dword [esp + 0x24], 1
mov ecx, dword [esp + 0x18]
push ecx
push 0x6244e0
push 0x631398
push str.status
call esi
mov edx, dword [esp + 0x18]
push edx
push 0x6244e0
push str.rawpic
push str.status
call esi
mov eax, dword [esp + 0x18]
push eax
push 0x6244e0
push str.photo
push str.status
call esi
mov eax, dword [ebp + 0x11d8]
cmp eax, edi
je 0x4a0413
call fcn.0057af50
test eax, eax
je 0x4a0413
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
mov dword [esp + 0x30], edi
call fcn.004a30d0
test eax, eax
je 0x4a0413
mov eax, dword [esp + 0x2c]
lea edi, [ebp + 0x1054]
call fcn.004a5200
mov edx, dword [ebp + 0x2338]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp + 0x1198]
mov ecx, edi
call fcn.0049d060
mov dword [ebp + 0x1194], 1
mov dword [esp + 0x24], 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 0x4a043b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x1170]
call fcn.004036c0
push ebp
call fcn.004a0470
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4