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

Disassembly:
push ebp
lea ebp, [esp - 0x7f0]
sub esp, 0x870
mov eax, dword [0x414050]
push 0x4095a0
push 0xa
mov dword [ebp + 0x7ec], eax
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 0x105
call fcn.0040da55
cmp dword [0x414014], 0
pop ecx
pop ecx
je 0x410938
cmp dword [0x4140c0], 0
je 0x410938
push 0x409550
push 0xa
call fcn.0040da55
push 0x409510
push 0xa
call fcn.0040da55
add esp, 0x10
xor eax, eax
jmp 0x411ab3
push ebx
push esi
push edi
push dword [0x4140a4]
push 0x4094e0
push 0
call fcn.0040da55
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 0x410973
sub eax, ecx
push eax
lea eax, [ebx + 0x38]
push eax
push 0x4094ac
push 0
call fcn.0040da55
lea eax, [ebx + 0x38]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410996
sub eax, ecx
lea eax, [eax + ebx + 0x39]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4109a6
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 0x4109b8
push dword [ebp - 0x5c]
sub eax, ecx
lea eax, [eax + ebx + 0x39]
push eax
push 0x409478
push 0
call fcn.0040da55
push edi
push 0x409448
push 0
call fcn.0040da55
push esi
push 0x409418
push 0
call fcn.0040da55
push 0x104
lea eax, [ebp + 0x6e4]
push 0x403e24
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 0x410a19
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 0x410a2d
sub ecx, esi
lea eax, [ecx + edi + 1]
cmp eax, 0x104
ja 0x411aae
mov eax, dword [ebp + 0xa18]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410a4d
lea edi, [ebp + 0x6e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410a5d
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 0x410a7e
sub eax, esi
add eax, 2
mov edx, 0x104
cmp eax, edx
ja 0x411aae
lea edi, [ebp + 0x6e4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x410a9e
mov esi, 0x406a20
lea eax, [ebp + 0x6e4]
movsw word es:[edi], word [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410ab6
sub eax, esi
lea ecx, [ebx + 0x38]
mov edi, eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410ac7
sub ecx, esi
lea eax, [ecx + edi + 1]
cmp eax, edx
ja 0x411aae
lea eax, [ebx + 0x38]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410ae1
lea edi, [ebp + 0x6e4]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x410af1
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 0x4093d8
push 0xa
rep movsb byte es:[edi], byte [esi]
call fcn.0040da55
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 0x410b6b
push esi
lea eax, [ebp + 0x6e4]
push eax
push 0x409378
push 0x14
call fcn.0040da55
add esp, 0x10
push esi
lea eax, [ebp + 0x6e4]
push eax
push 0x80001392
jmp 0x411a9b
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x3d0]
push eax
lea eax, [ebp - 0x7c]
push eax
xor esi, esi
push esi
push 0x405e74
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp edi, esi
je 0x410bc8
push edi
lea eax, [ebp + 0x6e4]
push eax
push 0x409320
push 0x14
call fcn.0040da55
add esp, 0x10
push edi
lea eax, [ebp + 0x6e4]
push eax
push 0x80001394
call fcn.0040d7f8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411aa0
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 0x411a72
cmp eax, edi
ja 0x411a72
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 0x410c3b
push 0x4092dc
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001777
call fcn.0040d56f
jmp 0x411aae
push edi
push 0x4092a8
push esi
call fcn.0040da55
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 0x410c80
push 0x409260
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001778
call fcn.0040d56f
push edi
jmp 0x411990
movzx edx, word [ebx + 0x1a]
xor ecx, ecx
add edx, 5
je 0x410c9a
mov dword [eax + ecx*4], esi
movzx edx, word [ebx + 0x1a]
inc ecx
add edx, 5
cmp ecx, edx
jb 0x410c8b
push eax
push 0x409228
push esi
call fcn.0040da55
mov ax, word [ebx + 0x1a]
add esp, 0xc
cmp ax, si
je 0x410df8
push 5
pop esi
movzx eax, ax
add eax, esi
cmp eax, esi
mov dword [ebp + 0xa18], esi
jbe 0x410d77
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 0x410cde
sub eax, ecx
push eax
push dword [ebp - 0x58]
mov dword [esi], eax
push dword [ebp + 0xa18]
push 0x4091f8
push 0
call fcn.0040da55
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 0x410e42
push eax
push dword [ebp + 0xa18]
push 0x4091c0
push 0
call fcn.0040da55
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 0x410d38
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 0x410cd8
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.0040ff23
movzx eax, word [ebx + 0x1a]
add eax, esi
cmp eax, esi
mov dword [ebp + 0xa18], esi
jbe 0x410df8
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 0x409194
push 0
call fcn.0040da55
mov eax, dword [esi]
add esp, 0x10
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x410dd1
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 0x410db5
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 0x410e18
mov byte [eax], 0
mov esi, dword [ebp - 0x58]
mov eax, 0x414400
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x410e6b
test cl, cl
je 0x410e3e
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x410e6b
inc esi
inc esi
inc eax
inc eax
test cl, cl
jne 0x410e20
xor eax, eax
jmp 0x410e70
push 0x409150
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001779
call fcn.0040d56f
push 1
push edi
push dword [ebp - 0x54]
push dword [ebp + 0xa18]
jmp 0x41130e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x410f56
push dword [ebp - 0x58]
call fcn.0040fecd
test eax, eax
jne 0x410e90
push dword [ebp - 0x58]
call fcn.0040fe14
test eax, eax
je 0x410ef5
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 0x410f70
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 0x410e01
xor esi, esi
cmp dword [ebp + 0xa1c], esi
jne 0x410f70
push dword [ebp + 0xa18]
mov eax, dword [ebx + 0x14]
push eax
push eax
push 0x409108
push 0x14
call fcn.0040da55
add esp, 0x14
push dword [ebp + 0xa18]
push dword [ebx + 0x14]
push 0x8000139a
call fcn.0040d6c4
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, word [ebx + 0x1a]
push 1
push edi
jmp 0x41130a
push 0x4090c0
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000177b
call fcn.0040d56f
jmp 0x410f4a
push dword [ebp - 0x60]
push 0x409098
push esi
call fcn.0040da55
mov eax, dword [ebp - 0x60]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410f87
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 0x410fd8
and dword [esi], eax
push 0x409150
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001779
call fcn.0040d56f
movzx eax, word [ebx + 0x1a]
push 1
push edi
push esi
push eax
call fcn.004104d8
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x411aa0
push eax
push 0x409060
push 0
call fcn.0040da55
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 0x410fed
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x411030
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x409024
push 0x14
mov dword [ebp + 0xa18], eax
call fcn.0040da55
add esp, 0xc
push dword [ebp + 0xa18]
push 0x4000139d
call fcn.0040d5de
cmp dword [ebx + 0x28], 0
mov byte [ebp + 0x6e0], 0
mov byte [ebp + 0x3cc], 0
je 0x4110c8
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 0x411101
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x408fc8
push 0x14
mov dword [ebp + 0xa18], eax
call fcn.0040da55
add esp, 0xc
push dword [ebp + 0xa18]
push 0x4000139c
call fcn.0040d5de
mov eax, dword [0x408fbc]
mov dword [ebp + 0x4d8], eax
mov eax, dword [0x408fc0]
mov dword [ebp + 0x4dc], eax
lea eax, [ebp + 0x4d8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4110bd
sub eax, ecx
jmp 0x4110fe
push 0x408f70
push 0xa
call fcn.0040da55
mov eax, dword [0x408fbc]
mov dword [ebp + 0x4d8], eax
mov eax, dword [0x408fc0]
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 0x4110f5
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 0x411137
push 0x409150
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001779
call fcn.0040d56f
movzx eax, word [ebx + 0x1a]
push 1
push edi
push esi
jmp 0x41130d
push eax
push 0x408f38
push 0
call fcn.0040da55
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 0x411150
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 0x411166
sub eax, ecx
lea eax, [eax + ebx + 0x39]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411176
sub eax, ecx
inc eax
push eax
call sub.snmpapi.dll_SnmpUtilMemAlloc
test eax, eax
mov dword [edi + 8], eax
jne 0x4111a2
push 0x408ee0
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000138b
jmp 0x411125
push eax
push 0x408ea4
push 0
call fcn.0040da55
lea eax, [ebx + 0x38]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4111b8
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 0x4111c8
mov eax, dword [edi + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4111d8
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 0x411204
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 0x411239
and dword [esi + 0xc], eax
push 0x408e50
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001389
jmp 0x411125
push eax
push 0x408e18
push 0
call fcn.0040da55
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 0x411252
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 0x41127c
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 0x4112b1
and dword [esi + 0x10], eax
push 0x408dc0
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000138a
jmp 0x411125
push eax
push 0x408d88
push 0
call fcn.0040da55
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 0x4112ca
push 0x18
call sub.snmpapi.dll_SnmpUtilMemAlloc
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x411318
push 0x408d30
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000138c
call fcn.0040d56f
mov eax, dword [ebp + 0x7f8]
movzx eax, word [eax + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
jmp 0x411aa0
push ebx
push 0x408ce0
push edi
call fcn.0040da55
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 0x411381
push 0x408c90
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000138d
call fcn.0040d56f
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
jmp 0x411a0e
push eax
push 0x408c48
push edi
call fcn.0040da55
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 0x4113e0
push 0x408bf8
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x80001776
call fcn.0040d56f
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
jmp 0x411a06
push eax
push 0x408ba8
push edi
call fcn.0040da55
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 0x408b70
push edi
call fcn.0040da55
add esp, 0x18
push 8
call sub.snmpapi.dll_SnmpUtilMemAlloc
cmp eax, edi
mov dword [ebx + 0xc], eax
jne 0x41144a
push 0x408b20
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000138e
call fcn.0040d56f
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
jmp 0x4119fc
push eax
push 0x408ad0
push edi
call fcn.0040da55
add esp, 0xc
push dword [ebx + 0xc]
lea eax, [ebp + 0x7fc]
push eax
call fcn.0040a6db
test eax, eax
jne 0x4114b0
push 0x408a88
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0xc00003fe
call fcn.0040d56f
movzx eax, word [esi + 0x1a]
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
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 0x411a09
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 0x41174d
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 0x408a60
push 0
call fcn.0040da55
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 [0x414020]
add esp, 0x10
test eax, eax
mov word [ebp + 0x4d8], 0x2e
je 0x411604
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 0x411572
sub eax, esi
lea ecx, [ebp + 0x1c4]
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411586
sub ecx, edi
lea eax, [ecx + esi + 1]
cmp eax, 0x208
ja 0x41185e
lea eax, [ebp + 0x1c4]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4115a6
lea edi, [ebp + 0x4d8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4115b6
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 0x4115d7
sub eax, esi
add eax, 2
cmp eax, 0x208
ja 0x41185e
lea edi, [ebp + 0x4d8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4115f5
mov esi, 0x401490
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 0x41162a
sub eax, esi
lea ecx, [ebp + 0x1c4]
mov esi, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41163e
sub ecx, edi
lea eax, [ecx + esi + 1]
cmp eax, 0x208
ja 0x41185e
lea eax, [ebp + 0x1c4]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41165e
lea edi, [ebp + 0x4d8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41166e
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 0x41168f
sub eax, esi
add eax, 3
cmp eax, 0x208
ja 0x41185e
lea edi, [ebp + 0x4d8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4116ad
lea eax, [ebp + 0x4d8]
mov esi, 0x408a5c
push eax
movsw word es:[edi], word [esi]
push 0x408a30
push 0
movsb byte es:[edi], byte [esi]
call fcn.0040da55
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.0040a6db
test eax, eax
je 0x4118e8
mov eax, dword [ebx + 0x10]
mov eax, dword [eax]
mov esi, dword [ebp - 0x5c]
add eax, esi
push eax
push 0x408a00
push 0
call fcn.0040da55
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 0x4114ef
mov esi, dword [ebp + 0x7f8]
xor edi, edi
push dword [ebp + 0xa1c]
push 0x4089b8
push 0xa
call fcn.0040da55
add esp, 0xc
cmp dword [0x4140ac], edi
je 0x41199a
mov eax, dword [ebp + 0xa1c]
cmp eax, dword [0x414090]
jbe 0x41199a
push dword [ebp + 0xa0c]
push eax
push dword [ebx + 0x10]
call fcn.00410610
push eax
push 0x408980
push 0xa
mov dword [ebp + 0xa1c], eax
call fcn.0040da55
add esp, 0xc
cmp dword [ebp + 0xa1c], edi
je 0x4117bf
mov eax, dword [ebp + 0xa1c]
cmp eax, dword [0x414090]
jbe 0x41199a
push 0x408940
push 0x14
call fcn.0040da55
pop ecx
pop ecx
push 0x8000177d
call fcn.0040d56f
mov eax, dword [ebx + 0x10]
push eax
push dword [eax + 4]
call fcn.00410575
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.004104d8
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 0x408908
push 0xa
call fcn.0040da55
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [0x4140a4]
push 0x4094e0
push edi
call fcn.0040da55
push 0x4088d0
push 0xa
call fcn.0040da55
add esp, 0x14
jmp 0x411aae
mov esi, dword [ebp + 0xa18]
push esi
push 0x408880
push 0x14
call fcn.0040da55
add esp, 0xc
push dword [ebx + 0x10]
inc esi
push esi
call fcn.00410575
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 0x411969
mov eax, dword [ebp - 0x50]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 0x58]
cmp dword [ebx + eax], 0
je 0x4118d4
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 0x4118c4
jmp 0x411969
mov esi, dword [ebp + 0xa18]
push esi
push 0x408820
push 0x14
call fcn.0040da55
add esp, 0xc
push dword [ebx + 0x10]
inc esi
push esi
call fcn.00410575
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 0x411969
mov eax, dword [ebp - 0x50]
lea ebx, [eax + esi*4]
mov eax, dword [ebp - 0x58]
cmp dword [ebx + eax], 0
je 0x41195a
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 0x41194a
movzx eax, word [edi + 0x1a]
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push eax
call fcn.004104d8
push dword [ebp - 0x50]
push 0x408908
push 0xa
call fcn.0040da55
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
jmp 0x411aae
push ebx
call fcn.0040fa90
test eax, eax
jne 0x411a19
push 0x4087d8
push 0x14
call fcn.0040da55
mov eax, dword [ebx + 0x10]
pop ecx
pop ecx
push eax
push dword [eax + 4]
call fcn.00410575
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.004104d8
push dword [ebp - 0x50]
push 0x408908
push 0xa
call fcn.0040da55
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 0x411aa0
push dword [ebp - 0x50]
push 0x408908
push 0xa
call fcn.0040da55
add esp, 0xc
push dword [ebp - 0x50]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [ebp - 0x54]
push 0x408798
push 0xa
call fcn.0040da55
add esp, 0xc
push dword [ebp - 0x54]
call sub.snmpapi.dll_SnmpUtilMemFree
push dword [0x4140a4]
push 0x4094e0
push edi
call fcn.0040da55
push 0x408764
push 0xa
call fcn.0040da55
xor eax, eax
add esp, 0x14
inc eax
jmp 0x411ab0
push eax
lea eax, [ebp + 0x3d0]
push eax
push 0x408708
push 0x14
call fcn.0040da55
add esp, 0x10
push dword [ebp + 0xa18]
lea eax, [ebp + 0x3d0]
push eax
push 0x80001396
call fcn.0040d7f8
push 0x4088d0
push 0xa
call fcn.0040da55
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7ec]
call fcn.00412af8
add ebp, 0x7f0
leave
ret 0x228