Function at 0x7022ad00
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x703115a8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x7034b250]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7034b250]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.7022b0d0
mov dword [esp + 0x80], 0
cmp dword [0x7035a028], 0
je 0x7022ad8c
mov ebp, 0x7035401c
mov ebx, 3
lea ebx, [ebx]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ebp
push ecx
push eax
call fcn.7026a3d0
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.702a6150
mov dword [edi], esi
mov edx, dword [esi + 4]
add ebp, 4
sub ebx, 1
mov dword [edx], esi
jne 0x7022ad60
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x703594f8
push 0
push str.heap_pole_size
push str.general
call ebx
mov ebp, eax
cmp ebp, 0x64
mov dword [esp + 0x14], ebp
jle 0x7022adbc
mov dword [esp + 0x14], 0x64
mov ebp, dword [esp + 0x14]
xor esi, esi
test ebp, ebp
jle 0x7022ae56
xor eax, eax
inc esi
push esi
push str.heap_pole_pt_d
lea ecx, [eax + 0x20]
lea edi, [esp + 0x5c]
mov byte [esp + 0x5c], 0
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov word [esp + 0x79], ax
mov byte [esp + 0x7b], al
call fcn.7021b4f0
add esp, 8
push 0x703594f8
push 0
mov eax, edi
push eax
push str.general
call ebx
mov dword [esp + 0x34], eax
test eax, eax
je 0x7022ae4e
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 4]
lea ebp, [eax + 4]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.7026a3d0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.702a6150
mov dword [ebp], edi
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0x14]
mov dword [eax], edi
cmp esi, ebp
jl 0x7022adc6
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*2]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.702e20da
mov ecx, dword [esp + 0x30]
xor edi, edi
add esp, 4
mov dword [0x70359498], eax
cmp eax, edi
mov eax, dword [ecx]
jne 0x7022aebc
mov dword [ecx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
cmp eax, ecx
je 0x7022aea5
mov esi, dword [eax]
push eax
call fcn.702e1c24
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x7022ae90
push ecx
call fcn.702e1c24
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x2c], edi
push edx
jmp 0x7022afed
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], edi
mov ebx, eax
mov esi, ecx
test ebp, ebp
je 0x7022aed2
cmp ebp, dword [esp + 0x18]
je 0x7022aedb
call fcn.702e2961
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
je 0x7022af94
test ebp, ebp
jne 0x7022af87
call fcn.702e2961
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x7022aefc
call fcn.702e2961
mov esi, dword [ebx + 8]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push 0x1c
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [esp + 0x3c], 0
jne 0x7022af67
push 1
push 0x2000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x7022af67
mov ecx, dword [0x70359498]
inc dword [esp + 0x14]
mov dword [edi + ecx], esi
add esi, 0x10000
mov dword [edi + ecx + 4], esi
mov dword [edi + ecx + 8], eax
add edi, 0xc
test ebp, ebp
jne 0x7022af8f
call fcn.702e2961
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x7022af7c
call fcn.702e2961
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x2c]
jmp 0x7022aec6
mov eax, dword [ebp]
jmp 0x7022aef2
mov eax, dword [ebp]
jmp 0x7022af72
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [0x703594a0], eax
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [0x7035949c], edx
mov dword [esp + 0x30], 0
cmp eax, ecx
je 0x7022afd7
mov esi, dword [eax]
push eax
call fcn.702e1c24
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x7022afc2
push ecx
call fcn.702e1c24
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x2c], 0
push ecx
call fcn.702e1c24
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.702e1c2f
add esp, 0x70
ret