Function at 0x425480
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496b20
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4d406c]
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 ebx, edx
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xd0], 0
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
test eax, eax
je 0x4256d1
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], edi
push eax
push 0x4252f0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0xcc], edi
je 0x4256d1
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x4256d1
push esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xd4]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042bd00
push 0xb0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], edi
push edi
push eax
call fcn.0045f220
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.0042abf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x14]
call fcn.0042ce60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xd0], 2
test cl, 2
jne 0x4255a9
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
test edx, edx
je 0x4255a9
mov eax, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0x78]
cmovb edx, dword [ebp - 0x78]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x4255cc
test cl, 4
jne 0x4255d9
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
test edx, edx
je 0x4255d9
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x84]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0xec]
call fcn.00404f30
mov dword [ebp - 4], 3
call fcn.00465bd8
cmp dword [ebp - 0xd8], 0x10
lea esi, [ebp - 0xec]
mov edi, eax
lea eax, [ebp - 0xd0]
cmovae esi, dword [ebp - 0xec]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00465de9
add esp, 0xc
cmp esi, dword [ebp - 0xd0]
je 0x425700
cmp dword [edi], 0x22
je 0x42570a
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd8]
mov dword [ebx], eax
cmp edx, 0x10
jb 0x425668
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42565e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425714
push edx
push ecx
call fcn.0045cf49
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x42567c
push 1
call fcn.0045b1ca
mov eax, dword [ebp - 0x14]
add esp, 4
push eax
push dword [ebp - 0x18]
call fcn.0045b09f
add esp, 8
test eax, eax
je 0x425695
push eax
call fcn.0045b19d
add esp, 4
mov esi, dword [ebp - 0xd4]
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc8]
mov edi, 1
call fcn.00425720
cmp dword [ebp - 0x14], 0
jne 0x425719
jmp 0x4256e2
mov ecx, dword [esi]
test ecx, ecx
je 0x4256e0
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov dword [ebx], edi
mov eax, edi
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.0045cf38
mov esp, ebp
pop ebp
ret
push str.invalid_stoul_argument
call fcn.0045afef
push str.stoul_argument_out_of_range
call fcn.0045b02f
call fcn.004626c9
call fcn.00465d68
int3