Function at 0x4435b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c0f0
push 0x459fe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x68], 0xc
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], 1
push str.KaseyaSnmpDataCacheSema
push edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, edi
jne 0x443632
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Failed_to_create_data_mutex_in_getSnmpDataFromCache__._Code:__d_n
call fcn.0043ed20
add esp, 8
mov eax, 0xfffffffc
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1388
push esi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call edi
cmp eax, 0x80
jne 0x44364f
push 0x1388
push esi
call edi
test eax, eax
je 0x443684
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Failed_to_obtain_data_mutex_in_getSnmpDataFromCache__._Code:__d_n
call fcn.0043ed20
add esp, 8
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x44]
push ecx
call fcn.0045a1c9
add esp, 4
test ebx, ebx
jne 0x44369c
or edi, 0xffffffff
jmp 0x443e7f
mov dword [ebp - 0x1c], 0xfffffffe
mov eax, 1
cmp dword [ebx + 0x16c], eax
jne 0x4436c4
mov edx, dword [ebx + 0x11c]
add edx, dword [ebx + 0x118]
cmp dword [ebp - 0x44], edx
jle 0x4436c4
mov dword [ebp - 0x34], eax
wait
mov dword [ebp - 4], 0
mov ecx, dword [0x4cd0d0]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x4438ec
mov eax, dword [ecx + 0x13c]
test eax, eax
jne 0x4436fc
mov edx, dword [ebx + 0x13c]
test edx, edx
jne 0x4436f8
mov edi, 1
jmp 0x443745
test eax, eax
je 0x443743
mov esi, dword [ebx + 0x13c]
test esi, esi
je 0x443743
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x44372a
test cl, cl
je 0x443726
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x44372a
add eax, 2
add esi, 2
test cl, cl
jne 0x443706
xor eax, eax
jmp 0x44372f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443740
mov edi, 1
mov dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0x20]
jmp 0x443748
mov ecx, dword [ebp - 0x20]
xor edi, edi
mov dword [ebp - 0x38], edi
cmp dword [ecx + 0x114], 4
jne 0x443e4a
mov eax, dword [ecx + 0x120]
cmp eax, dword [ebx + 0x120]
jne 0x443e4a
mov edx, dword [ecx + 0x124]
cmp edx, dword [ebx + 0x124]
jne 0x443e4a
mov eax, dword [ebx + 0x128]
cmp dword [ecx + 0x128], eax
jne 0x443e4a
mov eax, dword [ebx + 0x168]
cmp dword [ecx + 0x168], eax
jne 0x443e4a
mov esi, dword [ebx + 0x138]
mov eax, dword [ecx + 0x138]
lea esp, [esp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4437d4
test cl, cl
je 0x4437d0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4437d4
add eax, 2
add esi, 2
test cl, cl
jne 0x4437b0
xor eax, eax
jmp 0x4437d9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x443e47
test edi, edi
je 0x443e47
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x144]
test eax, eax
je 0x443ddf
mov edx, dword [ecx + 0x170]
test edx, edx
jle 0x4439a4
mov eax, dword [ecx + 0x134]
mov dword [ebx + 0x134], eax
mov eax, dword [ebx + 0x12c]
test eax, eax
jne 0x44382f
mov eax, dword [ebx + 0x130]
test eax, eax
jle 0x44382f
dec eax
mov dword [ebx + 0x130], eax
mov edx, dword [ecx + 0x144]
mov dword [ebp - 0x30], edx
test edx, edx
je 0x4438ec
mov dword [ebp - 0x3c], 0
mov eax, dword [ebx + 0x148]
cmp dword [ecx + 0x148], eax
jne 0x44388f
mov edi, dword [ebx + 0x144]
test edi, edi
je 0x44388f
mov ecx, eax
mov esi, edx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x44388c
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x44388c
mov ecx, eax
mov edi, dword [ebx + 0x144]
mov edx, dword [ebp - 0x30]
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x443896
mov dword [ebp - 0x1c], 5
jmp 0x443896
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4438ec
lea ecx, [ebp - 0x54]
push ecx
push 0x47b68c
push edx
call fcn.00458f3f
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp eax, 1
jne 0x4438ec
fild dword [ebx + 0x164]
fstp qword [ebp - 0x5c]
mov eax, dword [ebx + 0x168]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x4438d2
jmp dword [eax*4 + 0x443ec8]
fld qword [ebp - 0x5c]
fld qword [ebp - 0x54]
fucompp
fnstsw ax
test ah, 0x44
jnp case.0x4438d2.5
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
fld qword [ebp - 0x5c]
fld qword [ebp - 0x54]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4438ec
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jp 0x4438ec
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 5
jp 0x4438ec
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 1
jne 0x4438ec
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jne 0x4438ec
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
test eax, eax
je 0x443ddf
mov edx, dword [ecx + 0x134]
mov dword [ebx + 0x134], edx
mov eax, dword [ebx + 0x12c]
test eax, eax
jne 0x4439d3
mov eax, dword [ebx + 0x130]
test eax, eax
jle 0x4439d3
dec eax
mov dword [ebx + 0x130], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebx + 0x148]
cmp dword [ecx + 0x148], eax
jne 0x443a27
mov edi, dword [ebx + 0x144]
test edi, edi
je 0x443a27
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx + 0x144]
mov dword [ebp - 0x30], esi
mov ecx, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x443a27
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x443a27
mov ecx, eax
mov edi, dword [ebx + 0x144]
mov esi, dword [ebp - 0x30]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x443a2e
mov dword [ebp - 0x1c], 5
jmp 0x443a2e
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4438ec
mov eax, dword [ebx + 0x128]
dec eax
cmp eax, 0xa
ja case.0x443a50.2
movzx ecx, byte [eax + 0x443ef0]
jmp dword [ecx*4 + 0x443ee0]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00441b40
mov eax, dword [ebx + 0x168]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x443a74
jmp dword [eax*4 + 0x443efc]
cmp dword [ebx + 0x128], 8
jne 0x443a92
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebx + 0x164]
jmp 0x443cf8
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x164]
jmp 0x443cf8
cmp dword [ebx + 0x128], 8
mov eax, dword [ebx + 0x164]
jne 0x443abf
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x443d01
jmp case.0x443a74.5
mov edx, dword [ebp - 0x24]
cmp edx, eax
je 0x443d01
jmp case.0x443a74.5
cmp dword [ebx + 0x128], 8
jne 0x443aec
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x164]
ja 0x443d01
jmp case.0x443a74.5
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebx + 0x164]
jg 0x443d01
jmp case.0x443a74.5
cmp dword [ebx + 0x128], 8
jne 0x443b1d
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebx + 0x164]
jae 0x443d01
jmp case.0x443a74.5
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x164]
jge 0x443d01
jmp case.0x443a74.5
cmp dword [ebx + 0x128], 8
mov eax, dword [ebx + 0x164]
jne 0x443b50
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
jb 0x443d01
jmp case.0x443a74.5
mov edx, dword [ebp - 0x24]
cmp edx, eax
jl 0x443d01
jmp case.0x443a74.5
cmp dword [ebx + 0x128], 8
jne 0x443b7d
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebx + 0x164]
jbe 0x443d01
jmp case.0x443a74.5
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebx + 0x164]
jle 0x443d01
jmp case.0x443a74.5
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x20]
call fcn.00441be0
cmp eax, 1
jne 0x443d01
fild dword [ebx + 0x164]
fstp dword [ebp - 0x2c]
mov eax, dword [ebx + 0x168]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x443bbc
jmp dword [eax*4 + 0x443f14]
fld dword [ebp - 0x2c]
fld dword [ebp - 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x443c24
jmp case.0x443bbc.5
fld dword [ebp - 0x2c]
fld dword [ebp - 0x28]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x443c24
jmp case.0x443bbc.5
fld dword [ebp - 0x28]
fcomp dword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jp 0x443c24
jmp case.0x443bbc.5
fld dword [ebp - 0x28]
fcomp dword [ebp - 0x2c]
fnstsw ax
test ah, 5
jp 0x443c24
jmp case.0x443bbc.5
fld dword [ebp - 0x28]
fcomp dword [ebp - 0x2c]
fnstsw ax
test ah, 1
jmp 0x443c1b
fld dword [ebp - 0x28]
fcomp dword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jne 0x443c24
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x160]
cmp eax, dword [ebx + 0x160]
je 0x443d01
mov dword [ebx + 0x160], eax
mov eax, edx
fld qword [eax + 0x158]
fstp qword [ebx + 0x158]
jmp 0x443d01
lea ecx, [ebp - 0x54]
push ecx
push 0x47b68c
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x144]
push eax
call fcn.00458f3f
add esp, 0xc
mov dword [ebp - 0x48], eax
cmp eax, 1
jne 0x443d01
fild dword [ebx + 0x164]
fstp qword [ebp - 0x5c]
mov eax, dword [ebx + 0x168]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x443c90
jmp dword [eax*4 + 0x443f2c]
fld qword [ebp - 0x5c]
fld qword [ebp - 0x54]
fucompp
fnstsw ax
test ah, 0x44
jp 0x443d01
jmp case.0x443a74.5
fld qword [ebp - 0x5c]
fld qword [ebp - 0x54]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x443d01
jmp case.0x443a74.5
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jp 0x443d01
jmp case.0x443a74.5
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 5
jp 0x443d01
jmp case.0x443a74.5
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 1
jmp 0x443cf8
fld qword [ebp - 0x54]
fcomp qword [ebp - 0x5c]
fnstsw ax
test ah, 0x41
jmp 0x443cf8
cmp dword [ebx + 0x168], 5
jne 0x443d01
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4438ec
mov ecx, dword [ebx + 0x144]
test ecx, ecx
jne 0x443d2c
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x148]
push edx
push 1
call fcn.00459dd1
add esp, 8
jmp 0x443d61
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x148]
cmp edx, dword [ebx + 0x148]
je 0x443d6a
push ecx
call fcn.0045932f
mov dword [ebx + 0x148], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x148]
push ecx
push 1
call fcn.00459dd1
add esp, 0xc
mov dword [ebx + 0x144], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebx + 0x144]
test edi, edi
je 0x443db4
mov ecx, dword [eax + 0x148]
mov dword [ebx + 0x148], ecx
mov esi, dword [eax + 0x144]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x150]
mov dword [ebx + 0x150], eax
mov dword [ebp - 0x1c], 0
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x148]
push edx
push str.ERROR:_getSnmpDataFromCache___Failed_to_allocate__d_bytes_to_return_SNMP_data._n
call fcn.0043ed20
add esp, 8
mov dword [ebp - 0x1c], 0xfffffffd
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x443e79
cmp dword [ebx + 0x128], 0xa
jne 0x443e10
mov eax, dword [ecx + 0x160]
cmp eax, dword [ebx + 0x160]
je 0x443e10
mov dword [ebx + 0x160], eax
fld qword [ecx + 0x158]
fstp qword [ebx + 0x158]
mov ecx, dword [ecx + 4]
jmp 0x4436d2
mov eax, dword [ecx + 0x134]
cmp eax, dword [ebx + 0x134]
jge 0x443e4a
mov dword [ebx + 0x134], eax
mov eax, dword [ebx + 0x12c]
test eax, eax
jne 0x443e4a
mov eax, dword [ebx + 0x130]
test eax, eax
jle 0x443e4a
dec eax
mov dword [ebx + 0x130], eax
mov ecx, dword [ecx + 4]
jmp 0x4436d2
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 4]
jmp 0x4436d2
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x443eb2
test edi, edi
jne 0x443eb2
mov eax, dword [ebx + 0x148]
test eax, eax
jle 0x443eb2
mov eax, dword [ebx + 0x144]
test eax, eax
je 0x443eb2
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x118], eax
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret