Function at 0x4196c4
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.00416705
add esp, 0x14
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.0043a4ba
mov eax, dword [ebp - 0x24]
xor ebx, ebx
push 0x49b604
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 [0x49ac04]
and al, 2
xor byte [0x49ac04], al
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x41977a
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.00430ad7
test eax, eax
pop ecx
pop ecx
jle 0x41977a
mov eax, dword [ebp - 0x1c]
mov dword [0x49e00c], eax
cmp dword [0x49e00c], 0x80000000
jne 0x419790
call fcn.0040c18f
mov dword [0x49e00c], 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 0x4197bd
push eax
call fcn.00470011
test eax, eax
pop ecx
je 0x4197ba
cmp byte [ebp - 2], bl
je 0x4197c3
mov byte [ebp - 2], 2
jmp 0x4197c0
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 [0x49ae20], al
setne al
shl al, 2
xor al, byte [0x49ac04]
and al, 4
xor byte [0x49ac04], al
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x4199b1
push 0x104
push eax
lea eax, [ebp - 0x49c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
cmp dword [0x49ad84], ebx
mov byte [0x49ae09], 1
jne 0x419960
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GdiPlus.dll
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x419900
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.00437546
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0046ff71
add esp, 0xc
test eax, eax
je 0x4198f0
push dword [ebp - 0x10]
call fcn.0040b2ed
pop ecx
cmp word [ebp - 0x268], 0x2e
je 0x4198dd
test byte [ebp - 0x294], 0x10
je 0x4198dd
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.0042e1e2
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.00428a48
cmp dword [ebp - 8], ebx
jne 0x4198f0
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004040e9
test eax, eax
jne 0x419873
lea ecx, [ebp - 0x10]
call fcn.00428a48
lea ecx, [ebp - 0x1c]
call fcn.00402ad6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GdiplusStartup
push dword [ebp - 8]
call edi
push str.GdiplusShutdown
push dword [ebp - 8]
mov dword [0x49ad84], eax
call edi
push str.GdipLoadImageFromFile
push dword [ebp - 8]
mov dword [0x49ad88], eax
call edi
push str.GdipDisposeImage
push dword [ebp - 8]
mov dword [0x49ad98], eax
call edi
push str.GdipCreateFromHDC
push dword [ebp - 8]
mov dword [0x49ad8c], eax
call edi
push str.GdipDrawImageRectI
push dword [ebp - 8]
mov dword [0x49ad90], eax
call edi
mov dword [0x49ad94], eax
cmp dword [0x49ae1c], ebx
jne 0x41998f
cmp dword [0x49ad98], ebx
je 0x41998f
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 0x49ae1c
call dword [0x49ad84]
cmp dword [0x49add8], ebx
jne 0x4199b1
cmp dword [0x49ae1c], ebx
je 0x4199b1
push 0x49adf0
lea eax, [ebp - 0x49c]
push eax
call dword [0x49ad98]
lea ecx, [ebp - 0x14]
call fcn.0042e1c4
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0043897f
add esp, 0xc
push dword [ebp - 0x14]
call esi
cmp byte [ebp - 1], bl
mov edi, str.SOFTWAREPELOGON
mov esi, 0x80000002
jne 0x4199fa
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x14]
push 1
push str.LogoFile
push edi
push esi
call fcn.004297ff
add esp, 0x18
mov eax, dword [0x49add8]
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.00429788
add esp, 0x18
cmp dword [ebp - 0x18], ebx
je 0x419a75
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419a3f
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x419a75
mov eax, dword [0x49add8]
cmp eax, ebx
je 0x419a67
cmp ecx, eax
je 0x419a67
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 0x419a75
cmp dword [ebp + 8], ebx
jne 0x419a75
mov dword [ebp + 8], ecx
jmp 0x419a87
cmp byte [ebp - 1], bl
jne 0x419a87
push dword [ebp - 0x14]
mov ecx, 0x49af6c
call fcn.0043a57e
cmp dword [ebp + 8], ebx
je 0x419adb
cmp dword [0x49add8], ebx
jne 0x419aaa
mov eax, dword [0x49adf0]
cmp eax, ebx
je 0x419aaa
push eax
call dword [0x49ad8c]
mov dword [0x49adf0], 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 [0x49ae15], bl
call fcn.00428a48
push 0x49b604
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x419b40
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov word [eax], bx
call fcn.00428a48
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x49b604
push edi
call esi
push ebx
push 0x410d20
push ebx
push 0x485654
push dword [0x49addc]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp dword [ebp - 8], ebx
je 0x419b30
mov eax, dword [0x49adf0]
cmp eax, ebx
mov dword [0x49ad84], ebx
je 0x419b30
push eax
call dword [0x49ad8c]
mov dword [0x49adf0], ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [0x49add8], ebx
call esi
lea ecx, [ebp - 0x24]
call fcn.00428a48
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8