Function at 0x41a512
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeda5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x41a6d1
mov dword [ebp - 0x30], 0x3ba1
mov dword [ebp - 0x98], str.tooplxhu_qejmcs_izziikmut_eogywhei_roam_javelfb_sfmhgfzf_dry_ubt_avwknox_bjge_gtilkopx_tgqm_obmao
cmp dword [ebp - 0x30], 0x3c2d
jle 0x41a61e
and dword [ebp - 0x20], 0
jmp 0x41a56e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7ad0
jge 0x41a612
and dword [ebp - 0x18], 0
jmp 0x41a588
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4c8e
jge 0x41a60d
and dword [ebp - 0x28], 0
jmp 0x41a59e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4036
jge 0x41a608
and dword [ebp - 0x2c], 0
jmp 0x41a5b4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7687
jge 0x41a606
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
sar eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.00441f21
jmp 0x41a5ad
jmp 0x41a597
jmp 0x41a581
jmp 0x41a567
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x3b40
jge 0x41a640
push dword [ebp - 0x98]
call fcn.00499008
pop ecx
jmp 0x41a65c
or dword [ebp - 4], 0xffffffff
jmp 0x41a666
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x41a688
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x41a6cc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x54]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x41a81a
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x41a726
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x41a81a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], 0x57ef
mov dword [ebp - 0x60], str.cfbraszku_weiom_djfwez_obytrdoc_jyuajr_gilsahlqc_dama
cmp dword [ebp - 0x34], 0x59a3
jle 0x41a7be
and dword [ebp - 0x1c], 0
jmp 0x41a756
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x441d
jge 0x41a7be
and dword [ebp - 0x24], 0
jmp 0x41a76c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6952
jge 0x41a7bc
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc8]
call fcn.004019d3
pop ecx
pop ecx
mov ecx, eax
call fcn.00441f2b
push eax
call fcn.00499008
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.00441f21
jmp 0x41a765
jmp 0x41a74f
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x5639
jge 0x41a7dd
push dword [ebp - 0x60]
call fcn.00499008
pop ecx
jmp 0x41a7f9
or dword [ebp - 4], 0xffffffff
jmp 0x41a803
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.00442139
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret