Function at 0x409dc7
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
call fcn.004025e8
test eax, eax
jne 0x409ddf
inc eax
jmp 0x40a031
push ebx
call fcn.0040b7dd
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push ebx
push 0x40b7c2
push ebx
mov dword [0x410a40], 0x11223344
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
cmp dword [0x410a40], 0x81dcdde
je 0x409e34
push 0x30
push str.Error
push str.__Failed_to_load_the_executable_file__
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40a02e
push esi
push edi
lea eax, [ebp - 0x704]
push eax
mov dword [ebp - 0x20], 0x400
mov dword [ebp - 0x1c], 0x100
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
call fcn.00409c83
push dword [ebp + 0x10]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x54], eax
call fcn.0040530c
mov esi, dword [ebp - 0x54]
push str._savelangfile
call fcn.00405489
test eax, eax
jl 0x409ea9
mov dword [0x411100], 0x4102a4
call fcn.0040635b
jmp 0x40a009
call fcn.004061c7
mov esi, dword [ebp - 0x54]
push str._deleteregkey
call fcn.00405489
test eax, eax
jge 0x40a009
mov esi, dword [ebp - 0x54]
push str._setpass
call fcn.00405489
mov esi, eax
cmp esi, ebx
jl 0x409f10
mov edi, dword [ebp - 0x54]
lea ecx, [esi + 4]
mov eax, edi
call fcn.00405479
push eax
lea ecx, [esi + 3]
mov eax, edi
call fcn.00405479
push eax
lea ecx, [esi + 2]
mov eax, edi
call fcn.00405479
push eax
lea ecx, [esi + 1]
mov eax, edi
call fcn.00405479
push eax
push ebx
call fcn.0040ad08
jmp 0x40a009
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x30], 1
jle 0x409f29
mov esi, dword [ebp - 0x70]
push ebx
push ebx
call fcn.00401e90
mov dword [ebp - 0x4fc], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edi, [ebp - 0x704]
call fcn.00409c07
cmp dword [ebp - 0x4b8], 3
jne 0x409f48
push 3
jmp 0x409f4a
push 5
push dword [ebp - 0x4fc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x4fc]
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x67
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push ebx
push ebx
push 0x415
push dword [ebp - 0x4fc]
mov dword [ebp - 0x4e4], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x50]
push eax
call esi
test eax, eax
je 0x40a003
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x4e4]
push dword [ebp - 0x4fc]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x409ff6
mov eax, dword [0x410b5c]
cmp eax, ebx
je 0x409fd2
lea ecx, [ebp - 0x50]
push ecx
push eax
call edi
test eax, eax
jne 0x409ff6
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x4fc]
call edi
test eax, eax
jne 0x409ff6
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x50]
push eax
call esi
test eax, eax
jne 0x409fa4
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edi, [ebp - 0x704]
call fcn.00409d8b
lea esi, [ebp - 0x34]
call fcn.00405125
lea esi, [ebp - 0x14]
call fcn.004056fb
lea esi, [ebp - 0x34]
call fcn.00405125
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10