Function at 0x407d40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x444
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebp, dword [esp + 0x458]
push ebp
call fcn.00402ba0
add esp, 4
lea eax, [esp + 0x54]
mov byte [0x4a7fe8], bl
mov byte [0x410b28], bl
push 0x104
push eax
push ebx
mov byte [0x436cc8], bl
mov byte [0x437cc8], bl
mov byte [0x4374c8], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x54]
push 0x5c
push ecx
call fcn.004096f0
add esp, 8
cmp eax, ebx
je 0x407da7
mov byte [eax], bl
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
push 0xff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4ce120
mov edx, ecx
mov esi, edi
mov edi, 0x4ce01c
push str.Microsoft_Sans_Serif
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.FontName
and ecx, 3
push str.SETTING
rep movsb byte es:[edi], byte [esi]
mov edi, str.Microsoft_Sans_Serif
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.SOFTWARESSGROUPQURAN
mov eax, ecx
mov esi, edi
mov edi, 0x4ce120
push reloc.OLEAUT32.dll_SysReAllocString
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402c10
push 0xe
push str.FontSize
push str.SETTING
push str.SOFTWARESSGROUPQURAN
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402d50
push ebx
push str.Bahasa
push str.SETTING
push str.SOFTWARESSGROUPQURAN
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x410094], eax
call fcn.00402d50
add esp, 0x44
mov dword [0x4ce550], eax
push ebp
call fcn.00402ba0
add esp, 4
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x7a
push ebp
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov dword [0x413268], eax
mov word [0x47f78c], bx
mov dword [0x413238], ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xbef0f0
call esi
push 0x75e4f3
mov dword [0x4ce318], eax
call esi
push 0x6e
push ebp
mov dword [0x4ce314], eax
mov dword [0x413238], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 6
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x405d20
push ecx
mov dword [esp + 0x38], str.AL_QURAN
mov dword [esp + 0x34], 0x6f
mov dword [esp + 0x14], 3
call dword [sym.imp.USER32.dll_RegisterClassA]
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f85
push ebx
call esi
push 0x7f00
push ebx
mov dword [0x4a7f14], eax
call esi
push ebx
push ebp
push ebx
push ebx
push ebx
push SysReAllocString
push ebx
push SysReAllocString
push 0xcf0000
push str.Digital_Quran_ver_3.1
push str.AL_QURAN
push 0x100
mov dword [0x4a7f88], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov edx, dword [esp + 0x464]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea eax, [esp + 0x40]
push ebx
push eax
call esi
test eax, eax
je 0x407fa6
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x38]
push ecx
call edi
lea edx, [esp + 0x38]
push edx
call ebp
push ebx
push ebx
lea eax, [esp + 0x40]
push ebx
push eax
call esi
test eax, eax
jne 0x407f8a
mov ecx, dword [0x4ce530]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
mov eax, dword [esp + 0x38]
pop ebp
pop ebx
add esp, 0x444
ret 0x10