Function at 0x40bf00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e977
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5a5784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx], vtable.CBaseOperation.0
call fcn.00431a74
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40bf50
push 0x80004005
call fcn.00401cd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 4], eax
lea edi, [ebx + 8]
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [ebx], vtable.CIOOperation.0
mov dword [ebp - 0x14], edi
call fcn.00433c65
mov byte [ebp - 4], 2
call fcn.00431a74
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40bf94
push 0x80004005
call fcn.00401cd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x18], eax
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov byte [ebp - 4], 5
push 0x24
mov dword [ebx + 0x4c], esi
call fcn.00430dec
add esp, 4
cmp eax, esi
je 0x40c180
mov dword [ebx + 0x48], eax
mov dword [eax], eax
mov eax, dword [ebx + 0x48]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x48]
mov dword [eax + 8], eax
mov ecx, dword [ebx + 0x48]
mov byte [ecx + 0x20], 1
mov edx, dword [ebx + 0x48]
mov byte [edx + 0x21], 1
mov byte [ebp - 4], 6
push 0x24
mov dword [ebx + 0x5c], esi
call fcn.00430dec
add esp, 4
cmp eax, esi
je 0x40c15c
mov dword [ebx + 0x58], eax
mov dword [eax], eax
mov eax, dword [ebx + 0x58]
mov dword [eax + 4], eax
mov eax, dword [ebx + 0x58]
mov dword [eax + 8], eax
mov eax, dword [ebx + 0x58]
mov byte [eax + 0x20], 1
mov ecx, dword [ebx + 0x58]
mov byte [ecx + 0x21], 1
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
push 0x57e928
lea ecx, [ebx + 0x84]
mov byte [ebp - 4], 9
call fcn.00401e60
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0xc]
mov ecx, 0x57e928
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c07d
cmp dx, si
je 0x40c079
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c07d
add eax, 4
add ecx, 4
cmp dx, si
jne 0x40c057
xor eax, eax
jmp 0x40c082
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
setne al
test al, al
je 0x40c09a
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebx + 0x84]
call fcn.004021b0
mov ecx, dword [0x5ae36c]
mov eax, dword [0x5ae368]
push ecx
push eax
push str.Get_refresh_option____retrytime___d._watitime___d__n
push 0x80000
mov dword [0x5ada50], eax
mov dword [0x5ada54], ecx
call fcn.0041abf0
mov ecx, dword [0x5adf4c]
mov eax, dword [0x5adf48]
push ecx
push eax
push str.Get_search_option_____retrytime___d._watitime___d_._n
push 0x80000
mov dword [0x5ada48], eax
mov dword [0x5ada4c], ecx
call fcn.0041abf0
push 0x5ae160
push 0x5adf58
push str.Get_SNMP_Community_option_____Set_Community___s._Get_Community___s_._n
mov ecx, 0x104
mov esi, 0x5adf58
mov edi, 0x5ad638
push 0x80000
rep movsd dword es:[edi], dword [esi]
call fcn.0041abf0
add esp, 0x30
push 0x5ada58
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], esi
call fcn.00524801
push 0x59b02c
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0052678a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.00524801
push 0x59b02c
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.0052678a
int3