Function at 0x417afb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x28], eax
xor eax, eax
push edi
push eax
mov byte [ebp - 9], al
mov byte [ebp - 2], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 9]
push eax
lea ebx, [ebp + 0xc]
mov byte [ebp - 1], 0x2a
mov byte [ebp - 0xa], 1
call fcn.00415905
add esp, 0x14
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00434695
mov eax, dword [ebp - 0x24]
xor ebx, ebx
push 0x49062c
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x49c], bx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 9], bl
push 0x2c
push dword [ebp + 0xc]
setne al
shl al, 1
xor al, byte [0x48fc0c]
and al, 2
xor byte [0x48fc0c], al
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x417bb1
mov word [eax], bx
add dword [ebp - 0x20], 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0042dab0
test eax, eax
pop ecx
pop ecx
jle 0x417bb1
mov eax, dword [ebp - 0x1c]
mov dword [0x49300c], eax
cmp dword [0x49300c], 0x80000000
jne 0x417bc7
call fcn.0040b0e1
mov dword [0x49300c], eax
mov eax, dword [ebp + 0xc]
movsx edx, byte [ebp - 1]
movzx ecx, word [eax]
cmp ecx, edx
sete byte [ebp - 1]
cmp edx, ecx
je 0x417bf4
push eax
call fcn.0046646e
test eax, eax
pop ecx
je 0x417bf1
cmp byte [ebp - 2], bl
je 0x417bfa
mov byte [ebp - 2], 2
jmp 0x417bf7
mov eax, dword [ebp + 0xc]
mov word [eax], bx
cmp byte [ebp - 2], bl
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
setne al
cmp byte [ebp - 0xa], bl
mov byte [0x48fe2c], al
setne al
shl al, 2
xor al, byte [0x48fc0c]
and al, 4
xor byte [0x48fc0c], al
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x417de8
push 0x104
push eax
lea eax, [ebp - 0x49c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
cmp dword [0x48fd90], ebx
mov byte [0x48fe15], 1
jne 0x417d97
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GdiPlus.dll
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x417d37
mov ecx, dword [ebp + 8]
push 1
push ebx
lea eax, [ebp - 0x10]
push eax
push str._SystemRoot_WinSxS
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
call fcn.0043b18c
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.004663ce
add esp, 0xc
test eax, eax
je 0x417d27
push dword [ebp - 0x10]
call fcn.0040a26f
pop ecx
cmp word [ebp - 0x268], 0x2e
je 0x417d14
test byte [ebp - 0x294], 0x10
je 0x417d14
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x268]
push eax
call esi
push dword [ebp - 8]
mov dword [ebp - 0x30], eax
call esi
mov ecx, dword [ebp - 0x30]
lea eax, [eax + ecx + 0x1e]
push eax
lea ecx, [ebp + 8]
call fcn.0042aed6
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x10]
push str._s_sGdiPlus.dll
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push dword [ebp + 8]
call edi
lea ecx, [ebp + 8]
mov dword [ebp - 8], eax
call fcn.0042602e
cmp dword [ebp - 8], ebx
jne 0x417d27
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403bb2
test eax, eax
jne 0x417caa
lea ecx, [ebp - 0x10]
call fcn.0042602e
lea ecx, [ebp - 0x1c]
call fcn.00402a12
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47d6ac
push dword [ebp - 8]
call edi
push 0x47d69c
push dword [ebp - 8]
mov dword [0x48fd90], eax
call edi
push str.GdipLoadImageFromFile
push dword [ebp - 8]
mov dword [0x48fd94], eax
call edi
push 0x47d670
push dword [ebp - 8]
mov dword [0x48fda4], eax
call edi
push 0x47d65c
push dword [ebp - 8]
mov dword [0x48fd98], eax
call edi
push str.GdipDrawImageRectI
push dword [ebp - 8]
mov dword [0x48fd9c], eax
call edi
mov dword [0x48fda0], eax
cmp dword [0x48fe28], ebx
jne 0x417dc6
cmp dword [0x48fda4], ebx
je 0x417dc6
xor eax, eax
mov dword [ebp - 0x44], 1
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x44]
push eax
push 0x48fe28
call dword [0x48fd90]
cmp dword [0x48fde4], ebx
jne 0x417de8
cmp dword [0x48fe28], ebx
je 0x417de8
push 0x48fdfc
lea eax, [ebp - 0x49c]
push eax
call dword [0x48fda4]
lea ecx, [ebp - 0x14]
call fcn.0042aeb8
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.004334dc
add esp, 0xc
push dword [ebp - 0x14]
call esi
cmp byte [ebp - 1], bl
mov edi, str.SOFTWAREPELOGON
mov esi, 0x80000002
jne 0x417e31
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x14]
push 1
push str.LogoFile
push edi
push esi
call fcn.00426e2f
add esp, 0x18
mov eax, dword [0x48fde4]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
push str.LogohWnd
push edi
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 4
call fcn.00426db8
add esp, 0x18
cmp dword [ebp - 0x18], ebx
je 0x417eac
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x417e76
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x417eac
mov eax, dword [0x48fde4]
cmp eax, ebx
je 0x417e9e
cmp ecx, eax
je 0x417e9e
push ebx
push 0x66
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, ebx
je 0x417eac
cmp dword [ebp + 8], ebx
jne 0x417eac
mov dword [ebp + 8], ecx
jmp 0x417ebe
cmp byte [ebp - 1], bl
jne 0x417ebe
push dword [ebp - 0x14]
mov ecx, 0x48ff68
call fcn.00426075
cmp dword [ebp + 8], ebx
je 0x417f12
cmp dword [0x48fde4], ebx
jne 0x417ee1
mov eax, dword [0x48fdfc]
cmp eax, ebx
je 0x417ee1
push eax
call dword [0x48fd98]
mov dword [0x48fdfc], ebx
push ebx
push ebx
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov word [eax], bx
mov byte [0x48fe20], bl
call fcn.0042602e
push 0x49062c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x417f77
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov word [eax], bx
call fcn.0042602e
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x49062c
push edi
call esi
push ebx
push 0x410407
push ebx
push 0x47b4e4
push dword [0x48fde8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp dword [ebp - 8], ebx
je 0x417f67
mov eax, dword [0x48fdfc]
cmp eax, ebx
mov dword [0x48fd90], ebx
je 0x417f67
push eax
call dword [0x48fd98]
mov dword [0x48fdfc], ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [0x48fde4], ebx
call esi
lea ecx, [ebp - 0x24]
call fcn.0042602e
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8