Function at 0x452940
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48e953
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4ae650]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae650]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452997
push 0x80004005
call fcn.00406550
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x298], 0
call fcn.00455695
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4529cc
push 0x80004005
call fcn.00406550
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push str.PROFILE.ini
lea ecx, [esp + 0x2c]
mov byte [esp + 0x29c], 1
call fcn.00406160
push 0x49a67c
lea ecx, [esp + 0x20]
push 0x4b3aa4
push ecx
mov byte [esp + 0x2a4], 2
call fcn.0040cfa0
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x20]
mov bl, 3
push eax
mov byte [esp + 0x2a4], bl
call fcn.0040cee0
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x29c], 4
call fcn.00405bc0
mov byte [esp + 0x298], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452a66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452a8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x49d9a4
lea ecx, [esp + 0x28]
call fcn.00406160
lea ecx, [esp + 0x34]
call fcn.0040c350
mov bl, 6
mov byte [esp + 0x298], bl
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x24]
sub eax, dword [edx - 0xc]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040ce60
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x29c], 7
call fcn.00405bc0
mov byte [esp + 0x298], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov edx, dword [esp + 0x20]
mov ecx, 0x7f
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x452b25
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edx
lea ecx, [esp + 0x94]
push ecx
call fcn.00477b80
mov edx, dword [esi]
xor eax, eax
movzx ebx, ax
mov eax, ebx
shl ebx, 0x10
add esp, 0xc
or eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49e49c
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452b90
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x40]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
push ecx
push 0x200
push 0x4b3040
push 0x49a084
push str.Autherit
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452bf0
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x44]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.Encrption
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452c50
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x48]
call fcn.00406030
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x8c]
push ecx
push 0xffffffffffffffff
push str.KeyNum
push eax
call ebp
mov edx, dword [esi]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x18], edx
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49e4c8
push ecx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452cd5
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x4c]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x18], edx
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.KeyType
push ecx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452d40
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x50]
call fcn.00406030
mov eax, dword [esi]
lea edx, [esp + 0x8c]
push edx
push 1
push str.AutoSwitch
push eax
call ebp
lea ecx, [esp + 0x8c]
push ecx
push 0
mov dword [esp + 0x54], eax
mov eax, dword [esi]
push str.ShowKey
push eax
call ebp
lea edx, [esp + 0x8c]
push edx
push 0
mov dword [esp + 0x58], eax
mov eax, dword [esi]
push str.NetWorkType
push eax
call ebp
mov edx, dword [esi]
mov dword [esp + 0x54], eax
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.EapMethod
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452de7
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x70]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
push ecx
push 0x200
push 0x4b3040
push 0x49a084
push 0x49e960
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452e46
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x74]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49eb50
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452ea5
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x78]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
push ecx
push 0x200
push 0x4b3040
push 0x49a084
push str.Domain
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452f04
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x7c]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.CertName
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452f63
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x80]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x8c]
push ecx
push 0x200
push 0x4b3040
push 0x49a084
push str.CertIssuer
push edx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x452fc5
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x84]
call fcn.00406030
mov eax, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea edx, [esp + 0x8c]
push edx
push 0
push str.CertHashSize
push eax
call ebp
mov dword [esp + 0x80], eax
mov eax, dword [esi]
mov dword [esp + 0x18], eax
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push str.CertHash
push ecx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x453050
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x8c]
call fcn.00406030
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x18], edx
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, pe_nt_image_headers32
mov edi, 0x4b3040
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x8c]
push eax
push 0x200
push 0x4b3040
push 0x49a084
push 0x49ebd0
push ecx
call ebx
mov eax, 0x4b3040
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4530c0
sub eax, ecx
sar eax, 1
push eax
push 0x4b3040
lea ecx, [esp + 0x64]
call fcn.00406030
mov eax, dword [esi]
lea edx, [esp + 0x8c]
push edx
push 0
push 0x49ebdc
push eax
call ebp
mov esi, dword [esi]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x8c]
push eax
push 0x96c
push str.Frequency
push esi
call ebp
lea ebx, [esp + 0x38]
mov dword [esp + 0x64], eax
call fcn.0040d080
mov ebx, eax
call fcn.0040d100
mov eax, dword [eax]
mov ecx, 0x49a084
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45314e
test dx, dx
je 0x45314a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45314e
add eax, 4
add ecx, 4
test dx, dx
jne 0x453128
xor eax, eax
jmp 0x453153
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x453168
sub esp, 0x54
mov ecx, esp
mov dword [esp + 0x6c], esp
push ecx
jmp 0x4531c5
mov eax, dword [esp + 0x40]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2a0], 8
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00405c60
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2a0], 6
call fcn.00437ac0
add esp, 8
test eax, eax
jne 0x4531db
sub esp, 0x54
mov edx, esp
mov dword [esp + 0x84], esp
push edx
lea ecx, [esp + 0x8c]
call fcn.0040c7e0
call fcn.00453810
add esp, 0x54
jmp 0x453214
mov eax, dword [0x4afc24]
push 0
push eax
mov esi, 0x4afc1c
call fcn.0040d2b0
mov edi, eax
lea esi, [edi + 8]
lea eax, [esp + 0x34]
call fcn.0040c700
mov eax, dword [0x4afc24]
test eax, eax
je 0x453208
mov dword [eax], edi
jmp 0x45320e
mov dword [0x4afc20], edi
mov dword [0x4afc24], edi
lea ecx, [esp + 0x34]
call fcn.0040c540
mov byte [esp + 0x298], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453245
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45326d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x298], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x298], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4532c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00471ad7
add esp, 0x288
ret