Function at 0x405292
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x41ef93
call fcn.0041e140
sub esp, 0xb94
mov eax, dword [0x429e98]
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.00403756
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.00403756
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.00403756
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.00403756
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.00403756
push str.PortBlockReport
push str._BehaviorBlockPort
push dword [ebp - 0xa1c]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa20]
push edi
call fcn.0040512f
mov esi, dword [ebp - 0xa24]
xor edi, edi
cmp esi, edi
mov dword [ebp - 0xa1c], eax
je 0x405c91
cmp dword [ebp - 0xa38], edi
je 0x405c91
cmp dword [ebp - 0xa28], edi
je 0x405c91
cmp dword [ebp - 0xa34], edi
je 0x405c91
cmp dword [ebp - 0xa2c], edi
je 0x405c91
lea ecx, [ebp - 0xa24]
call fcn.0040169a
mov ecx, eax
call fcn.0040119d
test ax, ax
jne 0x405c9c
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xa98]
push ecx
lea ecx, [ebp - 0xa54]
push ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040169a
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xb08]
push ecx
lea ecx, [ebp - 0xa78]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb80]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0040169a
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xab8]
push ecx
lea ecx, [ebp - 0xa58]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xba0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0040169a
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.0040681b
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 0x4055c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa70]
test eax, eax
mov byte [ebp - 4], 0x1b
je 0x4055db
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 0x405603
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa88]
test eax, eax
mov byte [ebp - 4], 0x18
je 0x405617
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 0x40563f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa80]
test eax, eax
mov byte [ebp - 4], 0x15
je 0x405653
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.004068ad
test eax, eax
je 0x405c03
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xae8]
push ecx
lea ecx, [ebp - 0xa7c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb70]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.0040169a
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 0x405767
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa5c]
test eax, eax
mov byte [ebp - 4], 0x1e
je 0x40577b
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xaf8]
push ecx
lea ecx, [ebp - 0xa74]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb48]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x23
call fcn.0040169a
mov ecx, eax
call fcn.004010c2
mov edi, dword [ebp - 0xa20]
push 0xfff
push dword [eax + 8]
push dword [edi + 0xc]
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 0x405831
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa64]
test eax, eax
mov byte [ebp - 4], 0x21
je 0x405845
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.004018b6
push ecx
mov ecx, esp
mov dword [ebp - 0xa48], esp
push str.G_User
mov byte [ebp - 4], 0x24
call fcn.004018b6
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
mov byte [ebp - 4], 0x25
call fcn.004018b6
add edi, 0x220
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.0040169a
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00402877
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xad8]
push ecx
lea ecx, [ebp - 0xa84]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb90]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x29
call fcn.0040169a
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.004018b6
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa48], esp
push eax
mov byte [ebp - 4], 0x2b
call fcn.004018b6
mov ecx, edi
mov byte [ebp - 4], 0x2c
call fcn.0040169a
mov ecx, eax
mov byte [ebp - 4], 0x2a
call fcn.004026c7
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 0x405989
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa6c]
test eax, eax
mov byte [ebp - 4], 0x27
je 0x40599d
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 + 0xc]
call fcn.004018b6
push ecx
mov ecx, esp
mov dword [ebp - 0xa48], esp
push 0x420760
mov byte [ebp - 4], 0x2d
call fcn.004018b6
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
mov dword [ebp - 0xa44], esp
push eax
mov byte [ebp - 4], 0x2e
call fcn.004018b6
mov ecx, edi
mov byte [ebp - 4], 0x2f
call fcn.0040169a
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.004027e9
push dword [ebp - 0xa30]
lea eax, [ebp - 0x218]
push ecx
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
call fcn.004018b6
mov ecx, edi
mov byte [ebp - 4], 0x30
call fcn.0040169a
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040273b
push dword [ebp - 0xa1c]
lea eax, [ebp - 0x218]
push ecx
mov ecx, esp
mov dword [ebp - 0xa3c], esp
push eax
call fcn.004018b6
mov ecx, edi
mov byte [ebp - 4], 0x31
call fcn.0040169a
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00402792
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xac8]
push ecx
lea ecx, [ebp - 0xa60]
push ecx
mov byte [ebp - 4], 0x34
mov ecx, eax
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.0040169a
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.0040169a
mov ecx, eax
call fcn.00401bb0
lea ecx, [ebp - 0xaa8]
push ecx
lea ecx, [ebp - 0xa50]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x37
call fcn.0040169a
mov ecx, eax
call fcn.00401b6a
lea ecx, [ebp - 0xb28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x38
call fcn.0040169a
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 0x405b8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa4c]
test eax, eax
mov byte [ebp - 4], 0x36
je 0x405b9f
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 0x405bc7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa68]
test eax, eax
mov byte [ebp - 4], 0x33
je 0x405bdb
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.0040169a
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa38]
call fcn.0040169a
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa28]
call fcn.0040169a
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa34]
call fcn.0040169a
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xa2c]
call fcn.0040169a
mov ecx, eax
call fcn.004011ed
lea ecx, [ebp - 0xb60]
mov byte [ebp - 4], 4
call fcn.00406725
lea ecx, [ebp - 0xa24]
call fcn.0040169a
mov ecx, eax
call fcn.0040119d
test ax, ax
je 0x405437
mov esi, dword [ebp - 0xa24]
xor edi, edi
jmp 0x405c9c
push str.ProcessPortRules_failed._n
call sub.msvcrt.dll_wprintf
pop ecx
cmp esi, edi
je 0x405cb2
lea ecx, [ebp - 0xa24]
call fcn.0040169a
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa38], edi
je 0x405ccc
lea ecx, [ebp - 0xa38]
call fcn.0040169a
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa28], edi
je 0x405ce6
lea ecx, [ebp - 0xa28]
call fcn.0040169a
mov ecx, eax
call fcn.004011c9
cmp dword [ebp - 0xa34], edi
je 0x405d00
lea ecx, [ebp - 0xa34]
call fcn.0040169a
mov ecx, eax
call fcn.004011c9
mov edi, dword [ebp - 0xa2c]
test edi, edi
je 0x405d1c
lea ecx, [ebp - 0xa2c]
call fcn.0040169a
mov ecx, eax
call fcn.004011c9
test edi, edi
mov byte [ebp - 4], 3
je 0x405d2a
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [ebp - 0xa34]
test eax, eax
mov byte [ebp - 4], 2
je 0x405d3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa28]
test eax, eax
mov byte [ebp - 4], bl
je 0x405d51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xa38]
test eax, eax
mov byte [ebp - 4], 0
je 0x405d65
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x405d73
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.0041e7f6
pop edi
pop esi
pop ebx
leave
ret 8