Function at 0x5f34e2
Capabilities:
Enumerate gui resources
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x69b8e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
mov eax, dword [0x8181cc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x14], esi
je 0x5f3a8e
mov eax, dword [esp + 0x32c]
xor ebx, ebx
mov dword [esi + 0x24], eax
lea ebp, [esi + 4]
mov eax, dword [ebp + 4]
test eax, eax
je 0x5f3531
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x5f3531
mov edx, dword [esi + 8]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x5f352e
mov ecx, edi
call fcn.005f3190
push edi
call fcn.006713a0
add esp, 4
inc ebx
jmp 0x5f3501
mov ecx, ebp
call fcn.005945f0
push esi
push 0x5f3260
call dword [sym.imp.user32.dll_EnumWindows]
lea eax, [esp + 0x184]
mov dword [esp + 0x184], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x5f3a8e
mov eax, dword [esp + 0x194]
cmp eax, 2
jne 0x5f38fd
mov eax, dword [0x8181d0]
test eax, eax
je 0x5f3a8e
mov ecx, dword [0x8181cc]
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x6d7fc4
push ecx
call edi
mov edx, dword [0x8181cc]
push 0x6d7fb0
push edx
mov ebx, eax
call edi
mov ebp, eax
mov eax, dword [0x8181cc]
push 0x6d7f98
push eax
mov dword [esp + 0x4c], ebp
call edi
mov ecx, dword [0x8181d0]
push 0x6d7f84
push ecx
mov dword [esp + 0x34], eax
call edi
test ebx, ebx
je 0x5f38d4
test ebp, ebp
je 0x5f38d4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5f38d4
test eax, eax
je 0x5f38d4
push 0x3e8
call fcn.00673b05
add esp, 4
lea edx, [esp + 0x18]
mov edi, eax
push edx
push 0x3e8
push edi
mov dword [esp + 0x28], edi
call ebx
test eax, eax
jne 0x5f3644
push edi
call fcn.006713a0
mov eax, dword [0x8181cc]
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
add esp, 4
push eax
call edi
mov ecx, dword [0x8181d0]
push ecx
call edi
xor eax, eax
mov dword [0x8181cc], eax
mov dword [0x8181d0], eax
jmp 0x5f3a8e
mov dl, byte [esp + 0x13]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], dl
call fcn.004031c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x324], ebx
shr eax, 2
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
jle 0x5f3886
mov ebx, edi
mov dword [esp + 0x28], ebx
mov ecx, dword [esi + 8]
xor ebp, ebp
test ecx, ecx
je 0x5f3866
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x5f3866
mov eax, dword [esi + 8]
mov edx, dword [eax + ebp*4]
mov eax, dword [edx + 0x30]
mov edx, dword [ebx]
cmp eax, edx
je 0x5f36ab
inc ebp
jmp 0x5f3681
cmp ebp, 0xffffffff
jle 0x5f3866
mov ecx, dword [ebx]
push ecx
push 0
push 0x410
call dword [sym.imp.kernel32.dll_OpenProcess]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
je 0x5f3866
lea edx, [esp + 0x48]
lea eax, [esp + 0x40]
push edx
push 4
push eax
push edi
call dword [esp + 0x54]
test eax, eax
je 0x5f385f
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x218]
push 0x104
push ecx
push edx
push edi
call dword [esp + 0x3c]
test eax, eax
jne 0x5f370d
mov byte [esp + 0x218], al
lea edi, [esp + 0x218]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.user32.dll_CharUpperA]
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], dl
call fcn.004031c0
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x34]
push ebx
call fcn.00403350
test al, al
je 0x5f3797
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
mov byte [ecx + ebx], 0
mov edi, 0x6d7f78
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x6a3564]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x324], 1
push ecx
push edx
push 0x6d7f78
lea ecx, [esp + 0x3c]
call fcn.005f3ec0
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x218]
or ecx, 0xffffffff
push 1
mov eax, dword [edx + 8]
mov ebp, dword [eax + ebp*4]
xor eax, eax
add ebp, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403350
test al, al
je 0x5f3818
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x218]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov eax, dword [esp + 0x34]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x324], 0
je 0x5f3847
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5f383e
cmp al, 0xff
je 0x5f383e
dec al
mov byte [ecx], al
jmp 0x5f3847
push ecx
call fcn.006713a0
add esp, 4
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
jl 0x5f367c
mov edi, dword [esp + 0x1c]
push edi
call fcn.006713a0
mov ecx, dword [esp + 0x54]
add esp, 4
test ecx, ecx
mov dword [esp + 0x324], 0xffffffff
je 0x5f3a74
mov al, byte [ecx - 1]
test al, al
je 0x5f38c0
cmp al, 0xff
je 0x5f38c0
dec al
mov byte [ecx - 1], al
mov eax, 1
jmp 0x5f3a90
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov eax, 1
jmp 0x5f3a90
mov ecx, dword [0x8181cc]
mov edi, dword [sym.imp.kernel32.dll_FreeLibrary]
push ecx
call edi
mov edx, dword [0x8181d0]
push edx
call edi
xor eax, eax
mov dword [0x8181cc], eax
mov dword [0x8181d0], eax
jmp 0x5f3a8e
cmp eax, 1
jne 0x5f3a8e
mov eax, dword [0x8181cc]
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x6d7f5c
push eax
call edi
mov ecx, dword [0x8181cc]
push 0x6d7f4c
push ecx
mov ebx, eax
call edi
mov edx, dword [0x8181cc]
push 0x6d7f3c
push edx
mov ebp, eax
call edi
xor edi, edi
mov dword [esp + 0x20], eax
cmp eax, edi
je 0x5f3a7b
cmp ebp, edi
je 0x5f3a7b
cmp ebx, edi
je 0x5f3a7b
push edi
push 2
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x5f3970
mov eax, dword [0x8181cc]
push eax
jmp 0x5f3a82
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x128
push ecx
push eax
call ebp
test eax, eax
je 0x5f3a74
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x64]
xor eax, eax
test ecx, ecx
je 0x5f3a56
mov edi, dword [esi + 0xc]
sub edi, ecx
sar edi, 2
cmp eax, edi
jae 0x5f3a56
mov edi, dword [esi + 8]
mov edi, dword [edi + eax*4]
cmp dword [edi + 0x30], edx
je 0x5f39b7
inc eax
jmp 0x5f3991
mov edx, dword [esi + 8]
lea edi, [esp + 0x80]
or ecx, 0xffffffff
mov ebp, dword [edx + eax*4]
xor eax, eax
add ebp, 0x20
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x5f39dd
call fcn.006713ab
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x5f3a02
mov al, byte [ecx - 1]
test al, al
je 0x5f3a02
cmp al, 0xff
je 0x5f3a02
test ebx, ebx
jne 0x5f3a26
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.004031c0
jmp 0x5f3a56
test ebx, ebx
jne 0x5f3a11
push 1
mov ecx, ebp
call fcn.004031c0
jmp 0x5f3a56
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x5f3a1d
cmp eax, ebx
jae 0x5f3a2e
push 1
mov ecx, ebp
call fcn.004031c0
push ebx
mov ecx, ebp
call fcn.00403480
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x80]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x14]
mov dword [ebp + 8], ebx
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x64], 0x128
call dword [esp + 0x28]
test eax, eax
jne 0x5f3988
mov eax, 1
jmp 0x5f3a90
mov ecx, dword [0x8181cc]
push ecx
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x8181cc], edi
xor eax, eax
mov ecx, dword [esp + 0x31c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x318
ret 4