Function at 0x458c20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x838
mov eax, dword [esp + 0x844]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
je 0x458c6d
mov edi, dword [esp + 0x854]
push edi
push eax
call fcn.004d5ece
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x458c63
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x838
ret
push edi
push esi
call fcn.0042dfc0
add esp, 8
mov ecx, dword [esp + 0x848]
push ebp
lea eax, [esp + 0x640]
push 0xc
push eax
push ecx
call fcn.004c93e0
add esp, 0xc
cmp esi, ebx
je 0x458cd9
mov ecx, dword [esp + 0x85c]
cmp ecx, ebx
jne 0x458c9e
mov eax, 1
jmp 0x458ca6
xor eax, eax
cmp ecx, 1
sete al
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x648]
push 1
push edx
push str.File_name
push eax
push ecx
push esi
call fcn.004589f0
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [esp + 0x870]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x20
jmp 0x458cff
mov ebx, dword [esp + 0x850]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0x640]
push eax
push 0x6a6
push ebx
call edi
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebp
mov edx, dword [esp + 0x84c]
lea ecx, [esp + 0x438]
push 3
push ecx
push edx
call fcn.004c93e0
mov eax, dword [0x59f718]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x458d4d
cmp word [esp + 0x438], 0
jne 0x458d4d
mov ecx, dword [0x5b5574]
lea eax, [esp + 0x438]
push 0x104
push eax
push 0x4ec
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
je 0x458d79
mov eax, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x440]
push 2
push edx
push str.Directory
push 0
push eax
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x458d8c
lea ecx, [esp + 0x438]
push ecx
push 0x6a0
push ebx
call edi
push eax
call ebp
mov edx, dword [esp + 0x84c]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004d631b
mov eax, dword [0x59f718]
add esp, 8
cmp eax, 0xffffffff
jne 0x458dd2
cmp word [esp + 0x438], 0
jne 0x458dd2
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0x4ec
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
jne 0x458de6
lea eax, [esp + 0x28]
push eax
push 0x6ab
push ebx
call edi
push eax
call ebp
mov ecx, dword [esp + 0x84c]
lea edx, [esp + 0x28]
push ecx
push 0x104
push edx
call fcn.00458b30
add esp, 0xc
test esi, esi
je 0x458e29
mov ecx, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 3
push eax
push 0x59e410
push 0
push ecx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x458e39
lea edx, [esp + 0x28]
push edx
push 0x69e
push ebx
call edi
push eax
call ebp
mov edx, dword [0x5b5510]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0
push edx
call fcn.004c5070
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
mov word [esp + 0x28], 0
jle 0x458e7e
push eax
lea eax, [esp + 0x2c]
push 0x5985ac
push eax
call fcn.004d5ee1
mov eax, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
je 0x458ec2
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push eax
push str._d_x__d_DPI
push edx
call fcn.004d5ee1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x870]
push ecx
lea edx, [esp + 0x40]
push 4
push edx
push str.Resolution
push 0
push eax
push esi
call fcn.004589f0
add esp, 0x30
jmp 0x458ed2
lea ecx, [esp + 0x28]
push ecx
push 0x673
push ebx
call edi
push eax
call ebp
mov eax, dword [esp + 0x14]
mov word [esp + 0x28], 0
test eax, eax
jle 0x458ef4
push eax
lea edx, [esp + 0x2c]
push 0x5985ac
push edx
call fcn.004d5ee1
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x674
push ebx
call edi
push eax
call ebp
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x230]
push 0x20
push ecx
push 0x518
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x5ba158]
mov edx, dword [0x5ba14c]
lea eax, [esp + 0x230]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push str._d_x__d___s
push eax
call fcn.004d5ee1
mov edx, dword [0x5ba158]
mov eax, dword [0x5ba14c]
lea ecx, [esp + 0x244]
push 1
push ecx
push edx
push eax
call fcn.00458950
lea ecx, [esp + 0x254]
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.004d62f1
mov ecx, dword [0x5ba158]
mov edx, dword [0x5ba14c]
lea eax, [esp + 0x25c]
push eax
push ecx
push edx
call fcn.00458770
lea eax, [esp + 0x268]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.004d62f1
add esp, 0x40
lea edx, [esp + 0x28]
push edx
push 0x6a8
push ebx
call edi
push eax
call ebp
mov ecx, dword [0x5b5574]
lea eax, [esp + 0x230]
push 0x20
push eax
push 0x518
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x5b9250]
mov ecx, dword [0x5ba150]
lea edx, [esp + 0x230]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._d_x__d___s
push edx
call fcn.004d5ee1
mov ecx, dword [0x5b9250]
mov edx, dword [0x5ba150]
lea eax, [esp + 0x244]
push 1
push eax
push ecx
push edx
call fcn.00458950
lea eax, [esp + 0x254]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.004d62f1
mov eax, dword [0x5b9250]
mov ecx, dword [0x5ba150]
lea edx, [esp + 0x25c]
push edx
push eax
push ecx
call fcn.00458770
lea edx, [esp + 0x268]
lea eax, [esp + 0x60]
push edx
push eax
call fcn.004d62f1
add esp, 0x40
test esi, esi
je 0x459101
mov ecx, dword [0x5b9250]
mov edx, dword [0x5ba150]
push ecx
mov ecx, dword [esp + 0x860]
push edx
lea eax, [esp + 0x30]
push 5
push eax
push str.Image_dimensions
push 0
push ecx
push esi
call fcn.004589f0
mov eax, dword [esp + 0x87c]
add esp, 0x20
cmp eax, 1
jl 0x4590b3
mov ecx, dword [0x5b55a4]
push 0xffffffffffffffff
push ecx
push 0x64
push 0x5aae60
push 0x5aae60
push 0
push eax
push esi
call fcn.004589f0
add esp, 0x20
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5b9250]
push edx
mov edx, dword [0x5ba150]
push eax
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.004cb400
add esp, 0x14
test esi, esi
je 0x459113
mov edx, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
push 6
push ecx
push str.Print_size
push 0
push edx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x459123
lea edx, [esp + 0x28]
push edx
push 0x6a9
push ebx
call edi
push eax
call ebp
jmp 0x4590b3
lea eax, [esp + 0x28]
push eax
push 0xbe8
push ebx
call edi
push eax
call ebp
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x230]
push 0x104
push ecx
push 0x4eb
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x5b6fa8]
cmp ecx, 0x20
push ecx
jle 0x459162
lea eax, [esp + 0x2c]
push str._d_BitsPerPixel
push eax
call fcn.004d5ee1
add esp, 0xc
jmp 0x459195
cmp ecx, 0x18
jl 0x45917b
lea ecx, [esp + 0x234]
lea edx, [esp + 0x2c]
push ecx
push str.16_7__s_____d_BitsPerPixel_
push edx
jmp 0x45918d
mov eax, 1
shl eax, cl
lea ecx, [esp + 0x2c]
push eax
push str._d_____d_BitsPerPixel_
push ecx
call fcn.004d5ee1
add esp, 0x10
lea edx, [esp + 0x28]
push edx
push 0x6a7
push ebx
call edi
push eax
call ebp
mov ecx, dword [0x5ba368]
cmp ecx, 0x18
push ecx
jl 0x4591c5
lea eax, [esp + 0x234]
lea ecx, [esp + 0x2c]
push eax
push str.16_7__s_____d_BitsPerPixel_
push ecx
jmp 0x4591d7
mov edx, 1
lea eax, [esp + 0x2c]
shl edx, cl
push edx
push str._d_____d_BitsPerPixel_
push eax
call fcn.004d5ee1
mov eax, dword [0x5ba368]
add esp, 0x10
cmp eax, 1
jne 0x45920e
mov ecx, dword [0x5b5510]
push ecx
call fcn.004c9880
add esp, 4
test eax, eax
je 0x45920e
lea edx, [esp + 0x28]
push str.__BW_
push edx
call fcn.004d62f1
add esp, 8
test esi, esi
je 0x459237
mov ecx, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 7
push eax
push str.Color_depth
push 0
push ecx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x459247
lea edx, [esp + 0x28]
push edx
push 0x69d
push ebx
call edi
push eax
call ebp
push 0x5b9260
push 1
push str.CountColors
push str.Others
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x45933b
test esi, esi
jne 0x45927e
push esi
push 1
push 0xf1
push 0xbfa
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f02
push 0
call ebx
mov ebp, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebp
mov eax, dword [0x5b5510]
push eax
call fcn.0041b300
add esp, 4
mov edi, eax
push 0x7f00
push 0
call ebx
push eax
call ebp
push edi
lea ecx, [esp + 0x2c]
push 0x5985ac
push ecx
call fcn.004d5ee1
add esp, 0xc
test edi, edi
jge 0x4592e1
mov eax, dword [0x5b5574]
lea edx, [esp + 0x28]
push 0x20
push edx
push 0x517
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
je 0x459309
mov edx, dword [esp + 0x85c]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x30]
push 8
push ecx
push str.Number_of_unique_colors
push 0
push edx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x459328
mov ecx, dword [esp + 0x850]
lea eax, [esp + 0x28]
push eax
push 0x6aa
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [esp + 0x850]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esp + 0x84c]
push edx
call fcn.004381b0
add esp, 4
cmp eax, 1
jne 0x459385
mov ecx, dword [esp + 0x84c]
push 0
push 0
push eax
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004c9730
add esp, 0x14
test eax, eax
jne 0x4593a1
mov eax, dword [0x5b5574]
lea edx, [esp + 0x28]
push 0x104
push edx
push 0x4ec
push eax
jmp 0x45939b
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0x4ec
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
test esi, esi
je 0x4593ca
mov ecx, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 9
push eax
push str.Disk_size
push 0
push ecx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x4593da
lea edx, [esp + 0x28]
push edx
push 0x6a2
push ebx
call edi
push eax
call ebp
mov ecx, dword [0x5ba368]
mov edx, dword [0x5b9250]
lea eax, [esp + 0x20]
push 1
push eax
mov eax, dword [0x5ba150]
push ecx
push edx
push eax
call fcn.004c96a0
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
fstp qword [esp + 0x2c]
lea ecx, [esp + 0x244]
push ecx
push edx
push eax
call fcn.004c9590
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x250]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push str._.2f__KB___s_Bytes_
push ecx
call fcn.004d5ee1
fld qword [esp + 0x4c]
fcomp qword [0x552920]
add esp, 0x34
fnstsw ax
and eax, 0x100
jne 0x459476
fld qword [esp + 0x18]
fdiv qword [0x552920]
lea edx, [esp + 0x230]
lea eax, [esp + 0x28]
push edx
sub esp, 8
fstp qword [esp]
push str._.2f__MB___s_Bytes_
push eax
call fcn.004d5ee1
add esp, 0x14
test esi, esi
je 0x45949f
mov edx, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
push 0xa
push ecx
push str.Current_memory_size
push 0
push edx
push esi
call fcn.004589f0
add esp, 0x20
jmp 0x4594af
lea eax, [esp + 0x28]
push eax
push 0x6a5
push ebx
call edi
push eax
call ebp
mov ecx, dword [0x5b54fc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push ecx
call edi
test eax, eax
jle 0x459559
mov edx, dword [0x5b54fc]
push 0
push 0
push 0x1004
push edx
call edi
push eax
mov eax, dword [0x5b5648]
inc eax
lea ecx, [esp + 0x2c]
push eax
push str._d______d
push ecx
call fcn.004d5ee1
mov eax, dword [0x59f718]
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x459522
mov eax, dword [0x5b5574]
lea edx, [esp + 0x28]
push 0x104
push edx
push 0x4ec
push eax
call edi
cmp dword [0x59f724], 1
je 0x459543
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0x506
push edx
call edi
lea eax, [esp + 0x28]
push eax
push 0x6a1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
jmp 0x45955f
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x84c]
push ecx
call fcn.004381b0
add esp, 4
cmp eax, 1
jne 0x4595ac
mov eax, dword [esp + 0x84c]
lea edx, [esp + 0x28]
push edx
push eax
mov word [esp + 0x30], 0
call fcn.004c9300
add esp, 8
test eax, eax
jne 0x4595c4
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push 0x4ec
push edx
jmp 0x4595c2
mov ecx, dword [0x5b5574]
lea eax, [esp + 0x28]
push 0x104
push eax
push 0x4ec
push ecx
call edi
test esi, esi
je 0x4595f8
mov eax, dword [esp + 0x85c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push 0xb
push edx
push str.File_date_time
push 0
push eax
push esi
call fcn.004589f0
push 0x59aaf0
push esi
call fcn.004d7616
add esp, 0x28
jmp 0x45960c
lea ecx, [esp + 0x28]
push ecx
push 0x69f
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
mov eax, dword [0x5b5574]
lea edx, [esp + 0x230]
push 0x40
push edx
push 0x507
push eax
call edi
mov edx, dword [0x5b9038]
lea ecx, [esp + 0x230]
push ecx
push edx
lea eax, [esp + 0x30]
push str._d__s
push eax
call fcn.004d5ee1
add esp, 0x10
lea ecx, [esp + 0x28]
push ecx
push 0x6a4
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
test esi, esi
pop ebp
je 0x459666
push esi
call fcn.004d5e20
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x838
ret