Function at 0x1004b3d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x1008500c]
xor eax, esp
mov dword [esp + 0x14], eax
cmp byte [0x1008523d], 0
push esi
push edi
jne 0x1004b651
mov dword [0x10085234], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x1004b2c0
call dword [sym.imp.USER32.dll_EnumWindows]
sub esp, 0x18
xorps xmm0, xmm0
cmp dword [0x10085234], 0
mov ecx, esp
jne 0x1004b456
push 0x24
movups xmmword [ecx], xmm0
push str._ui__Unable_to_find_window_handle_:_
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10005760
call fcn.10019210
add esp, 0x18
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
mov esi, dword [0x22b4c50]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test esi, esi
jne 0x1004b496
push 0x1c
push str._ui__g_pD3DDevice_is_null_:_
call fcn.10005760
call fcn.10019210
add esp, 0x18
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret
push 0x19
push str._ui__g_pD3DDevice:_0x:x
mov dword [esp + 0x34], esi
call fcn.10005760
lea ecx, [esp + 0x2c]
call fcn.10019660
mov eax, dword [esi]
add esp, 0x18
mov edx, 0x1004b800
mov dword [esp + 0x14], str.IDirect3DDevice9::Reset
mov edi, dword [eax + 0x40]
mov ecx, edi
mov esi, dword [eax + 0x44]
push 0x100860a8
mov dword [esp + 0x1c], edi
call fcn.100486a0
test eax, eax
je 0x1004b51b
sub esp, 0x18
mov dword [esp + 0x24], eax
mov ecx, esp
xorps xmm0, xmm0
push 0x3b
movups xmmword [ecx], xmm0
push str._hooks__Failed_to_create_hook__at_0x:x__MH_STATUS__
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10005760
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.10019e30
add esp, 0x1c
jmp 0x1004b582
mov ecx, edi
call fcn.10048920
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x1004b566
push 0x3a
push str._hooks__Failed_to_queue_hook__at_0x:x__MH_STATUS__
mov dword [esp + 0x2c], eax
call fcn.10005760
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x30]
call fcn.10019e30
add esp, 0x1c
jmp 0x1004b582
push 0x1c
push str._hooks__Hooking__at_0x:x
call fcn.10005760
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
call fcn.1001a080
add esp, 0x18
push 0x100860ac
mov edx, 0x1004b910
mov dword [esp + 0x18], esi
mov ecx, esi
mov dword [esp + 0x1c], str.IDirect3DDevice9::Present
call fcn.100486a0
test eax, eax
je 0x1004b5e3
sub esp, 0x18
mov dword [esp + 0x24], eax
mov ecx, esp
xorps xmm0, xmm0
push 0x3b
movups xmmword [ecx], xmm0
push str._hooks__Failed_to_create_hook__at_0x:x__MH_STATUS__
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10005760
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x34]
call fcn.10019e30
add esp, 0x1c
jmp 0x1004b64a
mov ecx, esi
call fcn.10048920
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x1004b62e
push 0x3a
push str._hooks__Failed_to_queue_hook__at_0x:x__MH_STATUS__
mov dword [esp + 0x2c], eax
call fcn.10005760
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x34]
call fcn.10019e30
add esp, 0x1c
jmp 0x1004b64a
push 0x1c
push str._hooks__Hooking__at_0x:x
call fcn.10005760
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.1001a080
add esp, 0x18
mov byte [0x1008523d], 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.10053c04
mov esp, ebp
pop ebp
ret