Function at 0x40a11b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
call fcn.0040261a
test eax, eax
jne 0x40a133
inc eax
jmp 0x40a390
push ebx
call fcn.0040bbee
push 0x8001
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
xor ebx, ebx
push ebx
push 0x40bbd3
push ebx
mov dword [0x410a70], 0x11223344
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_EnumResourceTypesW]
cmp dword [0x410a70], 0xdcab65be
je 0x40a188
push 0x30
push str.Error
push str.__Failed_to_load_the_executable_file__
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40a38d
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.00409fd7
push dword [ebp + 0x10]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x54], eax
call fcn.00405641
mov esi, dword [ebp - 0x54]
push str._savelangfile
call fcn.004057be
test eax, eax
jl 0x40a1fd
mov dword [0x411130], 0x4102cc
call fcn.004066a8
jmp 0x40a368
call fcn.00406514
mov esi, dword [ebp - 0x54]
push str._deleteregkey
call fcn.004057be
test eax, eax
jge 0x40a368
mov esi, dword [ebp - 0x54]
push str._setpass
call fcn.004057be
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp - 0x54]
jl 0x40a272
lea ecx, [esi + 5]
call fcn.004057ae
mov edi, eax
mov eax, dword [ebp - 0x54]
lea ecx, [esi + 4]
call fcn.004057ae
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [esi + 3]
call fcn.004057ae
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [esi + 2]
call fcn.004057ae
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [esi + 1]
call fcn.004057ae
push eax
push ebx
call fcn.0040b10c
jmp 0x40a368
cmp dword [eax + 0x30], 1
jle 0x40a288
mov esi, dword [ebp - 0x70]
push ebx
push ebx
call fcn.00401eb7
mov dword [ebp - 0x4fc], ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edi, [ebp - 0x704]
call fcn.00409f5b
cmp dword [ebp - 0x4b8], 3
jne 0x40a2a7
push 3
jmp 0x40a2a9
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 0x40a362
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 0x40a355
mov eax, dword [0x410b8c]
cmp eax, ebx
je 0x40a331
lea ecx, [ebp - 0x50]
push ecx
push eax
call edi
test eax, eax
jne 0x40a355
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x4fc]
call edi
test eax, eax
jne 0x40a355
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 0x40a303
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edi, [ebp - 0x704]
call fcn.0040a0df
lea esi, [ebp - 0x34]
call fcn.0040545a
lea esi, [ebp - 0x14]
call fcn.00403c5d
lea esi, [ebp - 0x34]
call fcn.0040545a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10