Function at 0x421afb
Capabilities:
Enumerate gui resources

Disassembly:
push 0x2cc
mov eax, 0x447615
call fcn.00442f6c
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a8], eax
lea eax, [ebx + 0x98]
mov dword [ebp - 0x2c4], eax
cmp dword [eax + 0x18], 0
je 0x421b2e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x2c0], 1
and dword [ebp - 4], 0
mov esi, 0x4520f8
lea edi, [ebx + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00404c18
mov esi, dword [ebp - 0x2a8]
mov eax, dword [esi]
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x421e3d
add esi, 4
lea edi, [ebx + 0xc0]
xorps xmm0, xmm0
lea ecx, [ebp - 0x218]
movlpd qword [ebp - 0x218], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041f27e
mov byte [ebp - 4], 1
call fcn.00403fdb
and dword [ebp - 0x2b0], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2a8]
cmp dword [eax + 4], 0
jle 0x421d2e
add eax, 8
mov dword [ebp - 0x2ac], eax
mov edi, dword [eax]
push edi
call fcn.0043b785
pop ecx
test al, al
je 0x421d03
push edi
call fcn.0043b1d7
pop ecx
mov dword [ebp - 0x2a4], eax
lea ecx, [ebx + 0x74]
lea eax, [ebp - 0x2a4]
push eax
call fcn.00406233
cmp dword [ebx + 0x38], 0
jne 0x421bee
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x40], edi
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push edi
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.00420b4f
push edi
mov esi, eax
mov dword [ebp - 0x2a4], eax
call fcn.00404541
pop ecx
test al, al
je 0x421c42
or esi, 0x10
mov dword [ebp - 0x2a4], esi
push 0
push edi
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2cc], esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x2c8], eax
lea esi, [ebx + 0x80]
lea eax, [ebp - 0x2d0]
mov ecx, esi
push eax
call fcn.0041eff9
mov eax, dword [ebp - 0x2a4]
or dword [ebx + 0xbc], eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0xc
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp - 0x2ac]
mov ecx, dword [ecx]
mov dword [ebx + eax*4 + 0xd4], ecx
inc dword [ebx + 0xd4]
cmp dword [ebp - 0x2b4], 1
jbe 0x421d03
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov esi, eax
mov dword [ebp - 0x2a4], esi
test esi, esi
je 0x421d03
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x218]
call fcn.0041ebe3
cmp eax, dword [ebp - 0x218]
jne 0x421d00
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], esi
push eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2b8], 1
push eax
lea ecx, [ebp - 0x218]
call fcn.0041ea20
jmp 0x421d03
inc dword [eax + 0x14]
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, dword [ebp - 0x2ac]
add eax, 4
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x2ac], eax
cmp edx, dword [ecx + 4]
jl 0x421bb5
cmp dword [ebp - 0x214], 0
je 0x421d4a
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.004210d1
mov eax, dword [ebx + 0x70]
jmp 0x421d59
push 1
push 0
push 0
call dword [sym.imp.USER32.dll_MonitorFromPoint]
mov dword [ebx + 0x70], eax
test eax, eax
je 0x421e2b
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0x68
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x238]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x238]
call fcn.0040687e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
push dword [ebx + 0x70]
call fcn.00401463
mov dword [ebx + 0xb8], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 0x278]
push eax
call fcn.004031cf
mov al, byte [ebp - 0x27c]
lea edi, [ebx + 0x24]
push dword [ebx + 0x70]
lea esi, [ebp - 0x29c]
mov dword [ebx + 0xd0], 0x48
movsd dword es:[edi], dword [esi]
and al, 1
mov byte [ebx + 0x1c], al
mov ecx, ebx
lea eax, [ebx + 0x80]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041f6a6
test byte [ebx + 0xbc], 4
mov dword [ebx], 1
je 0x421e06
push ebx
push 0x41f9e0
call dword [sym.imp.USER32.dll_EnumWindows]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x238]
call fcn.004012d8
mov byte [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, eax
call fcn.0041eb8a
jmp 0x421e3f
mov byte [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
mov ecx, eax
call fcn.0041eb8a
xor bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c4]
cmp dword [eax + 0x18], 0
je 0x421e56
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.00442f16
ret 4