Function at 0x418449
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.00415445
add esp, 0x14
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.004365ba
mov eax, dword [ebp - 0x24]
xor ebx, ebx
push 0x4975e4
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 [0x496bfc]
and al, 2
xor byte [0x496bfc], al
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x4184ff
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.0042f0d0
test eax, eax
pop ecx
pop ecx
jle 0x4184ff
mov eax, dword [ebp - 0x1c]
mov dword [0x49a00c], eax
cmp dword [0x49a00c], 0x80000000
jne 0x418515
call fcn.0040b592
mov dword [0x49a00c], 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 0x418542
push eax
call fcn.0046c682
test eax, eax
pop ecx
je 0x41853f
cmp byte [ebp - 2], bl
je 0x418548
mov byte [ebp - 2], 2
jmp 0x418545
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 [0x496e18], al
setne al
shl al, 2
xor al, byte [0x496bfc]
and al, 4
xor byte [0x496bfc], al
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x418736
push 0x104
push eax
lea eax, [ebp - 0x49c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
cmp dword [0x496d7c], ebx
mov byte [0x496e01], 1
jne 0x4186e5
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GdiPlus.dll
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x418685
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.0043d8d6
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0046c5e2
add esp, 0xc
test eax, eax
je 0x418675
push dword [ebp - 0x10]
call fcn.0040a72b
pop ecx
cmp word [ebp - 0x268], 0x2e
je 0x418662
test byte [ebp - 0x294], 0x10
je 0x418662
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.0042c827
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.00427365
cmp dword [ebp - 8], ebx
jne 0x418675
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403d5a
test eax, eax
jne 0x4185f8
lea ecx, [ebp - 0x10]
call fcn.00427365
lea ecx, [ebp - 0x1c]
call fcn.00402a40
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 [0x496d7c], eax
call edi
push str.GdipLoadImageFromFile
push dword [ebp - 8]
mov dword [0x496d80], eax
call edi
push str.GdipDisposeImage
push dword [ebp - 8]
mov dword [0x496d90], eax
call edi
push str.GdipCreateFromHDC
push dword [ebp - 8]
mov dword [0x496d84], eax
call edi
push str.GdipDrawImageRectI
push dword [ebp - 8]
mov dword [0x496d88], eax
call edi
mov dword [0x496d8c], eax
cmp dword [0x496e14], ebx
jne 0x418714
cmp dword [0x496d90], ebx
je 0x418714
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 0x496e14
call dword [0x496d7c]
cmp dword [0x496dd0], ebx
jne 0x418736
cmp dword [0x496e14], ebx
je 0x418736
push 0x496de8
lea eax, [ebp - 0x49c]
push eax
call dword [0x496d90]
lea ecx, [ebp - 0x14]
call fcn.0042c809
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.004350b7
add esp, 0xc
push dword [ebp - 0x14]
call esi
cmp byte [ebp - 1], bl
mov edi, str.SOFTWAREPELOGON
mov esi, 0x80000002
jne 0x41877f
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x14]
push 1
push str.LogoFile
push edi
push esi
call fcn.004280f8
add esp, 0x18
mov eax, dword [0x496dd0]
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.00428081
add esp, 0x18
cmp dword [ebp - 0x18], ebx
je 0x4187fa
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4187c4
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x4187fa
mov eax, dword [0x496dd0]
cmp eax, ebx
je 0x4187ec
cmp ecx, eax
je 0x4187ec
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 0x4187fa
cmp dword [ebp + 8], ebx
jne 0x4187fa
mov dword [ebp + 8], ecx
jmp 0x41880c
cmp byte [ebp - 1], bl
jne 0x41880c
push dword [ebp - 0x14]
mov ecx, 0x496f4c
call fcn.0043667e
cmp dword [ebp + 8], ebx
je 0x418860
cmp dword [0x496dd0], ebx
jne 0x41882f
mov eax, dword [0x496de8]
cmp eax, ebx
je 0x41882f
push eax
call dword [0x496d84]
mov dword [0x496de8], 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 [0x496e0c], bl
call fcn.00427365
push 0x4975e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4188c5
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov word [eax], bx
call fcn.00427365
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x4975e4
push edi
call esi
push ebx
push 0x40ff42
push ebx
push 0x4815a4
push dword [0x496dd4]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp dword [ebp - 8], ebx
je 0x4188b5
mov eax, dword [0x496de8]
cmp eax, ebx
mov dword [0x496d7c], ebx
je 0x4188b5
push eax
call dword [0x496d84]
mov dword [0x496de8], ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [0x496dd0], ebx
call esi
lea ecx, [ebp - 0x24]
call fcn.00427365
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8