Function at 0x528720
Capabilities:
Query or enumerate registry key
Read .ini file

Disassembly:
sub esp, 0x33c
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push ebp
push esi
push edi
push 0x103
xor ebp, ebp
lea eax, [esp + 0x41]
push ebp
push eax
mov byte [esp + 0x48], 0
call fcn.005dfd60
add esp, 0xc
call fcn.004f0de0
lea edi, [ebp + 1]
test eax, eax
je 0x528764
mov dword [0x751b84], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x7520c0
push 0x104
lea ecx, [esp + 0x44]
push ecx
push 0x60c81c
push str.SecServer
push 0x60da74
call esi
mov al, byte [esp + 0x3c]
mov bl, 0x31
cmp al, bl
jne 0x52879c
mov dword [0x751b7c], edi
jmp 0x5287a6
cmp al, 0x30
jne 0x5287a6
mov dword [0x751b7c], ebp
push 0x7520c0
push 0x104
lea edx, [esp + 0x44]
push edx
push 0x60c81c
push str.DownloadFromAnotherServer
push 0x60da74
call esi
cmp byte [esp + 0x3c], bl
jne 0x5287d2
mov dword [0x751b80], edi
cmp dword [0x751b84], ebp
je 0x528808
push ebp
push 0x104
lea eax, [esp + 0x44]
push eax
push 0x60c81c
push str.server
push 0x60c810
call fcn.004efe40
add esp, 0x18
cmp byte [esp + 0x3c], bl
jne 0x528808
mov dword [0x751b88], edi
push 2
push str.FilterARPPacketsEx
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
push 0x103
lea ecx, [esp + 0x249]
push ebp
push ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x250], 0
call fcn.005dfd60
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 8
push ebp
lea eax, [esp + 0x2c]
push eax
mov ecx, 7
mov esi, str.SoftwareMicroWorldDevices
lea edi, [esp + 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5289e9
mov eax, dword [esp + 0x10]
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x258]
push edx
push ebp
mov ebx, 0x104
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x5289de
push 0x103
lea ecx, [esp + 0x145]
push ebp
push ecx
mov byte [esp + 0x14c], 0
call fcn.005dfd60
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x140], cl
inc eax
test cl, cl
jne 0x5288c2
lea edx, [esp + 0x140]
push edx
call fcn.004e24e0
lea eax, [esp + 0x248]
add esp, 4
mov edx, eax
jmp 0x5288f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5288f0
lea edi, [esp + 0x140]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x528901
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x244]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x528923
sub eax, edx
cmp eax, 0x11
jne 0x528960
lea eax, [esp + 0x244]
push 0x2d
push eax
call fcn.004dad90
add esp, 8
cmp eax, 5
jne 0x528960
push ebp
push ebp
lea ecx, [esp + 0x148]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9480
test eax, eax
jne 0x5289b1
cmp dword [0x751b7c], ebp
jne 0x5289ad
cmp dword [0x751b80], ebp
jne 0x5289ad
lea edx, [esp + 0x1c]
push edx
push str.EventSent
lea eax, [esp + 0x148]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
call fcn.004d5820
cmp dword [esp + 0x1c], ebp
je 0x5289ad
push str.EventSent
lea ecx, [esp + 0x144]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e9430
inc dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x258]
push eax
push ecx
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x5288a2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x348]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x33c
ret