Function at 0x1000472fc
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x260
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov rdi, rdx
mov rbp, rcx
mov ecx, 0x4e20
call fcn.100001f90
mov rsi, rax
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rsp + 0x90]
call fcn.100049bcc
nop
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x2710
mov r9, rsi
xor r8d, r8d
lea rdx, str.Unit_Converion_history
lea rcx, str.Unit_Conversion_data
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
mov r14d, 7
mov qword [rsp + 0x250], r14
xor r12d, r12d
mov qword [rsp + 0x248], r12
mov word [rsp + 0x238], r12w
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r12
mov word [rsp + 0x1c0], r12w
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r12
mov word [rsp + 0x210], r12w
mov qword [rsp + 0x1b0], r14
mov qword [rsp + 0x1a8], r12
mov word [rsp + 0x198], r12w
mov qword [rsp + 0x200], r14
mov qword [rsp + 0x1f8], r12
mov word [rsp + 0x1e8], r12w
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
lea r8d, [r14 - 6]
lea rdx, [0x100065414]
lea rcx, [rsp + 0x30]
call fcn.10001b608
nop
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
xor eax, eax
or r15, 0xffffffffffffffff
mov rcx, r15
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.10001b608
nop
lea r9, [rsp + 0x208]
lea r8, [rsp + 0x230]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.100045ba0
nop
cmp qword [rsp + 0x78], 8
jb 0x100047499
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
cmp qword [rsp + 0x50], 8
jb 0x1000474bb
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
mov r8d, 1
lea rdx, [0x100065414]
lea rcx, [rsp + 0x58]
call fcn.10001b608
nop
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x208]
call fcn.100048f30
mov rdi, rax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x208]
call fcn.100049044
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x1b8]
call fcn.10001bb30
nop
cmp qword [rsp + 0x50], 8
jb 0x10004753d
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
lea eax, [rdi + 1]
movsxd r8, eax
mov r9, r15
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x208]
call fcn.100049044
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.10001bb30
nop
cmp qword [rsp + 0x50], 8
jb 0x100047582
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x190]
call fcn.100048f30
mov rdi, rax
lea ecx, [rax + 1]
movsxd r8, ecx
mov r9, r15
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.100049044
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.10001bb30
nop
cmp qword [rsp + 0x50], 8
jb 0x1000475df
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
movsxd r9, edi
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x190]
call fcn.100049044
nop
mov r9, r15
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.10001bb30
nop
cmp qword [rsp + 0x50], 8
jb 0x100047622
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_free
nop
cmp qword [rsp + 0x78], 8
jb 0x100047634
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
cmp ebx, r12d
jbe 0x10004772d
lea rcx, [rsp + 0x1c0]
cmp qword [rsp + 0x1d8], 8
cmovae rcx, qword [rsp + 0x1c0]
mov rax, qword [rbp + 0x10]
mov rdi, qword [rax + 0x100]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rdi + 0x430], eax
lea rcx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 8
cmovae rcx, qword [rsp + 0x198]
mov rax, qword [rbp + 0x10]
mov rdi, qword [rax + 0x100]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rdi + 0x434], eax
lea rcx, [rsp + 0x1e8]
cmp qword [rsp + 0x200], 8
cmovae rcx, qword [rsp + 0x1e8]
mov rax, qword [rbp + 0x10]
mov rdi, qword [rax + 0x100]
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rdi + 0x438], eax
lea rdi, [rsp + 0x238]
cmp qword [rsp + 0x250], 8
cmovae rdi, qword [rsp + 0x238]
mov rcx, qword [rbp + 0x18]
mov edx, 0x200
add rcx, 0x280
sub rdi, rcx
lea rax, [rdx + 0x7ffffdfe]
cmp rax, r12
je 0x100047720
movzx eax, word [rcx + rdi]
cmp ax, r12w
je 0x100047720
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1000476fd
cmp rdx, r12
jne 0x100047729
sub rcx, 2
mov word [rcx], r12w
mov rcx, rsi
call sub.msvcrt.dll_free
nop
cmp qword [rsp + 0x200], 8
jb 0x10004774e
mov rcx, qword [rsp + 0x1e8]
call sub.msvcrt.dll_free
mov qword [rsp + 0x200], r14
mov qword [rsp + 0x1f8], r12
mov word [rsp + 0x1e8], r12w
cmp qword [rsp + 0x1b0], 8
jb 0x10004777f
mov rcx, qword [rsp + 0x198]
call sub.msvcrt.dll_free
mov qword [rsp + 0x1b0], r14
mov qword [rsp + 0x1a8], r12
mov word [rsp + 0x198], r12w
cmp qword [rsp + 0x228], 8
jb 0x1000477b0
mov rcx, qword [rsp + 0x210]
call sub.msvcrt.dll_free
mov qword [rsp + 0x228], r14
mov qword [rsp + 0x220], r12
mov word [rsp + 0x210], r12w
cmp qword [rsp + 0x1d8], 8
jb 0x1000477e1
mov rcx, qword [rsp + 0x1c0]
call sub.msvcrt.dll_free
mov qword [rsp + 0x1d8], r14
mov qword [rsp + 0x1d0], r12
mov word [rsp + 0x1c0], r12w
cmp qword [rsp + 0x250], 8
jb 0x100047812
mov rcx, qword [rsp + 0x238]
call sub.msvcrt.dll_free
mov qword [rsp + 0x250], r14
mov qword [rsp + 0x248], r12
mov word [rsp + 0x238], r12w
lea rcx, [rsp + 0x128]
call fcn.10001bbf8
lea rdx, [0x100063ef0]
mov qword [rsp + 0x128], rdx
lea rcx, [rsp + 0x128]
call fcn.10001ddbc
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.100001c30
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret