Function at 0x46dfb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581f25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
sub esp, 0x50
mov al, byte [ebx + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
mov byte [ecx + 0x1e], al
push edi
mov dword [ebp - 0x10], esp
test esi, esi
je 0x46e2f0
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46e2f0
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0xe
push esi
call dword [sym.imp.dwmapi.dll_DwmGetWindowAttribute]
test eax, eax
js 0x46e02a
cmp dword [ebp - 0x1c], 0
jne 0x46e2f0
mov dword [ebp - 4], 0
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x46e306
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.dktqNRxsunBDIp4OA8mkBCgC
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00430f00
test al, al
jne 0x46e071
push 0x18
push str.dktqNRxsunBDIp4OA8mkBCgC
lea ecx, [ebp - 0x1c]
call fcn.00431230
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00550cf4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x44fd80
call dword [sym.imp.USER32.dll_EnumWindows]
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x34], esi
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
mov ecx, edi
call fcn.004305b0
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
call fcn.00447160
add esp, 4
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov edx, dword [eax]
mov ecx, edx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46e0f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0042cb00
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00453b10
mov esi, dword [ebp - 0x40]
cmp byte [esi + 0xd], 0
jne 0x46e315
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00425f50
test al, al
jne 0x46e315
mov ecx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x1c], eax
cmp ecx, 8
jb 0x46e183
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46e179
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e310
push ecx
push edx
call fcn.00550d24
add esp, 8
mov edx, dword [ebp - 0x2c]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46e1a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, eax
call fcn.00453b70
push 0x2c
push dword [ebp - 0x3c]
call fcn.00550d24
add esp, 8
push 0
push 0
push 0
push 0x1b
call dword [sym.imp.USER32.dll_keybd_event]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x46e2f0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46e2f0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80004005
call fcn.00431210
call fcn.00555bff
push str.invalid_map_K__T__key
call fcn.0053a738
int3