Function at 0x477500
Capabilities:
Capture screenshot
Check os version

Disassembly:
sub esp, 0xe4
mov eax, dword [0x5bd254]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [0x6a291c]
push esi
mov esi, dword [esp + 0xec]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [0x6a12d4], edi
mov dword [esp + 8], edi
mov dword [sym.convertifd.exe_hPalette], edi
mov dword [0x606788], eax
jle 0x477574
mov edx, dword [0x6a12d0]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
push eax
push esi
call fcn.0051e073
add esp, 8
test eax, eax
mov eax, dword [0x606788]
je 0x477684
add eax, 1
cmp eax, dword [0x6a12d4]
mov dword [0x606788], eax
jl 0x477541
push ebx
push ebp
push edi
push 8
call sym.convertifd.exe_IpCursor
lea ecx, [esp + 0xe0]
push ecx
push esi
mov dword [0x6a291c], 1
mov dword [0x606790], edi
mov dword [esp + 0x24], edi
call sym.convertifd.exe_UtGetExt
lea edx, [esp + 0xe8]
push 0x581ee8
push edx
mov dword [esp + 0x30], edi
call fcn.0051e073
mov ebp, dword [esp + 0x114]
add esp, 0x18
test eax, eax
je 0x47773e
push 5
lea eax, [esp + 0xd4]
push eax
push 0x580dd4
push 0x581f00
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
movsx ecx, byte [esp + 0xd0]
push ecx
call fcn.00511a59
add esp, 4
cmp eax, 0x79
jne 0x47773e
call dword [sym.imp.USER32.dll_GetFocus]
push 5
lea edx, [esp + 0xd4]
push edx
push 0x580dd4
push str.UseMetaFiles
push 0x580950
mov ebx, eax
call sym.convertifd.exe_GetJetFormIniStr
movsx eax, byte [esp + 0xd0]
push eax
call fcn.00511a59
add esp, 4
cmp eax, 0x79
jne 0x47770e
cmp dword [sym.convertifd.exe_i_control], 0x269c
je 0x47770e
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0
push 1
lea edx, [esp + 0xe8]
mov ecx, esi
call fcn.004762c0
add esp, 0x10
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
je 0x477733
mov dword [esp + 0x10], edi
mov edi, eax
jmp 0x477d67
mov edx, dword [0x6a12d0]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x4776de
lea eax, [esp + 0x1c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [0x606788]
mov dword [0x60675c], ecx
mov ecx, dword [0x6a12d0]
lea eax, [eax + eax*4]
mov dword [0x60677c], edx
mov edx, dword [ecx + eax*8 + 0xc]
mov dword [0x606774], edx
mov dword [esp + 8], 1
jmp 0x477d76
cmp dword [eax + 0x14], edi
je 0x477574
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [0x60675c], ecx
mov dword [0x60677c], edx
mov dword [0x606774], eax
mov dword [esp + 8], 1
jmp 0x477d76
push ebp
push 0
push 1
lea edx, [esp + 0xe4]
mov ecx, esi
call fcn.00476780
add esp, 0xc
mov dword [0x606790], eax
mov dword [esp + 0x18], 1
jmp 0x477737
mov edi, dword [esp + 0x14]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x606790]
xor ebx, ebx
cmp eax, ebx
jne 0x4778eb
cmp edi, ebx
jne 0x477a2a
lea edx, [esp + 0xd8]
push 0x581e7c
push edx
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x477785
push 1
push esi
mov ecx, ebp
call fcn.004770b0
add esp, 8
mov dword [0x606790], eax
jmp 0x4778eb
lea eax, [esp + 0xd8]
push 0x581ea4
push eax
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4777b3
push 1
push esi
call fcn.00477360
add esp, 8
mov dword [0x606790], eax
jmp 0x4778eb
lea ecx, [esp + 0xd8]
push 0x581eac
push ecx
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x4777e5
push 1
push esi
mov edx, ebp
xor ecx, ecx
call fcn.00476d50
add esp, 8
mov dword [0x606790], eax
jmp 0x4778eb
lea edx, [esp + 0xd8]
push 0x581edc
push edx
call fcn.0051e073
add esp, 8
test eax, eax
jne 0x477818
push 1
push esi
mov edx, ebp
lea ecx, [eax + 1]
call fcn.00476d50
add esp, 8
mov dword [0x606790], eax
jmp 0x4778eb
push 0xa
lea eax, [esp + 0xe8]
push eax
push 0x580cbb
push 0x581ef8
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
lea ecx, [esp + 0xd8]
push 0x581ee8
push ecx
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4778d2
lea edx, [esp + 0xd8]
push 0x581ef4
push edx
call fcn.0051e073
add esp, 8
test eax, eax
je 0x4778d2
lea eax, [esp + 0xd8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x477876
sub eax, edx
je 0x4778d2
lea eax, [esp + 0xe4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x477890
sub eax, edx
je 0x4778e6
lea eax, [esp + 0xe4]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4778a7
sub eax, edx
add eax, 0xffffffff
push eax
lea eax, [esp + 0xe9]
push eax
lea ecx, [esp + 0xe0]
push ecx
call sym.convertifd.exe_strncmpi
add esp, 0xc
test eax, eax
jne 0x4778e6
push 1
push esi
mov ecx, ebp
call fcn.00476ed0
add esp, 8
mov dword [0x606790], eax
jmp 0x4778eb
mov eax, dword [0x606790]
cmp eax, 0x18
jne 0x4778f9
mov dword [esp + 0x10], ebx
jmp 0x477d67
cmp eax, ebx
jne 0x4779f1
cmp edi, ebx
jne 0x477a2a
push 5
lea edx, [esp + 0xd4]
push edx
push 0x580dd4
push 0x581f00
push 0x580950
call sym.convertifd.exe_GetJetFormIniStr
movsx eax, byte [esp + 0xd0]
push eax
call fcn.00511a59
add esp, 4
cmp eax, 0x6e
jne 0x477a19
cmp dword [sym.convertifd.exe_i_control], 0x269c
je 0x477a19
call dword [sym.imp.USER32.dll_GetFocus]
push 5
lea ecx, [esp + 0xd4]
push ecx
push 0x580dd4
push str.UseMetaFiles
push 0x580950
mov ebx, eax
call sym.convertifd.exe_GetJetFormIniStr
push 1
lea edx, [esp + 0xd4]
push 0x581ef0
push edx
call sym.convertifd.exe_strncmpi
add esp, 0xc
test eax, eax
lea edx, [esp + 0xd8]
mov ecx, esi
jne 0x4779c7
lea eax, [esp + 0x1c]
push eax
push ebp
push 1
push 1
call fcn.004762c0
add esp, 0x10
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov edi, eax
je 0x4779e1
mov dword [esp + 0x10], 0
jmp 0x477d67
push ebp
push 1
push 1
call fcn.00476780
add esp, 0xc
mov dword [0x606790], eax
mov dword [esp + 0x18], 1
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x606790]
test eax, eax
je 0x477a22
lea ecx, [esp + 0x24]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [0x60677c], eax
mov eax, dword [0x606790]
mov dword [0x60675c], edx
jmp 0x477a42
mov dword [esp + 0x10], ebx
jmp 0x477d74
test edi, edi
je 0x477d74
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 4]
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 8]
mov dword [0x60675c], ecx
mov dword [0x60677c], edx
mov ecx, dword [0x606788]
cmp ecx, dword [0x6a12d4]
jl 0x477ab5
push esi
call sym.convertifd.exe_RememberBitmap
mov ecx, eax
xor esi, esi
add esp, 4
cmp ecx, esi
mov dword [0x606788], ecx
jl 0x477d67
lea eax, [ecx + ecx*4]
add eax, eax
add eax, eax
add eax, eax
cmp dword [esp + 0x18], esi
je 0x477a9a
mov ebx, dword [0x6a12d0]
mov edx, 1
mov dword [eax + ebx + 0x18], edx
mov ebx, dword [0x6a12d0]
mov dword [eax + ebx + 0x1c], edx
mov eax, dword [0x606790]
jmp 0x477ab7
mov edx, dword [0x6a12d0]
mov dword [eax + edx + 0x18], esi
mov edx, dword [0x6a12d0]
mov dword [eax + edx + 0x1c], esi
mov eax, dword [0x606790]
jmp 0x477ab7
xor esi, esi
mov edx, dword [0x6a12d0]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp eax, esi
mov dword [ecx + edx + 4], esi
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0x14], esi
je 0x477ae7
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 4], eax
jmp 0x477d44
cmp edi, esi
je 0x477d44
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x4c], 2
jne 0x477c84
cmp dword [esp + 0x40], 5
jae 0x477c84
lea ecx, [esp + 0xd8]
push 0x581eec
push ecx
call fcn.0051e073
add esp, 8
test eax, eax
je 0x477c84
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, dword [edi + 0xc]
sub ebx, dword [edi + 4]
mov esi, eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
push eax
push ebx
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
jne 0x477b8b
mov eax, dword [sym.convertifd.exe_i_window]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x10], 0
jmp 0x477d67
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [sym.convertifd.exe_hPalette]
test eax, eax
je 0x477bb1
push 1
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push 0
xor eax, eax
call fcn.00475e60
mov edx, dword [edi]
add esp, 0xc
push edx
push esi
call dword [sym.imp.GDI32.dll_PlayMetaFile]
test eax, eax
jne 0x477c05
mov eax, dword [sym.convertifd.exe_i_window]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x10], 0
jmp 0x477d67
push 0
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileA]
mov edi, eax
mov eax, dword [sym.convertifd.exe_hPalette]
test eax, eax
je 0x477c2e
push 1
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push esi
push edx
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov ebx, eax
mov eax, dword [sym.convertifd.exe_i_window]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x10]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov edi, dword [esp + 0x14]
jmp 0x477ce8
mov edx, dword [edi]
mov ebp, dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
push esi
push esi
push edx
call ebp
mov ebx, eax
push ebx
call sym.convertifd.exe_IpMalloc
mov esi, eax
add esp, 4
test esi, esi
jne 0x477cb4
mov eax, dword [edi]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov dword [esp + 0x10], esi
jmp 0x477d67
mov ecx, dword [edi]
push esi
push ebx
push ecx
call ebp
push 0
push 0
push esi
push eax
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov ebx, eax
test ebx, ebx
jne 0x477cdf
mov edx, dword [edi]
push edx
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov dword [esp + 0x10], ebx
jmp 0x477d67
push esi
call sym.convertifd.exe_IpFree
add esp, 4
mov eax, dword [edi]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov ecx, dword [0x606788]
mov edx, dword [0x6a12d0]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [ecx + edx + 0x14], ebx
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0x18], eax
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 8]
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0x1c], eax
mov eax, dword [edi + 4]
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0x20], eax
mov eax, dword [edi + 8]
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0x24], eax
mov edx, dword [0x6a12d0]
mov esi, dword [0x606774]
mov eax, 1
mov dword [ecx + edx + 8], eax
mov edx, dword [0x6a12d0]
mov dword [ecx + edx + 0xc], esi
mov dword [esp + 0x10], eax
test edi, edi
je 0x477d74
push edi
call sym.convertifd.exe_IpFree
add esp, 4
pop ebp
pop ebx
push 0
push 0
call sym.convertifd.exe_IpCursor
mov eax, dword [esp + 0x20]
add esp, 8
cmp dword [0x6a29c4], 0
pop edi
mov dword [0x6a291c], eax
pop esi
je 0x477d9b
call sym.convertifd.exe_RePaintAll
mov ecx, dword [esp + 0xe0]
mov eax, dword [esp]
xor ecx, esp
call fcn.00511a80
add esp, 0xe4
ret