Function at 0x40c5eb
Capabilities:
Persist via run registry key
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
push ebx
push esi
xor ebx, ebx
push edi
mov byte [0x422760], bl
mov byte [0x4226e0], bl
call fcn.004051e4
mov dword [0x42225c], eax
call fcn.004087ec
push 0x41d4ac
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call fcn.0040bf10
push 0x41d71c
push dword [ebp + 0x10]
call fcn.004147b0
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x40c6c6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
add esi, 3
mov dword [0x420d00], eax
push esi
mov dword [0x420d28], eax
mov dword [ebp + 0x10], esi
call fcn.0040bb2d
mov eax, dword [0x420cd0]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp eax, ebx
pop ecx
je 0x40c67f
push eax
call esi
push dword [0x420cd0]
call edi
mov eax, dword [0x420cdc]
cmp eax, ebx
je 0x40c693
push eax
call esi
push dword [0x420cdc]
call edi
mov eax, dword [0x420cb8]
cmp eax, ebx
je 0x40c6a3
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420cbc]
cmp eax, ebx
je 0x40c6b3
push eax
call fcn.00413354
pop ecx
push dword [ebp + 0x10]
call fcn.00413d9e
pop ecx
call fcn.0040bf70
jmp 0x40cc52
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Arial
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0xf
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x41d700
mov dword [0x420c9c], eax
push dword [ebp + 0x10]
call fcn.004147b0
pop ecx
cmp eax, ebx
pop ecx
je 0x40c70f
add eax, 3
jmp 0x40c726
push 0x20
push dword [ebp + 0x10]
call fcn.00414320
pop ecx
cmp eax, ebx
pop ecx
je 0x40c92f
mov byte [eax], bl
inc eax
push eax
call fcn.0040afc3
test eax, eax
pop ecx
je 0x40c92f
cmp dword [0x423470], ebx
je 0x40c74d
push 0x423474
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x420d2c], eax
mov eax, dword [0x41d280]
cmp eax, 0xffffffff
je 0x40c75e
cmp eax, 0x40048
jg 0x40c764
mov dword [0x4234c8], ebx
cmp dword [0x423468], ebx
mov esi, 0x420548
jne 0x40c7b2
push dword [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x104
push 0x423620
push esi
push str.ExePath
push str.ADRTP
call edi
push dword [ebp + 0x10]
push 0x104
push 0x423820
push esi
push str.TempDir
push str.ADRTP
call edi
mov edi, 0x423620
jmp 0x40c7cb
mov edi, 0x423620
push edi
call fcn.0040c0b0
push edi
push 0x423820
call fcn.00413bb0
add esp, 0xc
cmp dword [0x423248], 3
jne 0x40c7e9
cmp dword [0x423258], ebx
jne 0x40c7e9
push edi
push 0x423820
call fcn.00413bb0
pop ecx
pop ecx
push 0x422d04
call fcn.00405e5b
cmp dword [0x422e10], ebx
pop ecx
je 0x40c807
push 0x422e14
call fcn.00406081
pop ecx
cmp dword [0x423468], ebx
jne 0x40c85a
cmp dword [0x423248], ebx
jne 0x40c85a
cmp dword [0x4237ac], ebx
je 0x40c85a
lea eax, [ebp - 0x434]
push 0x423820
push eax
call fcn.00413bb0
push dword [0x4237ac]
lea eax, [ebp - 0x434]
push eax
call fcn.00403d6d
lea eax, [ebp - 0x434]
push eax
call fcn.00404bad
add esp, 0x14
cmp eax, 1
jne 0x40cb49
call fcn.0040a49e
test eax, eax
je 0x40cb49
mov ecx, dword [0x420d74]
mov eax, dword [ebp + 8]
cmp ecx, ebx
mov dword [0x4237c0], eax
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x409f80
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
je 0x40c895
mov dword [ebp - 0x1c], ecx
jmp 0x40c8a1
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1c], eax
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push dword [0x422ad4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
mov edi, str.IC30BackgroundClass
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x40cac9
cmp dword [0x422ae0], 2
push ebx
jge 0x40c938
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
cmp dword [0x422ae0], ebx
push dword [ebp + 8]
push ebx
push ebx
push eax
push dword [ebp - 8]
push ebx
push ebx
jne 0x40c918
push 0x10cf0000
push 0x422ae4
jmp 0x40c91e
push 0x94000000
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [0x420d00], eax
jne 0x40c958
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 8]
push ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push 0xcf0000
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x420d00], eax
cmp dword [0x4234c8], ebx
mov dword [0x420d28], ebx
push eax
je 0x40c96e
call fcn.004097fe
jmp 0x40c973
call fcn.00409da8
cmp dword [0x420d28], ebx
pop ecx
je 0x40ca29
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call edi
test eax, eax
je 0x40ca09
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x476
push dword [0x420d28]
call esi
test eax, eax
je 0x40c9e5
lea eax, [ebp - 0x4c]
push eax
push ebx
push 0x475
push dword [0x420d28]
call esi
test eax, eax
jne 0x40c9d6
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call edi
test eax, eax
jne 0x40c999
jmp 0x40ca09
push 1
push dword [0x420d00]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x420d28]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
call esi
push dword [0x420d00]
call esi
cmp dword [0x423468], ebx
jne 0x40cac9
cmp dword [0x420ca8], ebx
je 0x40cac9
mov dword [0x420d28], ebx
jmp 0x40ca9b
mov eax, dword [0x420d00]
mov dword [0x420d28], eax
call fcn.004053cf
test eax, eax
je 0x40ca8d
call fcn.00408447
cmp dword [0x420cbc], ebx
push 1
pop esi
mov dword [0x420ca8], esi
je 0x40ca95
push dword [0x420d28]
push 0xf
call fcn.004048f6
pop ecx
cmp eax, esi
pop ecx
je 0x40ca7a
push dword [0x420d28]
push ebx
call fcn.004048f6
pop ecx
cmp eax, 6
pop ecx
je 0x40ca82
jmp 0x40ca52
mov dword [0x420cf0], esi
jmp 0x40ca8d
call fcn.00405828
mov dword [0x420ca8], ebx
cmp dword [0x420ca8], ebx
je 0x40cac9
mov dword [0x422c98], ebx
call fcn.0040c107
push dword [ebp + 8]
call fcn.0040c36d
test eax, eax
pop ecx
je 0x40c92f
push dword [ebp + 0x10]
push 0x41d6d0
push str.ExitCode
push str.ADRTP
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [0x420d54]
cmp eax, ebx
je 0x40cad9
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d58]
cmp eax, ebx
je 0x40cae9
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d5c]
cmp eax, ebx
je 0x40caf9
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d60]
cmp eax, ebx
je 0x40cb09
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d64]
cmp eax, ebx
je 0x40cb19
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d68]
cmp eax, ebx
je 0x40cb29
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d70]
cmp eax, ebx
je 0x40cb39
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d6c]
cmp eax, ebx
je 0x40cb49
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420cc8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp eax, ebx
je 0x40cb69
push eax
call esi
push dword [0x420cc8]
call edi
mov eax, dword [0x420d14]
cmp eax, ebx
je 0x40cb7d
push eax
call esi
push dword [0x420d14]
call edi
mov eax, dword [0x420ccc]
cmp eax, ebx
je 0x40cb91
push eax
call esi
push dword [0x420ccc]
call edi
mov eax, dword [0x420cd0]
cmp eax, ebx
je 0x40cba5
push eax
call esi
push dword [0x420cd0]
call edi
mov eax, dword [0x420cd4]
cmp eax, ebx
je 0x40cbb9
push eax
call esi
push dword [0x420cd4]
call edi
mov eax, dword [0x420cd8]
cmp eax, ebx
je 0x40cbcd
push eax
call esi
push dword [0x420cd8]
call edi
mov eax, dword [0x420cdc]
cmp eax, ebx
je 0x40cbe1
push eax
call esi
push dword [0x420cdc]
call edi
cmp dword [ebp - 4], ebx
je 0x40cbef
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x420c9c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x40cc01
push eax
call esi
mov eax, dword [0x420d2c]
cmp eax, ebx
je 0x40cc0d
push eax
call esi
mov eax, dword [0x420cb8]
cmp eax, ebx
je 0x40cc1d
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420cbc]
cmp eax, ebx
je 0x40cc2d
push eax
call fcn.00413354
pop ecx
mov eax, dword [0x420d4c]
cmp eax, ebx
je 0x40cc3d
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
call fcn.004016f6
mov eax, dword [0x420d74]
cmp eax, ebx
je 0x40cc52
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 1
pop eax
jmp 0x40c931