Function at 0x100022f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b7c1
mov eax, dword fs:[0]
push eax
mov eax, 0x1068
call fcn.100140b0
mov eax, dword [0x1003e078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.100162c0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
cmp dword [0x1003fd28], 0x10
mov ebx, 0x1003fd14
mov eax, ebx
cmovae eax, dword [0x1003fd14]
push eax
push 0
push str.configtime
push str.AgentConfig
call esi
cmp dword [0x1003fd28], 0x10
mov dword [0x1003fcb0], eax
mov eax, ebx
cmovae eax, dword [0x1003fd14]
push eax
push 0
push str.enable_iepostcontent
push str.AgentConfig
call esi
mov dword [0x1003fca4], eax
mov dword [ebp - 0x102c], 0xf
mov dword [ebp - 0x1030], 0
mov byte [ebp - 0x1040], 0
mov dword [ebp - 4], 0
mov eax, ebx
cmp dword [0x1003fd28], 0x10
cmovae eax, dword [0x1003fd14]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x10037ec2
push str.enable_iecontent_url
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x1010], 0
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
jne 0x10002407
xor ecx, ecx
jmp 0x10002419
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002410
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10007e60
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1040]
call fcn.10005e20
lea ecx, [ebp - 0x1028]
call fcn.10005db0
push 1
push ecx
push 0x10037ec0
lea ecx, [ebp - 0x1040]
call fcn.10007ca0
cmp eax, 0xffffffff
je 0x10002470
mov dword [0x1003fcac], 1
jmp 0x10002506
mov edi, dword [ebp - 0x102c]
lea ecx, [ebp - 0x1040]
mov esi, dword [ebp - 0x1040]
lea eax, [ebp - 0x1074]
mov edx, dword [ebp - 0x1030]
lea ebx, [ebp - 0x1040]
cmp edi, 0x10
mov dword [ebp - 0x1074], 0x1001a381
push eax
cmovae ecx, esi
cmovae ebx, esi
push ebx
lea edx, [edx + ecx]
lea ecx, [ebp - 0x1040]
cmovae ecx, esi
call fcn.1000b110
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x100024d7
mov eax, dword [ecx]
jmp 0x100024d9
mov eax, ecx
push 1
push 0x1003928c
mov byte [eax], 0
call fcn.10007e60
mov edx, 0x1003fcf0
lea ecx, [ebp - 0x1040]
call fcn.1000e5a0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x18
mov ebx, 0x1003fd14
cmp dword [0x1003fd28], 0x10
mov eax, ebx
cmovae eax, dword [0x1003fd14]
push eax
push 0
push str.enable_iecontent_size
push str.AgentConfig
call esi
mov dword [0x1003fca8], eax
mov dword [ebp - 0x105c], 0xf
mov dword [ebp - 0x1060], 0
mov byte [ebp - 0x1070], 0
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.100162c0
add esp, 0xc
mov eax, ebx
cmp dword [0x1003fd28], 0x10
cmovae eax, dword [0x1003fd14]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x10037ec2
push str.enable_file_extension
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x1010], 0
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
jne 0x100025b9
xor ecx, ecx
jmp 0x100025cb
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100025c2
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10007e60
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1070]
call fcn.10005e20
lea ecx, [ebp - 0x1028]
call fcn.10005db0
mov ecx, dword [ebp - 0x1060]
test ecx, ecx
je 0x10002693
mov edi, dword [ebp - 0x105c]
lea edx, [ebp - 0x1070]
mov esi, dword [ebp - 0x1070]
lea eax, [ebp - 0x1074]
cmp edi, 0x10
mov dword [ebp - 0x1074], 0x1001a381
lea ebx, [ebp - 0x1070]
cmovae edx, esi
cmovae ebx, esi
push eax
push ebx
lea edx, [edx + ecx]
lea ecx, [ebp - 0x1070]
cmovae ecx, esi
call fcn.1000b110
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x1000266a
mov eax, dword [ecx]
jmp 0x1000266c
mov eax, ecx
push 1
push 0x1003928c
mov byte [eax], 0
call fcn.10007e60
mov edx, 0x1003fd08
lea ecx, [ebp - 0x1070]
call fcn.1000e5a0
add esp, 0x18
mov ebx, 0x1003fd14
mov dword [ebp - 0x1044], 0xf
mov dword [ebp - 0x1048], 0
mov byte [ebp - 0x1058], 0
push 0x1000
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.100162c0
add esp, 0xc
lea eax, [ebp - 0x1010]
cmp dword [0x1003fd28], 0x10
cmovae ebx, dword [0x1003fd14]
push ebx
push 0x1000
push eax
push 0x10037ec2
push str.enable_url_type
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x1010], 0
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
jne 0x10002720
xor ecx, ecx
jmp 0x10002739
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002730
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.10007e60
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0x1058]
call fcn.10005e20
lea ecx, [ebp - 0x1028]
call fcn.10005db0
mov ecx, dword [ebp - 0x1048]
test ecx, ecx
je 0x100027ec
mov edi, dword [ebp - 0x1044]
lea edx, [ebp - 0x1058]
mov esi, dword [ebp - 0x1058]
lea eax, [ebp - 0x1074]
cmp edi, 0x10
mov dword [ebp - 0x1074], 0x1001a381
lea ebx, [ebp - 0x1058]
cmovae edx, esi
cmovae ebx, esi
push eax
push ebx
lea edx, [ecx + edx]
lea ecx, [ebp - 0x1058]
cmovae ecx, esi
call fcn.1000b110
sub esp, 0x10
mov ecx, esp
push 1
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x1003928c
mov byte [ecx], 0
call fcn.10007e60
mov edx, 0x1003fcfc
lea ecx, [ebp - 0x1058]
call fcn.1000e5a0
add esp, 0x18
lea ecx, [ebp - 0x1058]
call fcn.10005db0
lea ecx, [ebp - 0x1070]
call fcn.10005db0
lea ecx, [ebp - 0x1040]
call fcn.10005db0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012f55
mov esp, ebp
pop ebp
ret