Function at 0x41f2b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b100a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4e42e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0
call fcn.0041ee60
mov esi, eax
mov dword [ebp - 0x40], 0x41f030
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 1
push 0x14
mov dword [ebp - 4], 0
call fcn.004723fa
add esp, 0xc
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41f351
mov ecx, dword [ebp - 0x40]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_resource_struct_Ui::ImageWindow::BufferedBitmap___void____cdecl___struct_Ui::ImageWindow::BufferedBitmap___.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
jmp 0x41f353
xor eax, eax
mov dword [edi + 0xc], esi
mov esi, dword [edi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x10], eax
test esi, esi
je 0x41f38b
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41f388
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x41f388
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x41f49e
push 0x9c40
mov ecx, 0x4e97e0
call fcn.00424910
test al, al
je 0x41f6c7
call fcn.00425480
mov esi, eax
push str.Failed_load_UAC_approve_image
push esi
call fcn.0040b300
add esp, 8
mov ecx, dword [esi + 0x40]
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x40], 2
test cl, 2
jne 0x41f40f
mov eax, dword [esi + 0x24]
mov edi, dword [eax]
test edi, edi
je 0x41f40f
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x3c]
cmp edi, dword [esi + 0x3c]
mov dword [ebp - 0x3c], edi
mov edx, dword [eax]
lea eax, [esi + 0x3c]
cmovb ecx, eax
mov eax, dword [ecx]
sub eax, edx
push eax
push edx
jmp 0x41f42d
test cl, 4
jne 0x41f435
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x41f435
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408c80
push str.void___thiscall_Ui::ImageWindow::showWindow_const_unsigned_char__const_unsigned_int_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x14b
push str......._srcuiimage_window.cpp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
push 0x9c40
push 0x4e97e0
call fcn.004254b0
mov edx, dword [ebp - 0x14]
add esp, 0x18
cmp edx, 0x10
jb 0x41f6c7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f48f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f6e5
push edx
push ecx
call fcn.0047242a
add esp, 8
jmp 0x41f6c7
mov esi, dword [eax]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x41f4ba
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x3c], 0
mov esi, dword [eax]
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x41f4df
mov dword [esi + 8], eax
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x34], 0x41e710
mov dword [ebp - 0x14], str.UacApprovedPictureWindow
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x41f5c5
cmp dword [ebx + 0x14], 0x10
jb 0x41f52a
mov ebx, dword [ebx]
push 0
push dword [edi + 8]
push 0
push 0
push dword [ebp - 0x44]
push esi
push closesocket
push closesocket
push 0xc00000
push ebx
push str.UacApprovedPictureWindow
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [edi + 4], eax
test eax, eax
je 0x41f5c5
mov ecx, dword [edi + 0xc]
push dword [ecx]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [edi + 4]
test eax, eax
je 0x41f6c0
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x2c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jle 0x41f6c0
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
lea eax, [ebp - 0x2c]
push eax
call ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call esi
test eax, eax
jg 0x41f5a0
jmp 0x41f6c0
push 0x9c40
mov ecx, 0x4e97e0
call fcn.00424910
test al, al
je 0x41f6c0
call fcn.00425480
mov esi, eax
push str.Failed_init_window
push esi
call fcn.0040b300
add esp, 8
mov ecx, dword [esi + 0x40]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x40], 8
test cl, 2
jne 0x41f63e
mov eax, dword [esi + 0x24]
mov ebx, dword [eax]
test ebx, ebx
je 0x41f63e
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x44]
cmp ebx, dword [esi + 0x3c]
mov dword [ebp - 0x44], ebx
mov edx, dword [eax]
lea eax, [esi + 0x3c]
cmovb ecx, eax
mov eax, dword [ecx]
sub eax, edx
push eax
push edx
jmp 0x41f65c
test cl, 4
jne 0x41f664
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x41f664
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408c80
push str.void___thiscall_Ui::ImageWindow::showWindow_const_unsigned_char__const_unsigned_int_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x151
push str......._srcuiimage_window.cpp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
push 0x9c40
push 0x4e97e0
call fcn.004254b0
mov edx, dword [ebp - 0x14]
add esp, 0x18
cmp edx, 0x10
jb 0x41f6c0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41f6b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f6ea
push edx
push ecx
call fcn.0047242a
add esp, 8
mov ecx, edi
call fcn.0041f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472897
mov esp, ebp
pop ebp
ret 0xc
call fcn.0048d2da
call fcn.0048d2da
int3