Function at 0x40393d
Capabilities:
Enumerate gui resources

Disassembly:
push 0x9c
mov eax, 0x510a88
call fcn.004d8abf
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x3c], edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40397e
push 0x3e5
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, edi
call fcn.00406620
jmp 0x403bf7
mov ebx, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebx + 0xc], eax
lea ecx, [ebp - 0x38]
lea eax, [ebx + 8]
mov edx, esi
push eax
call fcn.004017fd
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0
jge 0x4039b4
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.0040121b
jmp 0x403bec
fld dword [0x553258]
lea ecx, [ebp - 0xa8]
sub esp, 0x14
fstp dword [esp + 0xc]
fld dword [0x553224]
fstp dword [esp + 8]
fld dword [0x553228]
fstp dword [esp + 4]
call fcn.0040480e
lea eax, [ebp - 0xa8]
push eax
push 0x401368
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x403a13
call fcn.00406710
push 0x534
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x2c]
call fcn.00406620
jmp 0x403a23
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
and dword [ebp - 0x28], 0
call fcn.0040687a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.004032ed
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
push 0xc
call fcn.004d8429
mov esi, eax
pop ecx
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.00404900
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403a9b
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0040492a
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404119
cmp dword [ebp - 0x14], 0
jne 0x403a72
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
call fcn.0040510b
mov eax, dword [ebp - 0x1c]
pop ecx
mov esi, dword [eax]
cmp esi, eax
je 0x403bca
mov eax, dword [esi + 8]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x403bbf
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0xc]
jne 0x403bbf
push 0x2c
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004d9f30
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.0040158c
mov byte [ebp - 4], 4
and dword [ebp - 0x54], 0
and dword [ebp - 0x50], 0
push 0x2c
call fcn.004d8429
pop ecx
mov dword [ebp - 0x54], eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 5
cmp dword [ebx + 4], 0x4ec4ec4
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
je 0x403bff
lea eax, [ebp - 0x78]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004051e5
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
mov dword [edx + 4], eax
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.00404f3f
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004042bd
lea ecx, [ebp - 0x78]
call fcn.00403923
mov eax, dword [ebx]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004036d5
cmp dword [ebp - 0x4c], 0
pop ecx
jge 0x403bb4
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
dec dword [ebx + 4]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00404e83
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x403aba
and dword [edi], 0
lea ecx, [edi + 8]
and dword [edi + 4], 0
call fcn.0040687a
lea ecx, [ebp - 0x1c]
call fcn.004040e7
lea ecx, [ebp - 0xa8]
call fcn.00404972
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov eax, edi
call fcn.004d8a8d
ret
push str.list_too_long
call fcn.004d6f3b
int3