Function at 0x4f03b0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, 8
xor ebp, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [0x621c78]
push 0x7f00
push ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x4efe00
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
call sym.vidcap60.exe__SfLoadCursor_8
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], str.SfKrn_Download3
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x64
call sym.vidcap60.exe__SfGetUIFontSize_4
mov edx, dword [eax]
mov ebx, dword [eax + 4]
push 0x6624
push 0x42
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
cmp esi, ebp
jne 0x4f044f
xor eax, eax
jmp 0x4f0459
push esi
call dword [0x5d2620]
add esp, 4
xor ecx, ecx
cmp eax, ebp
jbe 0x4f062e
cmp word [esi + ecx*2], 0x7c
jne 0x4f049c
cmp dword [esp + 0x18], ebp
jne 0x4f047a
lea edx, [esi + ecx*2 + 2]
mov dword [esp + 0x18], edx
jmp 0x4f049c
cmp dword [esp + 0x10], ebp
jne 0x4f048a
lea edx, [esi + ecx*2 + 2]
mov dword [esp + 0x10], edx
jmp 0x4f0498
cmp dword [esp + 0x14], ebp
jne 0x4f049c
lea edx, [esi + ecx*2 + 2]
mov dword [esp + 0x14], edx
mov word [esi + ecx*2], bp
inc ecx
cmp ecx, eax
jb 0x4f0463
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4f062e
push eax
lea eax, [edi + 0x4000]
push eax
call dword [0x5d2614]
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, ebp
je 0x4f0620
push eax
lea ecx, [edi + 0x4618]
push ecx
call dword [0x5d2614]
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebp
je 0x4f0611
push 0x1000
push eax
push edi
call dword [0x5d2618]
push 0x1000
lea esi, [edi + 0x2000]
push edi
push esi
mov word [esi - 2], bp
call dword [0x5d2618]
add esp, 0x18
cmp esi, ebp
mov word [esi + 0x1ffe], bp
je 0x4f0523
push esi
call dword [0x5d2620]
add esp, 4
mov edx, dword [0x621c78]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push edx
push ebp
push ebp
push 8
call esi
push 0x14
mov ebp, eax
call esi
push 4
lea ebp, [eax + ebp*2]
call esi
add ebp, eax
lea eax, [ebx + ebx*2 + 0x54]
add ebp, eax
lea ecx, [ebx + ebx*4]
mov eax, 0x55555556
imul ecx
mov ecx, edx
add ebp, edx
mov edx, dword [0x621c80]
shr ecx, 0x1f
add ecx, ebp
push ecx
push 0x1c2
push SysReAllocString
push SysReAllocString
push 0x80ca0000
push 0xbc9d
push edx
call sym.vidcap60.exe__SfGetString_8
push eax
push str.SfKrn_Download3
push 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x4f05a3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
mov eax, dword [esp + 0x74]
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0x400
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call esi
test eax, eax
je 0x4f0653
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
lea esp, [esp]
lea edx, [esp + 0x20]
push edx
call ebx
lea eax, [esp + 0x20]
push eax
call ebp
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
call esi
test eax, eax
jne 0x4f05f0
jmp 0x4f0653
mov edx, dword [0x621c80]
push esi
push 0xbca0
push edx
jmp 0x4f063b
mov eax, dword [0x621c80]
push esi
push 0xbc9f
push eax
jmp 0x4f063b
mov ecx, dword [0x621c80]
push esi
push 0xbc9e
push ecx
call sym.vidcap60.exe__SfGetString_8
push eax
push ebp
push ebp
call sym.vidcap60.exe_SfMsgBox
add esp, 0x10
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [0x621c78]
push edx
push str.SfKrn_Download3
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10