Function at 0x404d86
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41cc8a
call fcn.0041c000
sub esp, 0xb94
mov eax, dword [0x426e88]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa20], ecx
xor esi, esi
xor eax, eax
mov word [ebp - 0x218], si
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0xa18], si
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0xa16]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xa20]
push str.PortBlockEnabled
mov dword [ebp - 0xa40], esi
mov esi, str._PortBlockItems
push esi
push edx
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xa24]
push eax
mov dword [ebp - 0xa30], ebx
mov dword [ebp - 0xa1c], edx
call fcn.004034ae
mov ecx, dword [ebp - 0xa20]
and dword [ebp - 4], 0
push str.PortBlockDirection
push esi
push dword [ebp - 0xa1c]
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.004034ae
mov edi, dword [ebp - 0xa30]
mov ecx, dword [ebp - 0xa20]
push str.PortBlockName
push esi
push dword [ebp - 0xa1c]
xor ebx, ebx
push edi
lea eax, [ebp - 0xa28]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.004034ae
mov ecx, dword [ebp - 0xa20]
push str.PortBlockRange
push esi
push dword [ebp - 0xa1c]
lea eax, [ebp - 0xa34]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.004034ae
mov ecx, dword [ebp - 0xa20]
push str.PortBlockWhiteList
push esi
push dword [ebp - 0xa1c]
lea eax, [ebp - 0xa2c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.004034ae
push str.PortBlockReport
push str._BehaviorBlockPort
push dword [ebp - 0xa1c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa20]
push edi
call fcn.00404c26
mov esi, dword [ebp - 0xa24]
xor edi, edi
cmp esi, edi
mov dword [ebp - 0xa1c], eax
je 0x405782
cmp dword [ebp - 0xa38], edi
je 0x405782
cmp dword [ebp - 0xa28], edi
je 0x405782
cmp dword [ebp - 0xa34], edi
je 0x405782
cmp dword [ebp - 0xa2c], edi
je 0x405782
lea ecx, [ebp - 0xa24]
call fcn.004013f4
mov ecx, eax
call fcn.0040119d
test ax, ax
jne 0x40578d
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [ebp - 0xa98], 3
mov dword [ebp - 0xa90], ebx
mov word [ebp - 0xb08], 3
mov dword [ebp - 0xb00], ebx
mov word [ebp - 0xab8], 3
mov dword [ebp - 0xab0], ebx
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xa38]
mov byte [ebp - 4], 7
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xa98]
push ecx
lea ecx, [ebp - 0xa54]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
mov edi, eax
lea eax, [ebp - 0xa88]
push eax
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 0xa
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xb08]
push ecx
lea ecx, [ebp - 0xa78]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb80]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0xa70]
push eax
lea ecx, [ebp - 0xa34]
mov byte [ebp - 4], 0xd
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xab8]
push ecx
lea ecx, [ebp - 0xa58]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xba0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
mov dword [ebp - 0xa44], eax
push dword [edi + 8]
mov byte [ebp - 4], 0x10
call sub.msvcrt.dll__wtol
pop ecx
push eax
mov eax, dword [ebp - 0xa30]
push dword [eax + 8]
mov eax, dword [ebp - 0xa44]
push dword [eax + 8]
lea ecx, [ebp - 0xb60]
call fcn.004061c8
lea eax, [ebp - 0xba0]
push eax
mov byte [ebp - 4], 0x1d
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa58]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x1c
je 0x4050bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa70]
test eax, eax
mov byte [ebp - 4], 0x1b
je 0x4050cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xb80]
push eax
mov byte [ebp - 4], 0x1a
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa78]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x19
je 0x4050f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa88]
test eax, eax
mov byte [ebp - 4], 0x18
je 0x40510b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xb18]
push eax
mov byte [ebp - 4], 0x17
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa54]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x16
je 0x405133
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa80]
test eax, eax
mov byte [ebp - 4], 0x15
je 0x405147
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xab8]
push eax
mov byte [ebp - 4], 0x14
call esi
push eax
call fcn.00401000
pop ecx
lea eax, [ebp - 0xb08]
push eax
mov byte [ebp - 4], 0x13
call esi
push eax
call fcn.00401000
pop ecx
lea eax, [ebp - 0xa98]
push eax
mov byte [ebp - 4], 0x12
call esi
push eax
call fcn.00401000
lea eax, [ebp - 0xa18]
mov dword [esp], 0x400
push eax
lea ecx, [ebp - 0xb60]
call fcn.0040625a
test eax, eax
je 0x4056f4
push dword [ebp - 0xa40]
lea eax, [ebp - 0x218]
push str.URP_lu
push eax
call sub.msvcrt.dll_swprintf
add esp, 0xc
inc dword [ebp - 0xa40]
mov word [ebp - 0xae8], 3
mov dword [ebp - 0xae0], ebx
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0xa24]
mov byte [ebp - 4], 0x1e
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xae8]
push ecx
lea ecx, [ebp - 0xa7c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
push dword [eax + 8]
call sub.msvcrt.dll__wtol
mov dword [ebp - 0xa30], eax
pop ecx
lea eax, [ebp - 0xb70]
push eax
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa7c]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x1f
je 0x40525b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa5c]
test eax, eax
mov byte [ebp - 4], 0x1e
je 0x40526f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xae8]
push eax
mov byte [ebp - 4], 0x12
call esi
push eax
call fcn.00401000
pop ecx
mov word [ebp - 0xaf8], 3
mov dword [ebp - 0xaf0], ebx
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 0x21
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xaf8]
push ecx
lea ecx, [ebp - 0xa74]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
mov edi, dword [ebp - 0xa20]
push 0xfff
push dword [eax + 8]
push dword [edi + 8]
call sub.msvcrt.dll_wcsncpy
add esp, 0xc
lea eax, [ebp - 0xb48]
push eax
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa74]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x22
je 0x405325
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa64]
test eax, eax
mov byte [ebp - 4], 0x21
je 0x405339
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xaf8]
push eax
mov byte [ebp - 4], 0x12
call esi
push eax
call fcn.00401000
lea eax, [ebp - 0xa18]
mov ecx, esp
mov dword [ebp - 0xa44], esp
push eax
call fcn.004015f1
push ecx
mov ecx, esp
mov dword [ebp - 0xa48], esp
push str.G_User
mov byte [ebp - 4], 0x24
call fcn.004015f1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
mov byte [ebp - 4], 0x25
call fcn.004015f1
add edi, 0x10
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.004013f4
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00402557
mov word [ebp - 0xad8], 3
mov dword [ebp - 0xad0], ebx
lea eax, [ebp - 0xa6c]
push eax
lea ecx, [ebp - 0xa28]
mov byte [ebp - 4], 0x27
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xad8]
push ecx
lea ecx, [ebp - 0xa84]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb90]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
push ecx
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push dword [eax + 8]
mov byte [ebp - 4], 0x2a
call fcn.004015f1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa48], esp
push eax
mov byte [ebp - 4], 0x2b
call fcn.004015f1
mov ecx, edi
mov byte [ebp - 4], 0x2c
call fcn.004013f4
mov ecx, eax
mov byte [ebp - 4], 0x2a
call fcn.004023a7
lea eax, [ebp - 0xb90]
push eax
mov byte [ebp - 4], 0x29
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa84]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x28
je 0x40547a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa6c]
test eax, eax
mov byte [ebp - 4], 0x27
je 0x40548e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xad8]
push eax
mov byte [ebp - 4], 0x12
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa20]
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push dword [eax + 8]
call fcn.004015f1
push ecx
mov ecx, esp
mov dword [ebp - 0xa48], esp
push 0x41d568
mov byte [ebp - 4], 0x2d
call fcn.004015f1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa44], esp
push eax
mov byte [ebp - 4], 0x2e
call fcn.004015f1
mov ecx, edi
mov byte [ebp - 4], 0x2f
call fcn.004013f4
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004024c9
push dword [ebp - 0xa30]
lea eax, [ebp - 0x218]
push ecx
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
call fcn.004015f1
mov ecx, edi
mov byte [ebp - 4], 0x30
call fcn.004013f4
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040241b
push dword [ebp - 0xa1c]
lea eax, [ebp - 0x218]
push ecx
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
call fcn.004015f1
mov ecx, edi
mov byte [ebp - 4], 0x31
call fcn.004013f4
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00402472
mov word [ebp - 0xac8], 3
mov dword [ebp - 0xac0], ebx
mov word [ebp - 0xaa8], 3
mov dword [ebp - 0xaa0], ebx
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 0x33
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xac8]
push ecx
lea ecx, [ebp - 0xa60]
push ecx
mov byte [ebp - 4], 0x34
mov ecx, eax
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
mov edi, eax
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xa28]
mov byte [ebp - 4], 0x36
call fcn.004013f4
mov ecx, eax
call fcn.004018eb
lea ecx, [ebp - 0xaa8]
push ecx
lea ecx, [ebp - 0xa50]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x37
call fcn.004013f4
mov ecx, eax
call fcn.004018a5
lea ecx, [ebp - 0xb28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x38
call fcn.004013f4
mov ecx, eax
call fcn.004010c2
push dword [edi + 8]
push dword [eax + 8]
lea eax, [ebp - 0xa18]
push eax
push dword [ebp - 0xa1c]
lea eax, [ebp - 0x218]
push dword [ebp - 0xa30]
push eax
push str._s__d__d__s__s__s__n
call sub.msvcrt.dll_wprintf
add esp, 0x1c
lea eax, [ebp - 0xb28]
push eax
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa50]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x37
je 0x40567c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4c]
test eax, eax
mov byte [ebp - 4], 0x36
je 0x405690
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xb38]
push eax
mov byte [ebp - 4], 0x35
call esi
push eax
call fcn.00401000
mov eax, dword [ebp - 0xa60]
test eax, eax
pop ecx
mov byte [ebp - 4], 0x34
je 0x4056b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa68]
test eax, eax
mov byte [ebp - 4], 0x33
je 0x4056cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0xaa8]
push eax
mov byte [ebp - 4], 0x32
call esi
push eax
call fcn.00401000
pop ecx
lea eax, [ebp - 0xac8]
push eax
mov byte [ebp - 4], 0x12
call esi
push eax
call fcn.00401000
pop ecx
lea ecx, [ebp - 0xa24]
call fcn.004013f4
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa38]
call fcn.004013f4
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa28]
call fcn.004013f4
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa34]
call fcn.004013f4
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa2c]
call fcn.004013f4
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xb60]
mov byte [ebp - 4], 4
call fcn.004060d2
lea ecx, [ebp - 0xa24]
call fcn.004013f4
mov ecx, eax
call fcn.0040119d
test ax, ax
je 0x404f2b
mov esi, dword [ebp - 0xa24]
xor edi, edi
jmp 0x40578d
push str.ProcessPortRules_failed._n
call sub.msvcrt.dll_wprintf
pop ecx
cmp esi, edi
je 0x4057a3
lea ecx, [ebp - 0xa24]
call fcn.004013f4
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa38], edi
je 0x4057bd
lea ecx, [ebp - 0xa38]
call fcn.004013f4
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa28], edi
je 0x4057d7
lea ecx, [ebp - 0xa28]
call fcn.004013f4
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa34], edi
je 0x4057f1
lea ecx, [ebp - 0xa34]
call fcn.004013f4
mov ecx, eax
call fcn.004011c9
mov edi, dword [ebp - 0xa2c]
test edi, edi
je 0x40580d
lea ecx, [ebp - 0xa2c]
call fcn.004013f4
mov ecx, eax
call fcn.004011c9
test edi, edi
mov byte [ebp - 4], 3
je 0x40581b
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0xa34]
test eax, eax
mov byte [ebp - 4], 2
je 0x40582f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa28]
test eax, eax
mov byte [ebp - 4], bl
je 0x405842
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa38]
test eax, eax
mov byte [ebp - 4], 0
je 0x405856
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x405864
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa40]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041c4f6
pop edi
pop esi
pop ebx
leave
ret 8