Function at 0x2041ede0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x20481b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x204a31e0]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
lea eax, [esp + 0x7c]
mov edi, ecx
push eax
mov dword [esp + 0x38], edi
mov esi, edx
call fcn.2041c300
xor ecx, ecx
mov dword [esp + 0x1c4], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
mov ebx, dword [esi + 0xec]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jle 0x2041f66e
cmp ebx, ecx
je 0x2041ee89
push str.ZONES
push ebx
lea eax, [esp + 0x34]
call fcn.20402090
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x2c], ebp
jne 0x2041eea4
push ebx
mov ebx, str.ZONES
mov eax, esi
call fcn.20402000
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x2c], eax
jne 0x2041eeae
mov dword [esp + 0x1c4], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.2041c400
xor al, al
jmp 0x2041f684
push ebp
push esi
call fcn.20402330
add esp, 8
xor ecx, ecx
cmp dword [esp + 0x30], ecx
mov dword [esp + 0x28], ecx
jle 0x2041f66e
mov dword [esp + 0x24], ecx
test ecx, ecx
jl 0x2041f669
mov edx, dword [esp + 0x28]
cmp edx, dword [edi + 0xc]
jge 0x2041f669
mov eax, dword [edi + 8]
add eax, ecx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.2041c9a0
mov eax, dword [esp + 0x80]
cmp eax, 0xc0000000
jb 0x2041ef0a
test eax, eax
je 0x2041ef0a
cmp byte [esp + 0x1cc], 0
je 0x2041f63f
push ebp
mov ebx, str.ZONE
mov eax, esi
call fcn.20402000
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x2041ee89
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x2041ef5f
mov ecx, dword [esp + 0x28]
cmp ecx, dword [edi + 0xc]
mov dword [esp + 0x80], eax
jge 0x2041f669
mov eax, dword [edi + 8]
add eax, dword [esp + 0x24]
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.2041c9a0
push 0
push 0
jmp 0x2041ef62
push 0
push eax
push ebp
mov ecx, 0x20488584
call fcn.204044d0
add esp, 0xc
cmp eax, 1
je 0x2041ee89
mov eax, dword [esp + 0xec]
test eax, eax
lea ebx, [esi + 0x28]
mov edi, 1
jne 0x2041efb3
mov eax, dword [esi + 0x34]
mov dword [esp + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, 0x20485878
call fcn.20403950
test eax, eax
jne 0x2041ee89
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x2041efd3
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x30], ecx
call fcn.20403950
test eax, eax
jne 0x2041ee89
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x1c]
push eax
push edx
push 0x20485800
push ebp
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
xor eax, eax
cmp byte [esp + 0x11c], al
je 0x2041effb
mov eax, 1
push 0
push eax
push ebp
mov ecx, str.FLAGS
call fcn.204044d0
add esp, 0xc
cmp dword [esp + 0xe8], 0
je 0x2041f04c
push ebp
mov ebx, str.DESCRIPTION
mov eax, esi
call fcn.20402000
add esp, 4
test eax, eax
je 0x2041ee89
push str.VALUE
push eax
mov eax, dword [esp + 0xf0]
call fcn.204022f0
add esp, 8
cmp eax, 1
je 0x2041ee89
xor ebp, ebp
cmp dword [esp + 0x8c], ebp
jle 0x2041f134
jmp 0x2041f060
mov eax, dword [esp + 0x20]
push eax
mov ebx, str.IP_ADDR
mov eax, esi
call fcn.20402000
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x2041ee89
test ebp, ebp
jl 0x2041f669
cmp ebp, dword [esp + 0x8c]
jge 0x2041f669
mov eax, dword [esp + 0x88]
movzx ecx, byte [eax + ebp*4]
movzx edx, byte [eax + ebp*4 + 1]
push ecx
movzx ecx, byte [eax + ebp*4 + 2]
push edx
movzx edx, byte [eax + ebp*4 + 3]
push ecx
push edx
push str._d._d._d._d
push 0xffffffffffffffff
lea eax, [esp + 0x13c]
push 0x10
push eax
call dword [sym.imp.MSVCR80.dll__snwprintf_s]
add esp, 0x20
cmp ebp, dword [esp + 0x8c]
jge 0x2041f669
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], eax
mov dword [esi + 0x30], eax
mov edi, 1
lea eax, [esp + 0x124]
lea ebx, [esi + 0x28]
call fcn.20403950
test eax, eax
jne 0x2041ee89
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str.ADDRESS
push edx
push esi
call fcn.20402220
add esp, 0x14
cmp eax, edi
je 0x2041ee89
add ebp, 1
cmp ebp, dword [esp + 0x8c]
jl 0x2041f060
cmp dword [esp + 0xa0], 0
mov dword [esp + 0x18], 0
jle 0x2041f25e
lea ebx, [ebx]
mov eax, dword [esp + 0x20]
push eax
mov ebx, str.IP_RANGE
mov eax, esi
call fcn.20402000
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x2041ee89
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x144]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x12c]
lea eax, [esp + 0x84]
call fcn.2041e0f0
cmp word [esp + 0x124], 0
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], edi
lea ebx, [esp + 0x124]
je 0x2041f1d2
lea ebx, [ebx]
movzx eax, word [ebx]
push 1
push eax
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f1b0
mov eax, dword [esi + 0x30]
push eax
push edi
push str.BEGIN
push ebp
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
cmp word [esp + 0x144], 0
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], edi
lea ebx, [esp + 0x144]
je 0x2041f229
movzx ecx, word [ebx]
push 1
push ecx
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f207
mov eax, dword [esi + 0x30]
push eax
push edi
push 0x20488614
push ebp
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
jl 0x2041f150
cmp dword [esp + 0xb4], 0
mov dword [esp + 0x18], 0
jle 0x2041f37e
mov edx, dword [esp + 0x20]
push edx
mov ebx, str.IP_SUBNET
mov eax, esi
call fcn.20402000
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x2041ee89
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x12c]
lea eax, [esp + 0x84]
call fcn.2041e1b0
cmp word [esp + 0x124], 0
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], edi
lea ebx, [esp + 0x124]
je 0x2041f2f2
mov edi, edi
movzx edx, word [ebx]
push 1
push edx
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f2d0
mov eax, dword [esi + 0x30]
push eax
push edi
push str.ADDRESS
push ebp
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
cmp word [esp + 0x144], 0
mov edi, dword [esi + 0x34]
mov dword [esi + 0x30], edi
lea ebx, [esp + 0x144]
je 0x2041f349
movzx eax, word [ebx]
push 1
push eax
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f327
mov eax, dword [esi + 0x30]
push eax
push edi
push str.MASK
push ebp
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
jl 0x2041f274
xor ebp, ebp
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x18], ebp
jle 0x2041f47e
mov ecx, dword [esp + 0x20]
push ecx
mov ebx, str.IP6_ADDR
mov eax, esi
call fcn.20402000
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x2041ee89
test ebp, ebp
jl 0x2041f669
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0xc8]
jge 0x2041f669
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + ebp]
mov edx, dword [eax + ebp + 4]
mov dword [esp + 0x4b], ecx
mov ecx, dword [eax + ebp + 8]
mov dword [esp + 0x4f], edx
mov edx, dword [eax + ebp + 0xc]
lea eax, [esp + 0x164]
mov dword [esp + 0x53], ecx
push eax
lea ecx, [esp + 0x4f]
push ecx
mov eax, 0x28
mov dword [esp + 0x5f], edx
call fcn.20406540
cmp word [esp + 0x164], 0
mov ebx, dword [esi + 0x34]
mov dword [esi + 0x30], ebx
lea edi, [esp + 0x164]
je 0x2041f442
nop
movzx edx, word [edi]
push 1
push edx
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add edi, 2
cmp word [edi], ax
jne 0x2041f420
mov eax, dword [esi + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ebx
push str.ADDRESS
push eax
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
mov eax, dword [esp + 0x18]
add eax, 1
add ebp, 0x10
cmp eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
jl 0x2041f391
cmp dword [esp + 0xdc], 0
mov dword [esp + 0x18], 0
jle 0x2041f63f
xor edi, edi
mov ecx, dword [esp + 0x20]
push ecx
mov ebx, str.IP6_SUBNET
mov eax, esi
call fcn.20402000
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x2041ee89
test edi, edi
jl 0x2041f669
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0xdc]
jge 0x2041f669
mov eax, dword [esp + 0xd8]
mov ecx, dword [edi + eax]
mov edx, dword [edi + eax + 4]
mov dword [esp + 0x3a], ecx
mov ecx, dword [edi + eax + 8]
mov dword [esp + 0x3e], edx
mov edx, dword [edi + eax + 0xc]
mov al, byte [edi + eax + 0x10]
mov dword [esp + 0x42], ecx
lea ecx, [esp + 0x164]
mov dword [esp + 0x46], edx
push ecx
lea edx, [esp + 0x3e]
mov byte [esp + 0x4e], al
push edx
mov eax, 0x28
call fcn.20406540
cmp word [esp + 0x164], 0
mov ebp, dword [esi + 0x34]
mov dword [esi + 0x30], ebp
lea ebx, [esp + 0x164]
je 0x2041f552
lea esp, [esp]
movzx eax, word [ebx]
push 1
push eax
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f530
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push str.ADDRESS
push ecx
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0xdc]
jge 0x2041f669
mov eax, dword [esp + 0xd8]
mov ecx, dword [edi + eax]
mov edx, dword [edi + eax + 4]
mov dword [esp + 0x5f], edx
mov edx, dword [edi + eax + 0xc]
mov dword [esp + 0x5b], ecx
mov ecx, dword [edi + eax + 8]
movzx eax, byte [edi + eax + 0x10]
push eax
mov dword [esp + 0x6b], edx
push 0x20488654
lea edx, [esp + 0x12c]
mov dword [esp + 0x6b], ecx
call fcn.2041b7b0
add esp, 8
cmp eax, 0xffffffff
je 0x2041f624
cmp word [esp + 0x124], 0
mov ebp, dword [esi + 0x34]
mov dword [esi + 0x30], ebp
lea ebx, [esp + 0x124]
je 0x2041f603
movzx ecx, word [ebx]
push 1
push ecx
lea eax, [esi + 0x28]
push eax
call fcn.20403a70
add esp, 0xc
test eax, eax
jne 0x2041ee89
add ebx, 2
cmp word [ebx], ax
jne 0x2041f5e1
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x1c]
push eax
push ebp
push str.MASKBITS
push edx
push esi
call fcn.20402220
add esp, 0x14
cmp eax, 1
je 0x2041ee89
mov eax, dword [esp + 0x18]
add eax, 1
add edi, 0x11
cmp eax, dword [esp + 0xdc]
mov dword [esp + 0x18], eax
jl 0x2041f496
mov eax, dword [esp + 0x28]
add dword [esp + 0x24], 0xa4
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jge 0x2041f66e
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
jmp 0x2041eec2
call fcn.20477d24
mov dword [esp + 0x1c4], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.2041c400
mov al, 1
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.20478952
add esp, 0x1b4
ret 4