Function at 0x415f50
Capabilities:
Enumerate gui resources
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x440938
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451254]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov edi, dword [esp + 0xcc]
xor ebx, ebx
cmp edi, ebx
je 0x4160e8
lea eax, [esp + 0x18]
push eax
push 0x416400
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4160e8
push ebx
push str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
cmp esi, ebx
je 0x416017
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 0xa2d048cd
push 0x685535a3
push 0x401
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call ebp
mov ecx, dword [esp + 0x18]
push ebx
push str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
push ebx
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
cmp esi, ebx
je 0x416010
push 0xa2d048cd
push 0x685535a3
push 0x401
push esi
call edi
push esi
call ebp
mov edi, dword [esp + 0xcc]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0xac]
push eax
call fcn.00416520
add esp, 8
test eax, eax
jne 0x416048
push 0x3e8
call ebp
add esi, 1
cmp esi, 0x10
jl 0x416020
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0x416990
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
call ebp
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x4160e8
push ebx
push ebx
call ebp
mov edx, dword [esp + 0x1c]
push eax
push ebx
push edx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push ebx
push str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
cmp esi, ebx
jne 0x4160ef
push ebx
call ebp
push eax
push str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
call dword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
jmp 0x4163e4
mov ecx, dword [edi + 4]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x416108
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x416129
mov dword [edi + 8], eax
mov edi, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetPropW]
push str.width
push esi
mov dword [esp + 0x38], edi
call ebp
push edi
push str.height
push esi
call ebp
push ebx
push 0x64
push ebx
push esi
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x40], 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
xor edi, edi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4163cc
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebp
test eax, eax
je 0x4163cc
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4163cc
push esi
call ebp
test eax, eax
je 0x4163cc
cmp dword [esp + 0x30], ebx
je 0x416388
mov eax, dword [esp + 0x18]
push 1
push eax
mov dword [esp + 0x38], ebx
call fcn.00416ab0
add esp, 8
test eax, eax
jne 0x41620c
add edi, 1
cmp edi, 8
mov dword [esp + 0x1c], edi
jge 0x4163cc
jmp 0x416210
mov dword [esp + 0x1c], ebx
xor eax, eax
push 0xffffffffffffffec
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
push esi
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2b], 1
mov byte [esp + 0x2a], 0xff
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push ebp
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xd0]
push edx
push ebx
mov dword [esp + 0xd0], ebx
mov edx, dword [ecx + 4]
push ebx
push edx
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x4162c8
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push esi
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x40]
push str.User32.DLL
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.UpdateLayeredWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41634b
push 2
lea edx, [esp + 0x24]
push edx
push ebx
lea ecx, [esp + 0x7c]
push ecx
push edi
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x90]
push ecx
push ebp
push esi
call eax
mov dword [esp + 0xc4], 0xffffffff
mov edx, dword [esp + 0x24]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, dword [esp + 0x34]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4163b2
cmp dword [esp + 0x50], 0x113
jne 0x4163b6
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.00416ab0
add esp, 8
test eax, eax
jne 0x4163ae
add edi, 1
cmp edi, 8
jge 0x4163cc
jmp 0x4163b6
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x1c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x416190
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push str.9D1BF615_3CFD_43ef_AB19_69FD6598D66B
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret