Function at 0x401970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4639d1
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4821a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], 0
call fcn.00410560
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x60], 2
call fcn.00408f70
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004092a0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0x4773c8
cmp eax, 1
jb 0x401a1f
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.00441430
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x401a30
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push 1
call fcn.004090e0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xd
push str.Workbench.ini
cmp eax, 0xd
jb 0x401a6a
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xd]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.00441430
add esp, 0xc
mov byte [esi + 0xd], 0
lea eax, [ebp - 0x28]
jmp 0x401a7b
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push 0xd
call fcn.004090e0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x401ae3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401ad9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401beb
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
push esi
push 0x104
push edx
push 0x4778b8
push str.Version
push 0x477400
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov dword [edi + 0x10], 0
cmovae edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b48
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.0040a900
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x401b8a
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401b80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bf0
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x401bcc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401bc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bf5
push edx
push ecx
call fcn.0042a2aa
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042a299
mov esp, ebp
pop ebp
ret 4
call fcn.00444f5c
call fcn.00444f5c
call fcn.00444f5c
int3