Function at 0x4063b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x432505
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x1b0]
push str._PROFILE_
push eax
mov dword [esp + 0x1ac], 1
xor esi, esi
call fcn.00413f65
add esp, 8
test eax, eax
jne 0x4065b3
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x43f260
call fcn.00426b49
lea ecx, [esp + 0x18]
push ecx
call fcn.004016e0
add esp, 8
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1a8], 2
call fcn.00426c14
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a4], 1
call fcn.00426adb
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x99]
mov byte [esp + 0x98], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1b0]
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x9c]
push 0x104
push eax
push 0x443a8c
push str.WT_IniPath
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x4064a0
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x1b4]
call fcn.00426c64
mov ebp, dword [ebx + 0x68]
lea esi, [ebx + 0x60]
lea edx, [esp + 0x14]
lea edi, [esi + 4]
push edx
mov ecx, edi
call fcn.00403e80
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.004042f0
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
lea edi, [esi + 0x24]
push ecx
push edx
push eax
call fcn.00408a10
add esp, 0xc
mov ebp, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebp
call fcn.004048a0
mov edx, dword [esp + 0x1b0]
mov dword [edi + 8], ebp
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov ebp, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esi + 0x14]
call fcn.004048f0
push 0x43f248
push ebp
call fcn.004142a2
mov edi, eax
add esp, 8
test edi, edi
je 0x40666c
push 2
push 0
push edi
call fcn.004145cc
push edi
call fcn.00414449
push 0
push 0
push edi
mov ebp, eax
call fcn.004145cc
mov dl, byte [esp + 0x2f]
xor eax, eax
add esp, 0x1c
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
lea ecx, [ebp + 1]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], 3
call fcn.00408100
mov edx, dword [esp + 0x20]
push edi
push ebp
push 1
push edx
call fcn.00414332
push edi
call fcn.004142b5
mov eax, dword [esp + 0x34]
add esp, 0x14
mov ecx, esi
push ebp
push eax
call fcn.00406ce0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a4], 1
call fcn.004080d0
jmp 0x40666c
mov ecx, dword [esp + 0x1b0]
push str._MODULE_FILE_
push ecx
call fcn.00413f65
add esp, 8
test eax, eax
jne 0x40660d
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x43f1c8
call fcn.00426b49
lea edx, [esp + 0x18]
push edx
call fcn.004016e0
add esp, 8
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1a8], 4
call fcn.00426c14
mov byte [esp + 0x1a4], 1
lea ecx, [esp + 0x14]
jmp 0x406667
lea eax, [esp + 0x18]
push eax
call fcn.004017b0
add esp, 4
lea ecx, [esp + 0x1b0]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x1b0], 5
call fcn.00426d0a
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x1a8], 6
call fcn.00426c14
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a4], 5
call fcn.00426adb
mov byte [esp + 0x1a4], 1
lea ecx, [esp + 0x18]
call fcn.00426adb
push 0x5c
lea ecx, [esp + 0x1b4]
call fcn.004254a1
inc eax
lea ecx, [esp + 0x1b0]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004252f4
mov ecx, dword [0x43f5ec]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push 0x43f21c
push eax
mov byte [esp + 0x1b0], 8
call fcn.00425810
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push ecx
push 0x3e8
mov ecx, ebx
call fcn.0042b66a
mov edx, dword [esp + 0x1ac]
push edx
call fcn.00413b68
mov ebp, eax
add esp, 4
test ebp, ebp
jle 0x406a4e
push 0
push ebp
push 0
call fcn.00401610
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x406a4e
push edi
call fcn.00426f92
mov ebx, eax
push 0
push ebp
push ebx
mov dword [esp + 0x24], ebx
call fcn.00401610
add esp, 0x10
mov ebp, eax
test esi, esi
je 0x406a07
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x5c], al
call fcn.00403d30
mov edi, 0x443a8c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x443a8c
lea ecx, [esp + 0x60]
call fcn.004048f0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a8], 9
call fcn.00403d30
push str.___r_n________r_n__
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a8], 0xa
call fcn.004010b0
push str.__.__
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a8], 0xb
call fcn.004010b0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a8], 0xc
mov byte [esp + 0x4c], dl
call fcn.00403d30
mov eax, dword [esp + 0x14]
mov bl, 0xd
add ebp, eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x1a4], bl
mov dword [esp + 0x2c], ebp
jae 0x406990
lea ecx, [esp + 0x48]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00406ae0
add esp, 0xc
test eax, eax
jl 0x406990
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4067fc
mov eax, 0x43464c
push eax
lea ecx, [esp + 0x84]
call fcn.00401390
test eax, eax
je 0x406856
lea eax, [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x88]
call fcn.004013f0
mov edx, dword [eax]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1a4], 0xe
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.004048f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a4], bl
call fcn.00426adb
jmp 0x406986
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x406863
mov eax, 0x43464c
push eax
lea ecx, [esp + 0x6c]
call fcn.00401390
test eax, eax
je 0x406986
mov ecx, dword [0x434648]
lea edx, [esp + 0x58]
push ecx
push 0
push edx
lea ecx, [esp + 0x28]
call fcn.00403970
mov edi, 0x43f16c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x43f16c
lea ecx, [esp + 0x24]
call fcn.00403570
lea eax, [esp + 0x40]
push 1
push eax
lea ecx, [esp + 0x70]
call fcn.004013f0
mov edx, dword [eax]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1a4], 0xf
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00403570
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a4], bl
call fcn.00426adb
lea ecx, [esp + 0x1c]
call fcn.00403b90
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x406900
xor edi, edi
jmp 0x406907
mov ecx, dword [esp + 0x24]
lea edi, [ecx + eax]
lea ecx, [esp + 0x1c]
call fcn.00403b90
mov edx, dword [esp + 0x20]
push 0x406ac0
push edi
push edx
call fcn.004089e0
add esp, 0xc
lea eax, [esp + 0x38]
lea ecx, [esp + 0x68]
push 2
push eax
call fcn.004013f0
mov ebp, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
mov byte [esp + 0x1a8], 0x10
call fcn.00407f30
mov edx, eax
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
mov ecx, edx
call fcn.004048f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a4], bl
call fcn.00426adb
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x24]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00404710
mov ebp, dword [esp + 0x2c]
cmp dword [esp + 0x18], ebp
jb 0x4067d3
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a8], 0xc
call fcn.00403d30
lea ecx, [esp + 0x80]
mov byte [esp + 0x1a4], 0xb
call fcn.00401350
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a4], 0xa
call fcn.00401350
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a8], 9
call fcn.00403d30
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a8], 8
call fcn.00403d30
mov ecx, dword [esp + 0x3c]
push esi
call fcn.00407430
push 0
mov ecx, esi
call fcn.00407120
mov ebx, dword [esp + 0x14]
jmp 0x406a45
cmp ebp, edi
jne 0x406a45
mov eax, dword [esp + 0x1b0]
push 0x40
push 0x43f218
push eax
call fcn.00414271
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406a45
push 2
push 0
push esi
call fcn.004145cc
push esi
push 1
push edi
push ebx
call fcn.00414138
push esi
call fcn.004142b5
add esp, 0x20
push ebx
call fcn.00426fbb
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a4], 7
call fcn.00426adb
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a4], 1
call fcn.00426adb
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x1a4], 0
call fcn.00426adb
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.00426adb
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x198
ret 8