Function at 0x41bd9a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x494
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x24], eax
xor eax, eax
push edi
push eax
mov byte [ebp - 1], al
mov byte [ebp - 2], al
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 1]
push eax
lea ebx, [ebp + 0xc]
mov byte [ebp - 3], 1
call fcn.0041b722
add esp, 0x10
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.0042a183
mov eax, dword [ebp - 0x20]
xor ebx, ebx
push 0x48b5d4
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x494], bx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 1], bl
push 0x2c
push dword [ebp + 0xc]
setne al
shl al, 1
xor al, byte [0x48abf4]
and al, 2
xor byte [0x48abf4], al
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x41be44
mov word [eax], bx
add dword [ebp - 0x1c], 2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x10], ebx
call fcn.0042e410
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov dword [0x48ae04], eax
cmp dword [0x48ae04], ebx
jne 0x41be56
call fcn.0040aaa8
mov dword [0x48ae04], eax
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
cmp cx, 0x2a
sete byte [ebp - 1]
cmp cx, 0x2a
je 0x41be83
push eax
call fcn.004614b5
test eax, eax
pop ecx
je 0x41be80
cmp byte [ebp - 2], bl
je 0x41be89
mov byte [ebp - 2], 2
jmp 0x41be86
mov eax, dword [ebp + 0xc]
mov word [eax], bx
cmp byte [ebp - 2], bl
setne al
cmp byte [ebp - 3], bl
mov byte [0x48ae20], al
setne al
shl al, 2
xor al, byte [0x48abf4]
and al, 4
xor byte [0x48abf4], al
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x41c06d
push 0x104
push eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
cmp dword [0x48ad78], ebx
mov byte [0x48ae0d], 1
jne 0x41c01c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GdiPlus.dll
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x41bfc3
mov ecx, dword [ebp + 8]
push 1
push ebx
lea eax, [ebp - 0xc]
push eax
push str._SystemRoot_WinSxS
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0043dcfa
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00461415
add esp, 0xc
test eax, eax
je 0x41bfb3
push dword [ebp - 0xc]
call fcn.00409e39
pop ecx
cmp word [ebp - 0x260], 0x2e
je 0x41bfa0
test byte [ebp - 0x28c], 0x10
je 0x41bfa0
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x260]
push eax
call fcn.0046176a
push edi
mov dword [ebp - 8], eax
call fcn.0046176a
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx + 0x1e]
push eax
lea ecx, [ebp + 8]
call fcn.0042465d
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0xc]
push str._s_sGdiPlus.dll
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push dword [ebp + 8]
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 8], eax
call fcn.00424686
cmp dword [ebp - 8], ebx
jne 0x41bfb3
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403a09
test eax, eax
jne 0x41bf33
lea ecx, [ebp - 0xc]
call fcn.00424686
lea ecx, [ebp - 0x10]
call fcn.0040291f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GdiplusStartup
push dword [ebp - 8]
call edi
mov esi, dword [ebp - 8]
push str.GdiplusShutdown
push esi
mov dword [0x48ad78], eax
call edi
push str.GdipLoadImageFromFile
push esi
mov dword [0x48ad7c], eax
call edi
push str.GdipDisposeImage
push esi
mov dword [0x48ad8c], eax
call edi
push str.GdipCreateFromHDC
push esi
mov dword [0x48ad80], eax
call edi
push str.GdipDrawImageRectI
push esi
mov dword [0x48ad84], eax
call edi
mov dword [0x48ad88], eax
cmp dword [0x48ae1c], ebx
jne 0x41c04b
cmp dword [0x48ad8c], ebx
je 0x41c04b
xor eax, eax
mov dword [ebp - 0x3c], 1
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0x48ae1c
call dword [0x48ad78]
cmp dword [0x48adcc], ebx
jne 0x41c06d
cmp dword [0x48ae1c], ebx
je 0x41c06d
push 0x48ade8
lea eax, [ebp - 0x494]
push eax
call dword [0x48ad8c]
lea ecx, [ebp - 0x14]
call fcn.0042460b
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x494]
push eax
call fcn.0042921d
push dword [ebp - 0x14]
call fcn.0046176a
add esp, 0x10
cmp byte [ebp - 1], bl
mov esi, str.SOFTWAREPELOGON
mov edi, 0x80000002
jne 0x41c0b9
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x14]
push 1
push str.LogoFile
push esi
push edi
call fcn.00425503
add esp, 0x18
mov eax, dword [0x48adcc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push str.LogohWnd
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 4
call fcn.0042548c
add esp, 0x18
cmp dword [ebp - 0x18], ebx
je 0x41c134
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41c0fe
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x41c134
mov eax, dword [0x48adcc]
cmp eax, ebx
je 0x41c126
cmp ecx, eax
je 0x41c126
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 0x41c134
cmp dword [ebp + 8], ebx
jne 0x41c134
mov dword [ebp + 8], ecx
jmp 0x41c146
cmp byte [ebp - 1], bl
jne 0x41c146
push dword [ebp - 0x14]
mov ecx, 0x48aea4
call fcn.00424710
cmp dword [ebp + 8], ebx
je 0x41c19a
cmp dword [0x48adcc], ebx
jne 0x41c169
mov eax, dword [0x48ade8]
cmp eax, ebx
je 0x41c169
push eax
call dword [0x48ad80]
mov dword [0x48ade8], ebx
push ebx
push ebx
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov word [eax], bx
mov byte [0x48ae14], bl
call fcn.00424686
push 0x48b5d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41c1ff
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
mov word [eax], bx
call fcn.00424686
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x48b5d4
push edi
call esi
push ebx
push 0x40f429
push ebx
push 0x476484
push dword [0x48add0]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp dword [ebp - 8], ebx
je 0x41c1ef
mov eax, dword [0x48ade8]
cmp eax, ebx
mov dword [0x48ad78], ebx
je 0x41c1ef
push eax
call dword [0x48ad80]
mov dword [0x48ade8], ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [0x48adcc], ebx
call esi
lea ecx, [ebp - 0x20]
call fcn.00424686
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8