Function at 0x42dc50
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebac0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x18]
jne 0x42dccb
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x42dca8
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
call fcn.0042c4c0
mov dword [edi], eax
mov eax, 1
jmp 0x42dccd
cmp eax, 2
jne 0x42dceb
cmp dword [esi + 0x8c], 0
je 0x42dcc5
push 0
push 0
push 0x12
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [edi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x10
jne 0x42dd46
mov ebx, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
jne 0x42dd07
mov dword [esi + 0x90], 1
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
cmp ebx, dword [0x534910]
je 0x42dd30
test ebx, ebx
je 0x42dd30
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x42dd30
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi], 0
mov eax, 1
jmp 0x42dccd
cmp eax, 0x113
jne 0x42de89
cmp dword [ebp + 0x10], 1
jne 0x42de79
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x428730
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [0x534910]
je 0x42dd93
test eax, eax
je 0x42dd93
mov ebx, 1
jmp 0x42dd95
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x42ddd6
test ebx, ebx
je 0x42dde3
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x68]
push 0x56
push eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push eax
push 0
push 0
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x42de6e
test ebx, ebx
je 0x42dde3
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x68]
push 0x42
push eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push eax
push 0
mov eax, ebx
xor eax, 1
push 0
sub eax, 2
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x24], 0x1e
test ebx, ebx
jne 0x42de6e
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 8
jne 0x42de6e
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x68]
push 0x42
push eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push eax
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 0x68]
push 0x42
push eax
mov eax, dword [esi + 0x6c]
sub eax, dword [esi + 0x64]
push eax
push ebx
push ebx
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
sub dword [ebp - 0x24], 1
jne 0x42de10
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi], 0
mov eax, 1
jmp 0x42dccd
cmp eax, 0x14
jne 0x42dec2
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x74]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov dword [edi], 1
mov eax, 1
jmp 0x42dccd
cmp eax, 0x111
jne 0x42dccb
movzx eax, word [ebp + 0x10]
mov ecx, 0x8105
cmp cx, ax
jne 0x42df97
push 0x534914
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x53492c]
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x42df08
call fcn.00427dc0
mov ebx, eax
mov dword [0x53492c], ebx
inc dword [0x534930]
push 0x534914
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x24], ebx
sub esp, 0x28
mov dword [ebp - 4], 1
mov eax, esp
mov ecx, ebx
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_1045a8430403ae9653026b16c6168fb0___void___.0
mov dword [eax + 4], esi
mov dword [eax + 0x24], eax
call fcn.00430a80
test ebx, ebx
je 0x42de79
push 0x534914
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x534930]
test eax, eax
je 0x42df7b
sub eax, 1
mov dword [0x534930], eax
jne 0x42df7b
mov ecx, dword [0x53492c]
test ecx, ecx
je 0x42df7b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x53492c], 0
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x534914
call eax
mov dword [edi], 0
mov eax, 1
jmp 0x42dccd
mov ecx, 0x8106
cmp cx, ax
jne 0x42dfcb
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi], 0
mov eax, 1
jmp 0x42dccd
mov ecx, 0x8107
cmp cx, ax
jne 0x42dccb
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [edi], 0
mov eax, 1
jmp 0x42dccd