Function at 0x42ccf2
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x4e92b2
call fcn.004b48a0
sub esp, 0x4a0
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x34], eax
xor eax, eax
push edi
push eax
mov byte [ebp - 0x16], al
mov byte [ebp - 0xe], al
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0xe]
push eax
lea eax, [ebp - 0x16]
push eax
lea ebx, [ebp + 0xc]
mov byte [ebp - 0xd], 0x2a
mov byte [ebp - 0x15], 1
call fcn.0042a51a
add esp, 0x14
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00456550
mov eax, dword [ebp - 0x30]
xor ebx, ebx
mov edi, 0x51d5ec
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x4ac], bx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 0x16], bl
push 0x2c
push dword [ebp + 0xc]
setne al
shl al, 1
xor al, byte [0x51cff4]
mov byte [ebp - 4], 1
and al, 2
xor byte [0x51cff4], al
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x42cdba
mov word [eax], bx
add dword [ebp - 0x2c], 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0044ce90
test eax, eax
pop ecx
pop ecx
jle 0x42cdba
mov eax, dword [ebp - 0x1c]
mov dword [0x52200c], eax
cmp dword [0x52200c], 0x80000000
jne 0x42cdd0
call fcn.0042046d
mov dword [0x52200c], eax
mov eax, dword [ebp + 0xc]
movsx edx, byte [ebp - 0xd]
movzx ecx, word [eax]
cmp ecx, edx
sete byte [ebp - 0xd]
cmp edx, ecx
je 0x42cdfd
push eax
call fcn.004b0cb0
test eax, eax
pop ecx
je 0x42cdfa
cmp byte [ebp - 0xe], bl
je 0x42ce03
mov byte [ebp - 0xe], 2
jmp 0x42ce00
mov eax, dword [ebp + 0xc]
mov word [eax], bx
cmp byte [ebp - 0xe], bl
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
setne al
cmp byte [ebp - 0x15], bl
mov byte [0x51d210], al
setne al
shl al, 2
xor al, byte [0x51cff4]
and al, 4
xor byte [0x51cff4], al
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x42d007
push 0x104
push eax
lea eax, [ebp - 0x4ac]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
cmp dword [0x51d174], ebx
mov byte [0x51d1f9], 1
jne 0x42cfb1
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.GdiPlus.dll
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x42cf4c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp + 8]
push 1
push ebx
lea eax, [ebp - 0x24]
push eax
push str._SystemRoot_WinSxS
mov byte [ebp - 4], 3
call fcn.00454330
lea eax, [ebp - 0x2a4]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.004b0bc0
add esp, 0xc
test eax, eax
je 0x42cf34
push dword [ebp - 0x24]
call fcn.0041f4a4
pop ecx
cmp word [ebp - 0x278], 0x2e
je 0x42cf21
test byte [ebp - 0x2a4], 0x10
je 0x42cf21
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x278]
push eax
call esi
push dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
call esi
mov ecx, dword [ebp - 0x38]
lea eax, [eax + ecx + 0x1e]
push eax
lea ecx, [ebp + 8]
call fcn.004494b0
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x24]
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 - 0x14], eax
call fcn.00443880
cmp dword [ebp - 0x14], ebx
jne 0x42cf34
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00417ee4
test eax, eax
jne 0x42ceb7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00443880
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004165bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GdiplusStartup
push dword [ebp - 0x14]
call edi
push str.GdiplusShutdown
push dword [ebp - 0x14]
mov dword [0x51d174], eax
call edi
push str.GdipLoadImageFromFile
push dword [ebp - 0x14]
mov dword [0x51d178], eax
call edi
push str.GdipDisposeImage
push dword [ebp - 0x14]
mov dword [0x51d188], eax
call edi
push str.GdipCreateFromHDC
push dword [ebp - 0x14]
mov dword [0x51d17c], eax
call edi
push str.GdipDrawImageRectI
push dword [ebp - 0x14]
mov dword [0x51d180], eax
call edi
mov dword [0x51d184], eax
mov edi, 0x51d5ec
cmp dword [0x51d20c], ebx
jne 0x42cfe5
cmp dword [0x51d188], ebx
je 0x42cfe5
xor eax, eax
mov dword [ebp - 0x54], 1
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x51d20c
call dword [0x51d174]
mov edi, 0x51d5ec
cmp dword [0x51d1c8], ebx
jne 0x42d007
cmp dword [0x51d20c], ebx
je 0x42d007
push 0x51d1e0
lea eax, [ebp - 0x4ac]
push eax
call dword [0x51d188]
lea ecx, [ebp - 0x20]
call fcn.00449480
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4ac]
push eax
mov byte [ebp - 4], 4
call fcn.004a2600
add esp, 0xc
push dword [ebp - 0x20]
call esi
cmp byte [ebp - 0xd], bl
mov esi, SysReAllocStringLen
jne 0x42d053
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x20]
push 1
push str.LogoFile
push str.SOFTWAREPELOGON
push esi
call fcn.00444820
add esp, 0x18
mov eax, dword [0x51d1c8]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push str.LogohWnd
push str.SOFTWAREPELOGON
push esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 4
call fcn.00444780
add esp, 0x18
cmp dword [ebp - 0x28], ebx
je 0x42d0d2
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42d09c
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x42d0d2
mov eax, dword [0x51d1c8]
cmp eax, ebx
je 0x42d0c4
cmp ecx, eax
je 0x42d0c4
push ebx
push 0x66
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, ebx
je 0x42d0d2
cmp dword [ebp + 8], ebx
jne 0x42d0d2
mov dword [ebp + 8], ecx
jmp 0x42d0e4
cmp byte [ebp - 0xd], bl
jne 0x42d0e4
push dword [ebp - 0x20]
mov ecx, 0x51d348
call fcn.004566f0
cmp dword [ebp + 8], ebx
je 0x42d138
cmp dword [0x51d1c8], ebx
jne 0x42d107
mov eax, dword [0x51d1e0]
cmp eax, ebx
je 0x42d107
push eax
call dword [0x51d17c]
mov dword [0x51d1e0], ebx
push ebx
push ebx
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
mov word [eax], bx
mov byte [0x51d204], bl
mov byte [ebp - 4], 1
call fcn.00443880
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42d19f
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
mov word [eax], bx
mov byte [ebp - 4], 1
call fcn.00443880
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov byte [ebp - 4], bl
call esi
push ebx
push 0x424c1a
push ebx
push 0x4f4494
push dword [0x51d1cc]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp dword [ebp - 0x14], ebx
je 0x42d18f
mov eax, dword [0x51d1e0]
cmp eax, ebx
mov dword [0x51d174], ebx
je 0x42d18f
push eax
call dword [0x51d17c]
mov dword [0x51d1e0], ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
mov dword [0x51d1c8], ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00443880
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8