Function at 0x41132c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x424af0
call fcn.00415558
sub esp, 0x444
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0x7c], 0x10
mov edi, dword [ebp + 0x68]
jae 0x411353
lea edi, [ebp + 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push edi
mov edi, str.CSpreadingManager::SetFileInfo
push edi
push str._s_tSetFileInfo__s_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
push ecx
push ecx
lea eax, [ebp + 0x64]
mov ecx, esp
mov dword [ebp + 0x54], esp
push eax
mov byte [ebp + 0x5b], 0
call fcn.00401d90
lea eax, [ebp]
push eax
call fcn.00402e50
add esp, 0x20
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 1
call fcn.0040b417
push 0
push 1
lea eax, [ebp + 0x28]
push eax
mov ebx, 0x3e8
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x54], esp
push 0x426eac
mov byte [ebp - 4], 2
call fcn.00401d50
sub esp, 0x1c
lea eax, [ebp]
mov ecx, esp
mov dword [ebp + 0x50], esp
push eax
mov byte [ebp - 4], 3
call fcn.00401d90
mov byte [ebp - 4], 2
call fcn.00410f2c
add esp, 0x48
push 0
push 1
lea eax, [ebp + 0x28]
push eax
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x54], esp
push 0x4295e4
call fcn.00401d50
sub esp, 0x1c
lea eax, [ebp]
mov ecx, esp
mov dword [ebp + 0x50], esp
push eax
mov byte [ebp - 4], 4
call fcn.00401d90
mov byte [ebp - 4], 2
call fcn.00410f2c
add esp, 0x48
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x38]
lea ecx, [ebp + 0x40]
call fcn.00401fb0
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x34]
lea ecx, [ebp + 0x48]
call fcn.00401fb0
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
call fcn.0040bcb3
lea eax, [ebp + 0x28]
add esp, 0x10
push eax
call fcn.004012a0
mov ecx, eax
call fcn.00401c70
lea ecx, [ebp - 0x50]
call fcn.0040e564
lea eax, [ebp - 0x50]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x64]
mov ecx, esp
mov dword [ebp + 0x54], esp
push eax
mov byte [ebp - 4], 5
call fcn.00401d90
call fcn.004092a0
mov eax, dword [ebp + 0x68]
add esp, 0x20
cmp dword [ebp + 0x7c], 0x10
jae 0x411497
lea eax, [ebp + 0x68]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov dword [ebp + 0x50], eax
cmp eax, ebx
je 0x411650
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x34]
lea ecx, [ebp + 0x40]
call fcn.00401fb0
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x4c], eax
jmp 0x4115da
cmp byte [ebp + 0x5b], 0
jne 0x4115fd
lea ecx, [ebp + 0x48]
call fcn.00401ff0
cmp dword [eax + 0x18], 0x10
jb 0x4114e9
mov ebx, dword [eax + 4]
jmp 0x4114ec
lea ebx, [eax + 4]
call esi
push eax
push ebx
push edi
push str._s_tChecking_source_file__s_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x14
lea ecx, [ebp + 0x48]
call fcn.00401ff0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.00401d90
call fcn.0040fea4
add esp, 0x1c
test al, al
je 0x4115d2
call esi
push eax
push edi
push str._s_tSource_file_ok_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x10
lea ecx, [ebp + 0x48]
call fcn.00401ff0
cmp dword [eax + 0x18], 0x10
jb 0x411554
mov eax, dword [eax + 4]
jmp 0x411557
add eax, 4
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
je 0x4115be
call esi
push eax
push edi
push str._s_tSource_file_loaded_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
mov eax, dword [ebp + 0x50]
add esp, 0x10
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x20]
push eax
push 0x40fd28
push ebx
mov dword [ebp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
test eax, eax
je 0x4115b7
mov byte [ebp + 0x5b], 1
call esi
push eax
push edi
push str._s_tResources_updated_tGLE:_08x
call fcn.004012a0
push eax
call fcn.00401330
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp + 0x48]
call fcn.00401ff0
push eax
call fcn.0040fdb4
pop ecx
pop ecx
lea ecx, [ebp + 0x48]
call fcn.00402020
lea eax, [ebp + 0x28]
push eax
push dword [ebp + 0x38]
lea ecx, [ebp + 0x40]
call fcn.00401fb0
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x48]
call fcn.00401dc0
test al, al
je 0x4114cc
rdtsc
mov dword [ebp + 0x54], eax
push dword [ebp + 0x54]
lea eax, [ebp - 0x450]
push str._d.gif
push eax
call fcn.00402440
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00404810
push eax
lea ecx, [ebp - 0x18]
call fcn.00404800
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x450]
push eax
push 0x17
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push ebx
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
test eax, eax
setne byte [ebp + 0x5b]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040e5a1
lea ecx, [ebp + 0x28]
call fcn.0040b4b4
push dword [ebp + 0x28]
call fcn.004136f1
pop ecx
push ebx
push 1
lea ecx, [ebp]
call fcn.00401f00
push ebx
push 1
lea ecx, [ebp + 0x64]
call fcn.00401f00
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0x5b]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x5c
leave
ret 0x1c