Function at 0x40cd92
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x44f124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x44fa60
push edi
call fcn.0040b875
pop ecx
test eax, eax
je 0x40d30b
push str.Loading_Armageddon_options_file...
call fcn.0040d967
mov dword [esp], 0x104
xor esi, esi
push esi
mov ebx, 0x450cf0
push ebx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
push edi
push 0x104
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x44577b
push str.armageddon
push str.APPNAME
call ebx
test eax, eax
jne 0x40ce0d
push str.This_doesnt_appear_to_be_an_Armageddon_.ini_file_
call fcn.0040d967
pop ecx
jmp 0x40d312
push 0x104
push esi
push 0x450cf0
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
push edi
push 0x104
push 0x450cf0
push 0x44577b
push str.cmdline
push str.OPTIONS
call ebx
push edi
xor eax, eax
mov dword [0x44f43c], 0x450cf0
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.redirectcs
push str.OPTIONS
call ebx
xor edi, edi
lea eax, [ebp - 0x14]
inc edi
push edi
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
push esi
test eax, eax
jne 0x40ceb0
push edi
mov esi, 0xf1
mov dword [0x45db4c], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push dword [0x44f380]
call edi
push 0
push 0
push esi
push dword [0x44f370]
call edi
and dword [0x45db30], 0
jmp 0x40cecb
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov dword [0x45db4c], esi
mov esi, 0xf1
push esi
push dword [0x44f380]
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.minimizesize
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40cf30
push eax
push eax
push esi
push dword [0x44f380]
mov dword [0x45db30], 1
call edi
push 0
push 1
push esi
push dword [0x44f370]
call edi
and dword [0x45db4c], 0
jmp 0x40cf42
xor eax, eax
push eax
push eax
push esi
push dword [0x44f370]
mov dword [0x45db30], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.securitydlldump
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40cf81
inc eax
push 0
jmp 0x40cf84
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3b8]
mov dword [0x45db20], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.securitydllload
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40cfd2
inc eax
push 0
jmp 0x40cfd5
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3b4]
mov dword [0x45db24], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.openmutex
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d023
inc eax
push 0
jmp 0x40d026
xor eax, eax
push eax
push eax
push esi
push dword [0x44f36c]
mov dword [0x45db1c], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.dumppdata
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d074
inc eax
push 0
jmp 0x40d077
xor eax, eax
push eax
push eax
push esi
push dword [0x44f384]
mov dword [0x45db0c], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.ignore2ndtext
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d0e4
push 0
inc eax
push eax
push esi
push dword [0x44f3bc]
mov dword [0x45db28], eax
call edi
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3c4]
mov dword [0x45db2c], eax
jmp 0x40d0f4
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3bc]
mov dword [0x45db28], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
push 0x447760
push str.bypass2ndtext
push str.OPTIONS
call ebx
push 1
lea eax, [ebp - 0x14]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d154
push 0
inc eax
push eax
push esi
push dword [0x44f3c4]
mov dword [0x45db2c], eax
call edi
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3bc]
mov dword [0x45db28], eax
jmp 0x40d164
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3c4]
mov dword [0x45db2c], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
push 0x447760
push str.analyzenf
push str.NANOMITES
call ebx
push 1
lea eax, [ebp - 0x18]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d1a5
inc eax
push 0
jmp 0x40d1a8
xor eax, eax
push eax
push eax
push esi
push dword [0x44f3c0]
mov dword [0x45db34], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
push 0x447760
push str.analyzest
push str.NANOMITES
call ebx
push 1
lea eax, [ebp - 0x18]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d1f6
inc eax
push 0
jmp 0x40d1f9
xor eax, eax
push eax
push eax
push esi
push dword [0x44f350]
mov dword [0x45db38], eax
call edi
push 0x44fa60
xor eax, eax
push 2
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
push 0x447760
push str.analyzelog
push str.NANOMITES
call ebx
push 1
lea eax, [ebp - 0x18]
push 0x447770
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40d247
inc eax
push 0
jmp 0x40d24a
xor eax, eax
push eax
push eax
push esi
push dword [0x44f354]
mov dword [0x45db3c], eax
call edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
mov esi, str.0000_0000
push 0x44fa60
push 0xa
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
push esi
push str.standard
push str.HARDWAREFINGERPRINT
call ebx
push 9
lea eax, [ebp - 0x10]
push esi
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40d299
lea eax, [ebp - 0x10]
push eax
jmp 0x40d29a
push esi
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x94
push dword [0x44f344]
call esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x44fa60
push 0xa
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x10]
push eax
mov edi, str.0000_0000
push edi
push str.enhanced
push str.HARDWAREFINGERPRINT
call ebx
push 9
lea eax, [ebp - 0x10]
push edi
push eax
call dword [sym.imp.ucrtbased.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40d2ed
lea eax, [ebp - 0x10]
push eax
jmp 0x40d2ee
push edi
push 0x95
push dword [0x44f344]
call esi
push str.Done.
call fcn.0040d967
xor eax, eax
pop ecx
inc eax
jmp 0x40d314
and dword [0x44fa60], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416750
leave
ret