Function at 0x4108e0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x7f0]
sub esp, 0x870
mov eax, dword [0x414050]
push 0x4095a8
push 0xa
mov dword [ebp + 0x7ec], eax
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 0x105
call fcn.0040eaa1
cmp dword [0x414034], 0
pop ecx
pop ecx
je 0x410949
cmp dword [0x4140c0], 0
je 0x410949
push 0x409558
push 0xa
call fcn.0040eaa1
push 0x409518
push 0xa
call fcn.0040eaa1
add esp, 0x10
xor eax, eax
jmp 0x411ac4
push ebx
push esi
push edi
push dword [0x4140a4]
push 0x4094e8
push 0
call fcn.0040eaa1
mov ebx, dword [ebp + 0x7f8]
mov edi, dword [ebx + 0x2c]
mov esi, dword [ebx + 0x24]
add edi, ebx
add esp, 0xc
lea eax, [ebx + 0x38]
add esi, ebx
mov dword [ebp - 0x68], 0x209
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x58], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410984
sub eax, ecx
push eax
lea eax, [ebx + 0x38]
push eax
push 0x4094b4
push 0
call fcn.0040eaa1
lea eax, [ebx + 0x38]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4109a7
sub eax, ecx
lea eax, [eax + ebx + 0x39]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4109b7
sub eax, ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebx + 0x38]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4109c9
push dword [ebp - 0x5c]
sub eax, ecx
lea eax, [eax + ebx + 0x39]
push eax
push 0x409480
push 0
call fcn.0040eaa1
push edi
push 0x409450
push 0
call fcn.0040eaa1
push esi
push 0x409420
push 0
call fcn.0040eaa1
push 0x104
lea eax, [ebp + 0x6e4]
push 0x403f9c
push eax
mov byte [ebp + 0x7e8], 0
call dword [sym.imp.msvcrt.dll_strncpy]
lea eax, [ebp + 0x6e4]
add esp, 0x34
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410a2a
mov ecx, dword [ebp + 0xa18]
sub eax, esi
mov edi, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410a3e
sub ecx, esi
lea eax, [ecx + edi + 1]
cmp eax, 0x104
ja 0x411abf
mov eax, dword [ebp + 0xa18]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410a5e
lea edi, [ebp + 0x6e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410a6e
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp + 0x6e4]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410a8f
sub eax, esi
add eax, 2
mov edx, 0x104
cmp eax, edx
ja 0x411abf
lea edi, [ebp + 0x6e4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x410aaf
mov esi, 0x406a88
lea eax, [ebp + 0x6e4]
movsw word es:[edi], word [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410ac7
sub eax, esi
lea ecx, [ebx + 0x38]
mov edi, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ad8
sub ecx, esi
lea eax, [ecx + edi + 1]
cmp eax, edx
ja 0x411abf
lea eax, [ebx + 0x38]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410af2
lea edi, [ebp + 0x6e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410b02
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x6e4]
push eax
and ecx, 3
push 0x4093e0
push 0xa
rep movsb byte es:[edi], byte [esi]
call fcn.0040eaa1
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x20019
push 0
lea eax, [ebp + 0x6e4]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x410b7c
push esi
lea eax, [ebp + 0x6e4]
push eax
push 0x409380
push 0x14
call fcn.0040eaa1
add esp, 0x10
push esi
lea eax, [ebp + 0x6e4]
push eax
push 0x80001392
jmp 0x411aac
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x3d0]
push eax
lea eax, [ebp - 0x7c]
push eax
xor esi, esi
push esi
push 0x405fec
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp edi, esi
je 0x410bd9
push edi
lea eax, [ebp + 0x6e4]
push eax
push 0x409328
push 0x14
call fcn.0040eaa1
add esp, 0x10
push edi
lea eax, [ebp + 0x6e4]
push eax
push 0x80001394
call fcn.0040e844
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411ab1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x105
push edi
lea eax, [ebp + 0xbc]
push eax
lea eax, [ebp + 0x3d0]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, esi
mov dword [ebp + 0xa18], eax
je 0x411a83
cmp eax, edi
ja 0x411a83
movzx eax, word [ebx + 0x1a]
lea eax, [eax*4 + 0x14]
push eax
mov dword [ebp - 0x5c], esi
call sub.snmpapi.dll_SnmpUtilMemAlloc
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x50], edi
jne 0x410c4c
push 0x4092e4
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001777
call fcn.0040e5bb
jmp 0x411abf
push edi
push 0x4092b0
push esi
call fcn.0040eaa1
movzx eax, word [ebx + 0x1a]
add esp, 0xc
lea eax, [eax*4 + 0x14]
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
cmp eax, esi
mov dword [ebp - 0x54], eax
jne 0x410c91
push 0x409268
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001778
call fcn.0040e5bb
push edi
jmp 0x4119a1
movzx edx, word [ebx + 0x1a]
xor ecx, ecx
add edx, 5
je 0x410cab
mov dword [eax + ecx*4], esi
movzx edx, word [ebx + 0x1a]
inc ecx
add edx, 5
cmp ecx, edx
jb 0x410c9c
push eax
push 0x409230
push esi
call fcn.0040eaa1
mov ax, word [ebx + 0x1a]
add esp, 0xc
cmp ax, si
je 0x410e09
push 5
pop esi
movzx eax, ax
add eax, esi
cmp eax, esi
mov dword [ebp + 0xa18], esi
jbe 0x410d88
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], edi
sub dword [ebp - 0x64], eax
lea esi, [eax + 0x14]
mov eax, dword [ebp - 0x58]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410cef
sub eax, ecx
push eax
push dword [ebp - 0x58]
mov dword [esi], eax
push dword [ebp + 0xa18]
push 0x409200
push 0
call fcn.0040eaa1
mov eax, dword [esi]
add esp, 0x14
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov ecx, dword [ebp - 0x64]
mov dword [ecx + esi], eax
je 0x410e53
push eax
push dword [ebp + 0xa18]
push 0x4091c8
push 0
call fcn.0040eaa1
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + esi]
add esp, 0x10
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
test cl, cl
jne 0x410d49
mov eax, dword [esi]
mov ecx, dword [ebp - 0x5c]
inc dword [ebp + 0xa18]
lea ecx, [ecx + eax + 1]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x58]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x58], eax
movzx eax, word [ebx + 0x1a]
add eax, 5
add esi, 4
cmp dword [ebp + 0xa18], eax
jb 0x410ce9
push 5
pop esi
push dword [ebp + 0xa1c]
lea eax, [ebp + 0x6e4]
push eax
lea eax, [ebx + 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
movzx eax, word [ebx + 0x1a]
lea ecx, [edi + 0x14]
push eax
push ecx
call fcn.0040ff34
movzx eax, word [ebx + 0x1a]
add eax, esi
cmp eax, esi
mov dword [ebp + 0xa18], esi
jbe 0x410e09
mov eax, dword [ebp - 0x54]
sub eax, edi
lea esi, [edi + 0x14]
mov dword [ebp - 0x58], eax
push dword [esi]
push dword [ebp + 0xa18]
push 0x40919c
push 0
call fcn.0040eaa1
mov eax, dword [esi]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410de2
sub eax, ecx
mov ecx, dword [ebp - 0x58]
inc dword [ebp + 0xa18]
mov dword [ecx + esi], eax
movzx eax, word [ebx + 0x1a]
add eax, 5
add esi, 4
cmp dword [ebp + 0xa18], eax
jb 0x410dc6
lea eax, [ebp + 0xbc]
mov dword [ebp - 0x58], eax
push 0x3b
push dword [ebp - 0x58]
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
je 0x410e29
mov byte [eax], 0
mov esi, dword [ebp - 0x58]
mov eax, 0x414400
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x410e7c
test cl, cl
je 0x410e4f
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x410e7c
inc esi
inc esi
inc eax
inc eax
test cl, cl
jne 0x410e31
xor eax, eax
jmp 0x410e81
push 0x409158
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001779
call fcn.0040e5bb
push 1
push edi
push dword [ebp - 0x54]
push dword [ebp + 0xa18]
jmp 0x41131f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410f67
push dword [ebp - 0x58]
call fcn.0040fede
test eax, eax
jne 0x410ea1
push dword [ebp - 0x58]
call fcn.0040fe25
test eax, eax
je 0x410f06
mov cx, word [ebx + 0x1a]
and dword [ebp - 0x60], 0
mov dx, cx
neg dx
lea esi, [edi + 0x14]
sbb edx, edx
and edx, esi
push edx
push 0x50
xor esi, esi
neg cx
lea edx, [ebp - 0x60]
push edx
push esi
push dword [ebx + 0x14]
push eax
sbb ecx, ecx
and ecx, 0x2000
or ecx, 0x900
push ecx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [ebp + 0xa1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0xa1c], esi
mov dword [ebp + 0xa18], eax
jne 0x410f81
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x58], eax
jne 0x410e12
xor esi, esi
cmp dword [ebp + 0xa1c], esi
jne 0x410f81
push dword [ebp + 0xa18]
mov eax, dword [ebx + 0x14]
push eax
push eax
push 0x409110
push 0x14
call fcn.0040eaa1
add esp, 0x14
push dword [ebp + 0xa18]
push dword [ebx + 0x14]
push 0x8000139a
call fcn.0040e710
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, word [ebx + 0x1a]
push 1
push edi
jmp 0x41131b
push 0x4090c8
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000177b
call fcn.0040e5bb
jmp 0x410f5b
push dword [ebp - 0x60]
push 0x4090a0
push esi
call fcn.0040eaa1
mov eax, dword [ebp - 0x60]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410f98
sub eax, esi
mov esi, dword [ebp - 0x54]
mov dword [esi], eax
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi], eax
jne 0x410fe9
and dword [esi], eax
push 0x409158
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001779
call fcn.0040e5bb
movzx eax, word [ebx + 0x1a]
push 1
push edi
push esi
push eax
call fcn.004104e9
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x411ab1
push eax
push 0x409068
push 0
call fcn.0040eaa1
mov eax, dword [ebp - 0x60]
mov ecx, dword [edi]
add esp, 0xc
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x410ffe
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x411041
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40902c
push 0x14
mov dword [ebp + 0xa18], eax
call fcn.0040eaa1
add esp, 0xc
push dword [ebp + 0xa18]
push 0x4000139d
call fcn.0040e62a
cmp dword [ebx + 0x28], 0
mov byte [ebp + 0x6e0], 0
mov byte [ebp + 0x3cc], 0
je 0x4110d9
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x4d8]
push eax
push dword [ebp - 0x70]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
jne 0x411112
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x408fd0
push 0x14
mov dword [ebp + 0xa18], eax
call fcn.0040eaa1
add esp, 0xc
push dword [ebp + 0xa18]
push 0x4000139c
call fcn.0040e62a
mov eax, dword [0x408fc4]
mov dword [ebp + 0x4d8], eax
mov eax, dword [0x408fc8]
mov dword [ebp + 0x4dc], eax
lea eax, [ebp + 0x4d8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4110ce
sub eax, ecx
jmp 0x41110f
push 0x408f78
push 0xa
call fcn.0040eaa1
mov eax, dword [0x408fc4]
mov dword [ebp + 0x4d8], eax
mov eax, dword [0x408fc8]
mov dword [ebp + 0x4dc], eax
pop ecx
lea eax, [ebp + 0x4d8]
pop ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411106
sub eax, edx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi + 4], eax
jne 0x411148
push 0x409158
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001779
call fcn.0040e5bb
movzx eax, word [ebx + 0x1a]
push 1
push edi
push esi
jmp 0x41131e
push eax
push 0x408f40
push 0
call fcn.0040eaa1
mov ecx, dword [edi + 4]
add esp, 0xc
lea eax, [ebp + 0x4d8]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x411161
mov eax, dword [ebp - 0x68]
mov dword [esi + 4], eax
lea eax, [ebx + 0x38]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411177
sub eax, ecx
lea eax, [eax + ebx + 0x39]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411187
sub eax, ecx
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi + 8], eax
jne 0x4111b3
push 0x408ee8
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000138b
jmp 0x411136
push eax
push 0x408eac
push 0
call fcn.0040eaa1
lea eax, [ebx + 0x38]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4111c9
sub eax, ecx
mov ecx, dword [edi + 8]
lea eax, [eax + ebx + 0x39]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x4111d9
mov eax, dword [edi + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4111e9
sub eax, ecx
mov dword [esi + 8], eax
push 0xa
lea eax, [ebp + 0x4d8]
push eax
movzx eax, word [ebx + 0x18]
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
lea eax, [ebp + 0x4d8]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411215
sub eax, ecx
mov dword [esi + 0xc], eax
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi + 0xc], eax
jne 0x41124a
and dword [esi + 0xc], eax
push 0x408e58
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001389
jmp 0x411136
push eax
push 0x408e20
push 0
call fcn.0040eaa1
mov ecx, dword [edi + 0xc]
add esp, 0xc
lea eax, [ebp + 0x4d8]
mov dl, byte [eax]
inc eax
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x411263
push 0xa
lea eax, [ebp + 0x4d8]
push eax
movzx eax, word [ebx + 0x1c]
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
lea eax, [ebp + 0x4d8]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41128d
sub eax, ecx
mov dword [esi + 0x10], eax
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi + 0x10], eax
jne 0x4112c2
and dword [esi + 0x10], eax
push 0x408dc8
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000138a
jmp 0x411136
push eax
push 0x408d90
push 0
call fcn.0040eaa1
mov edi, dword [edi + 0x10]
add esp, 0xc
lea eax, [ebp + 0x4d8]
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
test cl, cl
jne 0x4112db
push 0x18
call sub.snmpapi.dll_SnmpUtilMemAlloc
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x411329
push 0x408d38
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000138c
call fcn.0040e5bb
mov eax, dword [ebp + 0x7f8]
movzx eax, word [eax + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
jmp 0x411ab1
push ebx
push 0x408ce8
push edi
call fcn.0040eaa1
mov esi, dword [ebp + 0x7f8]
mov dword [ebx + 0x14], edi
mov eax, dword [esi + 0x14]
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
sub eax, dword [0x414074]
add esp, 0xc
push 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
call sub.snmpapi.dll_SnmpUtilMemAlloc
cmp eax, edi
mov dword [ebx + 0x10], eax
jne 0x411392
push 0x408c98
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000138d
call fcn.0040e5bb
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
jmp 0x411a1f
push eax
push 0x408c50
push edi
call fcn.0040eaa1
movzx eax, word [esi + 0x1a]
add eax, 5
lea eax, [eax + eax*2]
add esp, 0xc
shl eax, 3
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
mov ecx, dword [ebx + 0x10]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
cmp eax, edi
jne 0x4113f1
push 0x408c00
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x80001776
call fcn.0040e5bb
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
jmp 0x411a17
push eax
push 0x408bb0
push edi
call fcn.0040eaa1
movzx eax, word [esi + 0x1a]
mov ecx, dword [ebx + 0x10]
add eax, 5
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x10]
push dword [eax + 4]
push 0x408b78
push edi
call fcn.0040eaa1
add esp, 0x18
push 8
call sub.snmpapi.dll_SnmpUtilMemAlloc
cmp eax, edi
mov dword [ebx + 0xc], eax
jne 0x41145b
push 0x408b28
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000138e
call fcn.0040e5bb
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
jmp 0x411a0d
push eax
push 0x408ad8
push edi
call fcn.0040eaa1
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp + 0x7fc]
push eax
call fcn.0040b727
test eax, eax
jne 0x4114c1
push 0x408a90
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0xc00003fe
call fcn.0040e5bb
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
mov eax, dword [ebx + 0x10]
push dword [eax]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0x10]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0xc]
jmp 0x411a1a
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
cmp eax, edi
mov edx, dword [ebx + 0xc]
mov edx, dword [edx]
lea ecx, [eax + eax*2]
lea ecx, [edx + ecx*2]
lea ecx, [ecx*4 + 0x12c]
mov dword [ebp + 0xa1c], ecx
mov dword [ebp + 0xa18], edi
jbe 0x41175e
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
xor esi, esi
sub eax, edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x58], eax
push dword [edi]
push dword [ebp + 0xa18]
push 0x408a68
push 0
call fcn.0040eaa1
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x58]
add eax, edi
mov edx, dword [eax]
mov dword [ecx + esi + 0x10], edx
mov eax, dword [eax]
add dword [ebp + 0xa1c], eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov ecx, dword [edi]
mov dword [eax + esi + 0xc], ecx
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov dword [eax + esi + 0x14], 1
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov byte [eax + esi + 8], 4
mov eax, dword [0x414040]
add esp, 0x10
test eax, eax
mov word [ebp + 0x4d8], 0x2e
je 0x411615
push 0xa
lea ecx, [ebp + 0x1c4]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
lea eax, [ebp + 0x4d8]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411583
sub eax, esi
lea ecx, [ebp + 0x1c4]
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411597
sub ecx, edi
lea eax, [ecx + esi + 1]
cmp eax, 0x208
ja 0x41186f
lea eax, [ebp + 0x1c4]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4115b7
lea edi, [ebp + 0x4d8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4115c7
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp + 0x4d8]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4115e8
sub eax, esi
add eax, 2
cmp eax, 0x208
ja 0x41186f
lea edi, [ebp + 0x4d8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x411606
mov esi, 0x401608
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 0xa18]
push 0xa
lea ecx, [ebp + 0x1c4]
inc eax
push ecx
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.msvcrt.dll__ultoa]
lea eax, [ebp + 0x4d8]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41163b
sub eax, esi
lea ecx, [ebp + 0x1c4]
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41164f
sub ecx, edi
lea eax, [ecx + esi + 1]
cmp eax, 0x208
ja 0x41186f
lea eax, [ebp + 0x1c4]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41166f
lea edi, [ebp + 0x4d8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41167f
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp + 0x4d8]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4116a0
sub eax, esi
add eax, 3
cmp eax, 0x208
ja 0x41186f
lea edi, [ebp + 0x4d8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4116be
lea eax, [ebp + 0x4d8]
mov esi, 0x408a64
push eax
movsw word es:[edi], word [esi]
push 0x408a38
push 0
movsb byte es:[edi], byte [esi]
call fcn.0040eaa1
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x5c]
add esp, 0xc
push eax
lea eax, [ebp + 0x4d8]
push eax
call fcn.0040b727
test eax, eax
je 0x4118f9
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov esi, dword [ebp - 0x5c]
add eax, esi
push eax
push 0x408a08
push 0
call fcn.0040eaa1
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov eax, dword [esi + eax]
mov ecx, dword [ebp + 0xa1c]
mov edi, dword [ebp - 0x64]
lea eax, [ecx + eax*4]
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0xa1c], eax
mov eax, dword [ebp - 0x70]
add edi, 4
add esi, 0x18
add esp, 0xc
cmp eax, dword [ecx + 4]
mov dword [ebp + 0xa18], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], esi
jb 0x411500
mov esi, dword [ebp + 0x7f8]
xor edi, edi
push dword [ebp + 0xa1c]
push 0x4089c0
push 0xa
call fcn.0040eaa1
add esp, 0xc
cmp dword [0x4140ac], edi
je 0x4119ab
mov eax, dword [ebp + 0xa1c]
cmp eax, dword [0x414090]
jbe 0x4119ab
push dword [ebp + 0xa0c]
push eax
push dword [ebx + 0x10]
call fcn.00410621
push eax
push 0x408988
push 0xa
mov dword [ebp + 0xa1c], eax
call fcn.0040eaa1
add esp, 0xc
cmp dword [ebp + 0xa1c], edi
je 0x4117d0
mov eax, dword [ebp + 0xa1c]
cmp eax, dword [0x414090]
jbe 0x4119ab
push 0x408948
push 0x14
call fcn.0040eaa1
pop ecx
pop ecx
push 0x8000177d
call fcn.0040e5bb
mov eax, dword [ebx + 0x10]
push eax
push dword [eax + 4]
call fcn.00410586
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0xc]
call sub.snmpapi.dll_SnmpUtilMemFree
movzx eax, word [esi + 0x1a]
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
mov eax, dword [ebx + 0x10]
push dword [eax]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0x10]
call sub.snmpapi.dll_SnmpUtilMemFree
push ebx
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebp - 0x50]
push 0x408910
push 0xa
call fcn.0040eaa1
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [0x4140a4]
push 0x4094e8
push edi
call fcn.0040eaa1
push 0x4088d8
push 0xa
call fcn.0040eaa1
add esp, 0x14
jmp 0x411abf
mov esi, dword [ebp + 0xa18]
push esi
push 0x408888
push 0x14
call fcn.0040eaa1
add esp, 0xc
push dword [ebx + 0x10]
inc esi
push esi
call fcn.00410586
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0xc]
call sub.snmpapi.dll_SnmpUtilMemFree
mov eax, dword [ebx + 0x10]
push dword [eax]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0x10]
call sub.snmpapi.dll_SnmpUtilMemFree
push ebx
call sub.snmpapi.dll_SnmpUtilMemFree
mov edi, dword [ebp + 0x7f8]
movzx eax, word [edi + 0x1a]
add eax, 5
cmp esi, eax
jge 0x41197a
mov eax, dword [ebp - 0x50]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 0x58]
cmp dword [ebx + eax], 0
je 0x4118e5
push dword [ebx]
call sub.snmpapi.dll_SnmpUtilMemFree
movzx eax, word [edi + 0x1a]
inc esi
add eax, 5
add ebx, 4
cmp esi, eax
jl 0x4118d5
jmp 0x41197a
mov esi, dword [ebp + 0xa18]
push esi
push 0x408828
push 0x14
call fcn.0040eaa1
add esp, 0xc
push dword [ebx + 0x10]
inc esi
push esi
call fcn.00410586
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0xc]
call sub.snmpapi.dll_SnmpUtilMemFree
mov eax, dword [ebx + 0x10]
push dword [eax]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0x10]
call sub.snmpapi.dll_SnmpUtilMemFree
push ebx
call sub.snmpapi.dll_SnmpUtilMemFree
mov edi, dword [ebp + 0x7f8]
movzx eax, word [edi + 0x1a]
add eax, 5
cmp esi, eax
jge 0x41197a
mov eax, dword [ebp - 0x50]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 0x58]
cmp dword [ebx + eax], 0
je 0x41196b
push dword [ebx]
call sub.snmpapi.dll_SnmpUtilMemFree
movzx eax, word [edi + 0x1a]
inc esi
add eax, 5
add ebx, 4
cmp esi, eax
jl 0x41195b
movzx eax, word [edi + 0x1a]
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
push dword [ebp - 0x50]
push 0x408910
push 0xa
call fcn.0040eaa1
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
jmp 0x411abf
push ebx
call fcn.0040faa1
test eax, eax
jne 0x411a2a
push 0x4087e0
push 0x14
call fcn.0040eaa1
mov eax, dword [ebx + 0x10]
pop ecx
pop ecx
push eax
push dword [eax + 4]
call fcn.00410586
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0xc]
call sub.snmpapi.dll_SnmpUtilMemFree
movzx eax, word [esi + 0x1a]
push edi
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104e9
push dword [ebp - 0x50]
push 0x408910
push 0xa
call fcn.0040eaa1
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
mov eax, dword [ebx + 0x10]
push dword [eax]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebx + 0x10]
call sub.snmpapi.dll_SnmpUtilMemFree
push ebx
call sub.snmpapi.dll_SnmpUtilMemFree
jmp 0x411ab1
push dword [ebp - 0x50]
push 0x408910
push 0xa
call fcn.0040eaa1
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebp - 0x54]
push 0x4087a0
push 0xa
call fcn.0040eaa1
add esp, 0xc
push dword [ebp - 0x54]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [0x4140a4]
push 0x4094e8
push edi
call fcn.0040eaa1
push 0x40876c
push 0xa
call fcn.0040eaa1
xor eax, eax
add esp, 0x14
inc eax
jmp 0x411ac1
push eax
lea eax, [ebp + 0x3d0]
push eax
push 0x408710
push 0x14
call fcn.0040eaa1
add esp, 0x10
push dword [ebp + 0xa18]
lea eax, [ebp + 0x3d0]
push eax
push 0x80001396
call fcn.0040e844
push 0x4088d8
push 0xa
call fcn.0040eaa1
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7ec]
call fcn.00412b09
add ebp, 0x7f0
leave
ret 0x228